Demystifying the difference Between A2A, the protocol, and Arazzo, the Specification: A Developer’s…
From the publisher’s feed, collected in the ZeroLabs newsroom.
Demystifying the difference Between A2A, the protocol, and Arazzo, the Specification: A Developer’s ApproachWhen a new set of standards appears in the developer ecosystem, the first problem is rarely the syntax. The first problem is vocabulary. Two things can use similar words, solve nearby problems, and still sit in very different places in the architecture. That is exactly what happens with A2A and Arazzo.At a glance, both seem to talk about orchestration. Both seem relevant to agents. Both seem useful when systems need to do multi-step work. Because of that, it is easy to ask the wrong question: should I use A2A or Arazzo?A better question is this: am I trying to standardize communication between running agents, or am I trying to describe how a repeatable API workflow should happen?A2A, short for Agent2Agent, is a protocol. It defines how agents discover each other, exchange messages, manage tasks, stream updates, and communicate across supported protocol bindings. It belongs to the runtime side of an architecture. It is about what happens when one live agent talks to another live agent.Arazzo is a specification. It defines how to describe a sequence of API calls, their dependencies, inputs, outputs, success conditions, failure handling, and source API descriptions. It belongs to the design time, documentation, testing, and automation side of an architecture. It is about writing down the shape of a workflow so humans and tools can understand it.The simplest mental model is this: A2A lives on the wire. Arazzo lives in a document.That sentence is short, but it carries most of the architectural answer. A2A tells systems how to communicate at runtime. Arazzo tells developers and tools how a workflow should be executed, validated, or explained.Why this distinction mattersDevelopers do not adopt specifications because the names sound good. They adopt them because they reduce ambiguity in a system. When a team picks the wrong abstraction, the cost shows up later as awkward integrations, duplicated documentation, brittle scripts, confusing agent boundaries, and unclear ownership.Imagine a support automation platform. A user asks a general support agent to investigate a billing issue. That agent may delegate part of the task to a billing specialist agent, ask a document agent to retrieve invoice files, and ask a compliance agent to verify whether a refund can be issued. The communication between these agents is a runtime problem. They need discovery, messages, task identifiers, status updates, maybe streaming, and security. That is A2A territory.Now imagine the billing specialist agent itself needs to call a customer API, create a case, fetch invoice history, verify payment status, then submit a refund request only if earlier responses satisfy certain conditions. That sequence is a workflow description problem. It needs clear steps, inputs, outputs, response selection, success criteria, and failure handling. That is Arazzo territory.In the first case, the question is, how do agents speak to each other? In the second case, the question is, how do API calls connect into a reliable workflow?Those are related questions, but they are not the same question.The quick definition of A2AA2A is an open protocol for communication and interoperability between independent agentic applications. It gives agents a shared way to expose capabilities, exchange messages, create and track tasks, send streaming updates, support asynchronous work, and describe supported protocol interfaces.From a developer’s point of view, the key pieces are:Agent Card: a discovery document that describes the agent, its supported interfaces, skills, capabilities, security schemes, and protocol version.Message: a communication unit that carries one or more parts, such as text, files, data, or references.Task: a unit of long-running work with status, history, artifacts, and identifiers.Artifact: a result produced by a task, such as a file, structured data, or generated content.Protocol bindings: concrete ways to map A2A operations onto JSON-RPC, gRPC, or HTTP JSON style interactions.This is why A2A feels like infrastructure. It is concerned with interoperability between live systems. It is not only a schema file. It is a communication contract.If you are implementing A2A, you are usually thinking about endpoints, task states, authentication, version negotiation, streaming, push notifications, and how clients should behave when work takes longer than one request response cycle.The quick definition of ArazzoArazzo is an OpenAPI Initiative specification for describing workflows across APIs or other workflows. An Arazzo document is written in JSON or YAML. It references source descriptions such as OpenAPI, AsyncAPI, or another Arazzo document, then defines workflows made of ordered steps.From a developer’s point of view, the key pieces are:sourceDescriptions: references to the API or workflow descriptions that the Arazzo document depends on.workflows: named business flows that describe what needs to happen.steps: individual operations within a workflow.inputs: values needed to start or drive the workflow.parameters and request bodies: data passed into each step.successCriteria: conditions that define whether a step or workflow has succeeded.failureActions: instructions or rules for what happens when something fails.outputs: values extracted from one step so later steps can use them.This is why Arazzo feels like a structured recipe. It does not define a new runtime transport. It describes how existing API operations fit together into a meaningful flow.If you are implementing or authoring Arazzo, you are usually thinking about workflow clarity, API contract testing, documentation, input and output mapping, step dependencies, reusable components, and whether your description is precise enough for tools to validate or execute.The layer modelThis diagram shows the clean separation. Arazzo helps describe API behavior and workflow meaning. A2A handles communication between agents while the system is running.A developer’s analogyThink of A2A as a communication protocol between coworkers. It answers questions like these:Who are you?What can you do?How do I send you work?How do I track that work?How do you tell me progress?How do you return the final result?Think of Arazzo as a detailed runbook for a repeatable business process. It answers questions like these:Which API operation happens first?Which value from step one is needed in step two?What response code means success?What field should be extracted from the response body?What should happen if a step fails?What output should the workflow expose at the end?A2A is the conversation. Arazzo is the workflow recipe.This analogy is not perfect, but it helps prevent a common mistake. Arazzo does not replace A2A because a recipe does not replace a conversation. A2A does not replace Arazzo because a conversation does not automatically document the exact sequence of API calls behind the scenes.Where A2A sits in the stackA2A sits at the boundary between agents. It is useful when the calling system does not need to know how the receiving agent is implemented internally. The receiving agent may use Python, Java, Node.js, a workflow engine, a language model, internal APIs, a database, or a mix of all of them. A2A focuses on the public agent boundary.That boundary needs a few things to be stable:First, clients need discovery. They need a way to learn what an agent can do and how to call it. That is where the Agent Card matters.Second, clients need a message model. Agent interactions are not always simple REST calls with one request and one response. They may include text, files, structured data, or references.Third, clients need a task model. Many agent tasks are long-running. A planning agent may need to call tools, wait for external APIs, generate artifacts, or ask for clarification. A2A gives that work a lifecycle.Fourth, clients need update mechanisms. Some callers want streaming updates. Some prefer polling. Some need push notifications. A2A gives the protocol vocabulary for these patterns.Fifth, teams need interoperability across transport choices. A2A has protocol bindings so the same abstract operation can be represented through different technical interfaces.That is why A2A is not just a data format. It is a runtime interoperability layer.Where Arazzo sits in the stackArazzo sits around API workflows. It is useful when your API documentation tells you what endpoints exist, but not how those endpoints should be combined to complete a real task.OpenAPI is excellent for describing individual HTTP API operations. It can tell you about paths, parameters, schemas, response codes, and authentication requirements. But many real tasks are not one endpoint. They are a chain.For example, onboarding a customer might require creating an identity profile, verifying email, creating a billing account, attaching a payment method, enabling a subscription, and sending a welcome notification. Each API operation may be documented, but the workflow itself may live in a wiki page, onboarding guide, Postman collection, test script, or tribal knowledge.Arazzo turns that hidden workflow into a structured document.That matters because once a workflow is structured, tools can do more with it. They can lint it, visualize it, test it, generate examples from it, validate that outputs from one step feed into later steps, and give developers a clearer integration path.Arazzo is not trying to become the API transport. It is trying to make the workflow around APIs explicit.A2A outside, Arazzo insideThis is the most natural combined pattern. A2A defines how one agent delegates work to another. Arazzo can define the internal API workflow that the receiving agent executes.Core difference 1: Runtime protocol versus descriptive specificationThe biggest difference is the runtime question.A2A tells live systems how to communicate. If a client sends a message, receives a task, subscribes to updates, cancels work, or retrieves artifacts, it is participating in a protocol interaction.Arazzo describes workflows. Reading an Arazzo file does not itself create a network protocol. A tool may execute the workflow, but the document is still a description of how API calls relate to each other.This means A2A implementation work usually looks like server and client engineering. Arazzo implementation work usually looks like documentation, workflow modeling, validation, testing, and tool integration.A2A asks, what should happen on the wire?Arazzo asks, what should happen in the workflow?Core difference 2: Agent boundary versus API workflow boundaryA2A is centered on the agent boundary. The receiving side is an agent with capabilities. The caller does not have to know the exact internal API calls the agent will make.Arazzo is centered on the API workflow boundary. The document is explicit about which operations are called, in what order, with what values, and under what conditions.That means A2A supports abstraction. A caller can ask a specialist agent to solve a task without directly owning every implementation detail.Arazzo supports transparency. A developer can inspect the workflow and see exactly how the API flow is expected to work.Both are useful. They just optimize for different kinds of clarity.Core difference 3: Task state versus step stateA2A thinks in terms of tasks. A task can be submitted, worked on, updated, completed, canceled, or failed. The task is the unit of runtime progress.Arazzo thinks in terms of workflow steps. A step can call an operation, pass parameters, evaluate a response, expose outputs, or trigger failure handling. The step is the unit of workflow meaning.A task may contain many internal steps. A workflow may be executed as part of one task. But those levels should not be mixed too casually.If you expose every internal API step as an external A2A task update, you may leak too much implementation detail. If you hide every step from your Arazzo workflow, your workflow document becomes useless. The trick is to expose the right abstraction at each layer.Core difference 4: Discovery versus source descriptionsA2A uses the Agent Card for discovery. A client can inspect the card and learn what the agent offers, which protocol interfaces it supports, what security schemes are required, what input and output modes are expected, and which skills are available.Arazzo uses source descriptions. A workflow points to OpenAPI, AsyncAPI, or another Arazzo description so tools know where operations come from.The difference is subtle but important.An Agent Card describes a live agent service.A source description identifies documents that define APIs or workflows.One helps a runtime client discover an agent. The other helps workflow tooling understand the source of operations.Core difference 5: Transport concerns versus workflow concernsA2A has transport concerns. It needs to define how operations map to supported bindings, how clients negotiate versions, how streaming works, how errors are represented, and how security is declared at the agent boundary.Arazzo avoids defining a new transport. It relies on the referenced API descriptions for the actual operation details. Its concerns are workflow level concerns: ordering, dependencies, inputs, outputs, criteria, and reusable components.So if your problem includes questions like JSON-RPC or gRPC, streaming or polling, task cancellation, push notifications, and agent discovery, you are probably dealing with A2A.If your problem includes questions like which response field becomes the next request parameter, what success means for step two, how to reuse a workflow, and how to test a sequence of API operations, you are probably dealing with Arazzo.Decision tree for developersThis decision tree is intentionally practical. It avoids treating standards as competitors when they are really solving different layers of the stack.Practical example: expense reimbursementLet us make this concrete.A user asks an office assistant agent: can you submit my expense reimbursement for last week’s client visit?The office assistant agent does not own finance policy. It delegates the request to a reimbursement agent using A2A. That A2A message may include text, receipt files, travel dates, and the user’s employee identifier.The reimbursement agent accepts the task and returns a task identifier. It may stream progress updates such as extracting receipt data, checking policy, requesting missing details, and preparing submission artifacts.Internally, the reimbursement agent runs a workflow:Validate the employee ID.Retrieve policy rules for the expense type.Upload receipt images.Create a reimbursement case.Submit the case for approval.Return the case number.That internal workflow could be described with Arazzo. The workflow document can define each API operation, how values flow between steps, what response codes mean success, and what output should be returned.A2A handles delegation to the reimbursement agent.Arazzo handles the repeatable API workflow behind the reimbursement capability.This pattern feels clean because each standard is used where it is strongest.Common mistake 1: Treating Arazzo like an agent protocolArazzo is useful for agents, but it is not an agent communication protocol. It does not define how agents discover each other, negotiate capabilities, manage task lifecycle, or stream runtime progress.An agent can use an Arazzo workflow. A tool can generate or execute an Arazzo workflow. A test runner can validate an Arazzo workflow. But if two live agents need to communicate with each other, Arazzo alone is not enough.The developer smell is this: if you find yourself trying to use an Arazzo file as a substitute for live agent messaging, you are probably stretching it beyond its intended layer.Common mistake 2: Treating A2A like workflow documentationA2A can carry messages and artifacts, but it does not automatically explain the internal API sequence that an agent performs. You can expose a skill called submit reimbursement, but that does not tell developers which finance APIs are called or how values move between those calls.If your goal is to document, validate, or test the API sequence itself, A2A is too high level. You need a workflow description. That is where Arazzo fits.The developer smell is this: if your A2A implementation has a lot of hidden internal API sequencing that no one can test or review clearly, you may need Arazzo or a similar workflow description layer.Security thinkingSecurity also looks different across the two.In A2A, security is part of the agent boundary. The Agent Card can advertise required security schemes. The implementation must protect runtime operations, validate inputs, authorize tasks, secure streaming and push callbacks, and avoid exposing sensitive artifacts to the wrong caller.In Arazzo, security is more about safe workflow execution and safe handling of referenced descriptions. A workflow might include headers, cookies, tokens, request bodies, or parameters. A tool that executes an Arazzo workflow must treat untrusted descriptions carefully because a workflow can trigger calls to network resources.A simple rule helps here: secure A2A like a public service boundary. Secure Arazzo like executable integration metadata.Both need care, but the threat models are different.Tooling mindsetFor A2A, tooling should help you answer runtime questions:Is my Agent Card valid?Can another client discover and call my agent?Do my protocol bindings behave consistently?Does streaming work correctly?Do task states change as expected?Are errors and version handling implemented properly?For Arazzo, tooling should help you answer workflow questions:Does the workflow document parse correctly?Do source descriptions resolve correctly?Do steps reference real operations?Are inputs and outputs consistent?Are success and failure criteria clear?Can this workflow be executed as a test?This difference affects CI and review. A2A belongs in service compatibility testing and integration testing. Arazzo belongs in API documentation review, contract testing, workflow validation, and developer onboarding.How I would choose in a real projectIf I were designing a multi-agent platform, I would start with the agent boundaries. I would ask which capabilities need to be exposed as independent agents and which callers need to delegate work to them. For those boundaries, I would consider A2A.Then I would look inside each agent. If the agent performs simple logic, I may not need Arazzo. But if the agent executes a repeatable sequence across multiple APIs, especially a sequence that developers need to understand, test, or evolve, I would describe that sequence with Arazzo.That gives a clean split:A2A for agent-to-agent interoperability.Arazzo for deterministic API workflow descriptions.OpenAPI or AsyncAPI for source API descriptions.Internal code for implementation details that do not need to become a shared contract.This avoids over-standardizing everything while still making the important contracts explicit.A practical adoption pathFor A2A, start small. Publish an Agent Card. Expose one useful skill. Implement the core message path. Decide whether long-running tasks need polling, streaming, or push updates. Add stricter compatibility testing only after the basic boundary is stable.For Arazzo, also start small. Pick one workflow that developers repeatedly misunderstand. Write an Arazzo document for that workflow. Keep inputs and outputs focused. Add success criteria early. Validate the workflow in CI. Use it in documentation and tests before expanding to every API flow.Do not start by trying to model your entire enterprise. Start with one painful boundary or one painful workflow. That is where standards prove their value fastest.Final takeawayA2A and Arazzo are not rivals. They are complementary pieces of a modern integration stack.A2A is for communication between agents at runtime. It gives agents a shared way to discover each other, exchange messages, manage tasks, stream updates, and return artifacts.Arazzo is for describing API workflows. It gives developers and tools a shared way to express multi-step API behavior, including inputs, steps, dependencies, success criteria, failures, and outputs.If you remember only one thing, remember this: use A2A when the boundary is a live agent interaction. Use Arazzo when the boundary is a repeatable API workflow. Use both when an agent exposes a capability through A2A and fulfills it by running a documented API workflow behind the scenes.That is the developer-friendly difference. A2A is how agents talk. Arazzo is how API workflows are written down.Sources and further readingA2A Protocol official specification: https://a2a-protocol.org/latest/specification/Arazzo Specification v1.1.0: https://spec.openapis.org/arazzo/latest.htmlGoogle Developers Blog, Announcing the Agent2Agent Protocol: https://developers.googleblog.com/en/a2a-a-new-era-of-agent-interoperability/OpenAPI Initiative, Meeting Orchestration Needs with Arazzo: https://www.openapis.org/blog/2024/05/29/a-new-specification-from-openapi-arazzoDemystifying the difference Between A2A, the protocol, and Arazzo, the Specification: A Developer’s… was originally published in Towards AI on Medium, where people are continuing the conversation by highlighting and responding to this story.