Understand how agents should communicate with other agents and systems using strict contracts instead of free text.
License & citation
Creator: Dzmitryi Kharlanau (SAP Lead).
Canonical: https://dkharlanau.github.io/datasets/agentic-bytes/agentic_dev_019.json
License: CC BY-NC 4.0 (non-commercial only, attribution with source link required).
Concept DOI: 10.5281/zenodo.18862098
Version DOI (`v1.0.0`): 10.5281/zenodo.18862097
Repository: https://github.com/dkharlanau/dkharlanau-datasets
Suggested citation: Dzmitryi Kharlanau. “Agent Interfaces & Contracts: How Agents Communicate Safely” (dataset bytes). CC BY-NC 4.0. DOI: 10.5281/zenodo.18862098. https://dkharlanau.github.io/datasets/agentic-bytes/agentic_dev_019.json
Details: /legal/datasets/
JSON (copy / reuse)
{
"byte_id": "agentic_dev_019",
"title": "Agent Interfaces & Contracts: How Agents Communicate Safely",
"level": "applied",
"domain": [
"agentic-development",
"architecture",
"interfaces"
],
"intent": "Understand how agents should communicate with other agents and systems using strict contracts instead of free text.",
"core_idea": {
"one_liner": "Agents must talk like APIs, not like humans.",
"why_it_matters": [
"Free text breaks coordination.",
"Contracts make agent interactions debuggable.",
"Clear interfaces prevent cascading failures."
]
},
"definition": {
"agent_interface": "A formally defined input/output contract that governs how an agent receives requests and returns results."
},
"interface_principles": [
"Structured inputs and outputs only",
"Explicit success and failure states",
"No hidden assumptions",
"Backward compatibility where possible"
],
"typical_interface_fields": [
"request_id",
"intent",
"inputs",
"constraints",
"expected_output",
"confidence",
"status"
],
"agent_to_agent_contract_example": {
"request": {
"request_id": "REQ-1021",
"intent": "analyze_replication_issue",
"inputs": {
"system": "MDG-S4",
"object": "BP",
"symptom": "delay"
},
"constraints": {
"read_only": true
}
},
"response": {
"request_id": "REQ-1021",
"status": "completed",
"result": {
"root_cause": "queue_backlog",
"confidence": 0.81
}
}
},
"micro_example": {
"scenario": "Planner agent delegates to RCA agent",
"bad": "Hey, can you check why this is slow?",
"good": "Structured request with intent, scope, and constraints."
},
"failure_modes": [
"Free-text delegation",
"Implicit context sharing",
"Changing contracts without versioning",
"Overloading one interface with multiple meanings"
],
"guards": [
"All agent interactions must use contracts.",
"Contracts must be versioned.",
"Validation is mandatory before execution."
],
"teach_it_in_english": {
"simple_explanation": "Agents should communicate the same way services do.",
"one_sentence_definition": "Agent interfaces turn cooperation into engineering."
},
"practical_checklist": [
"Is the message machine-readable?",
"Can it be validated automatically?",
"Is failure explicitly represented?",
"Can this interface evolve safely?"
],
"tags": [
"agent-interfaces",
"contracts",
"multi-agent",
"architecture"
],
"meta": {
"schema": "dkharlanau.dataset.byte",
"schema_version": "1.1",
"dataset": "agentic-bytes",
"source_project": "cv-ai",
"source_path": "agentic-bytes/agentic_dev_019.json",
"generated_at_utc": "2026-02-03T14:33:32+00:00",
"creator": {
"name": "Dzmitryi Kharlanau",
"role": "SAP Lead",
"website": "https://dkharlanau.github.io",
"linkedin": "https://www.linkedin.com/in/dkharlanau"
},
"attribution": {
"attribution_required": true,
"preferred_citation": "Dzmitryi Kharlanau. “Agent Interfaces & Contracts: How Agents Communicate Safely” (dataset bytes). CC BY-NC 4.0. DOI: 10.5281/zenodo.18862098. https://dkharlanau.github.io/datasets/agentic-bytes/agentic_dev_019.json"
},
"license": {
"name": "Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0)",
"spdx": "CC-BY-NC-4.0",
"url": "https://creativecommons.org/licenses/by-nc/4.0/"
},
"links": {
"website": "https://dkharlanau.github.io",
"linkedin": "https://www.linkedin.com/in/dkharlanau",
"repository": "https://github.com/dkharlanau/dkharlanau-datasets"
},
"contact": {
"preferred": "linkedin",
"linkedin": "https://www.linkedin.com/in/dkharlanau"
},
"canonical_url": "https://dkharlanau.github.io/datasets/agentic-bytes/agentic_dev_019.json",
"created_at_utc": "2026-02-03T14:33:32+00:00",
"updated_at_utc": "2026-03-04T19:03:44+00:00",
"provenance": {
"source_type": "chat_export_extraction",
"note": "Extracted and curated by Dzmitryi Kharlanau; enriched for attribution and crawler indexing."
},
"entity_type": "agentic_byte",
"entity_subtype": "level:applied",
"summary": "Understand how agents should communicate with other agents and systems using strict contracts instead of free text.",
"doi": {
"concept": "10.5281/zenodo.18862098",
"version": "10.5281/zenodo.18862097",
"repository": "https://github.com/dkharlanau/dkharlanau-datasets"
}
}
}