agentleFS
albertoclementealbertoclemente/agentic-design-patterns-skills/skills/agentic-inter-agent-communication/SKILL.md

agentic-inter-agent-communication

Skill4 starsChanged 5 months agoMITView on GitHub

An open, HTTP-based standard for agents built on different frameworks to coordinate, delegate tasks, and share information. A core piece is the Agent Card — a digital identity describing an agent's capabilities and endpoints for discovery. Supports synchronous, asynchronous, and streaming interactions with built-in security (mTLS, auth). Use to orchestrate collaboration across heterogeneous agents.

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    No timeout/error semantics

    line 30

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Inter-Agent Communication (A2A)

Agentic Design Pattern 15 of 21 — distilled from Antonio Gulli, Agentic Design Patterns: A Hands-On Guide to Building Intelligent Systems (Ch. 15).

What it is. Let distinct agents interoperate over the A2A protocol: publish capabilities via Agent Cards for discovery, then coordinate, delegate, and exchange results across frameworks using sync, async, or streaming interactions.

Reach for this when

  • Two or more agents must collaborate, especially across different frameworks (ADK, LangGraph, CrewAI)
  • You're building modular apps where specialized agents own parts of a workflow
  • An agent needs to dynamically discover and use other agents' capabilities
  • Interoperability across vendors/platforms matters

Don't reach for this when

  • A single agent does the work
  • Tightly-coupled, in-process calls suffice
  • The protocol overhead isn't justified for the scope

Shape of the solution

Describe each agent with an Agent Card (capabilities, skills, endpoints) for discovery, choose interaction modes (synchronous request/response, async polling, or streaming), and secure communication (mTLS, explicit auth). A2A handles high-level task coordination between agents; MCP connects an individual agent to its resources.

Common failure modes

  • Protocol or schema mismatch
  • Message loops
  • Lost messages
  • No timeout/error semantics

Composes with

  • agentic-multi-agent — the collaboration layer A2A serves
  • agentic-mcp — complementary: MCP for agent-to-resource, A2A for agent-to-agent
  • agentic-exception-handling — message failures

Selection signals live in this skill's description (used for auto-triggering). To choose among all 21 patterns, see agentic-pattern-selector. Conceptual source: Antonio Gulli, Agentic Design Patterns: A Hands-On Guide to Building Intelligent Systems, Ch. 15 — original distillation from the text, not reproduced prose, code, or figures.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.