Architecture

Arazzo API Workflows for AI Agents

Arazzo defines machine-readable API workflows on top of OpenAPI. Learn why it matters for AI agents, MCP, and execution-layer SEO.

Updated May 17, 2026

Arazzo matters for AEO because OpenAPI describes individual API operations, but agents often need workflows. A booking, quote, checkout, or onboarding task may require several API calls in the right order. Arazzo gives teams a machine-readable way to describe those sequences.

What Arazzo is#

The OpenAPI Initiative describes Arazzo as a specification for expressing sequences of API calls and their dependencies to achieve an outcome. It complements OpenAPI rather than replacing it.

Primary sources:

Why OpenAPI alone is not enough#

OpenAPI is excellent at describing endpoints. It tells a developer or machine what operations exist, what parameters they accept, and what responses they return.

But many real tasks need order:

  1. Search available services.
  2. Select one service.
  3. Check available slots.
  4. Create a booking.
  5. Confirm the booking.

If an agent only sees individual endpoints, it must infer the sequence. That can work for simple APIs, but it becomes fragile when dependencies, tokens, state, or validation rules are involved.

OpenAPI vs Arazzo vs MCP#

LayerMain jobAgent benefit
OpenAPIDescribes API operationsUnderstand available endpoints
ArazzoDescribes workflows across operationsUnderstand how to complete a task
MCPExposes callable tools and resourcesInvoke actions through an agent interface

The MCP vs API guide explains the tool layer. Arazzo helps document the workflow logic behind those tools.

Where Arazzo fits in AEO#

AEO is strongest when agents can move through this sequence:

  1. Discover the service.
  2. Understand capabilities.
  3. Read constraints.
  4. Execute the workflow.
  5. Verify the result.

Arazzo supports steps 2 through 5 by making multi-step workflows explicit. It is especially useful for the execution layer, where an agent needs to do more than fetch content.

Strong use cases#

Use caseWhy Arazzo helps
Ecommerce checkoutCart, shipping, taxes, payment, confirmation happen in sequence
B2B quote requestEligibility, configuration, pricing, and submission depend on each other
Travel bookingAvailability, fare rules, passenger data, and confirmation are ordered
SaaS onboardingWorkspace, user, billing, and permission setup has dependencies
Support escalationTicket creation, classification, attachment, and routing need state
Financial workflowDisclosures, eligibility, and consent must happen before action

The agent-ready web app checklist covers how to design the underlying product surface.

What to include in an Arazzo workflow#

At minimum, document:

  • workflow goal
  • required inputs
  • ordered steps
  • source OpenAPI operations
  • dependencies between steps
  • success criteria
  • outputs
  • error states
  • retry and idempotency expectations

The success criteria are especially important. Agents need to know what “done” means.

Example workflow shape#

For an appointment booking API:

StepOperationOutput used later
1list_servicesservice_id
2list_available_slotsslot_id
3create_bookingbooking_id
4get_bookingconfirmed status

Without workflow documentation, an agent may call the wrong endpoint first or miss the confirmation step.

Implementation path#

  1. Clean up your OpenAPI document.
  2. Pick three high-value workflows.
  3. Write Arazzo descriptions for those workflows.
  4. Test them with an agent or workflow runner.
  5. Link the workflow docs from API docs and llms.txt.
  6. Wrap the same workflows as MCP tools when useful.

This keeps the system grounded: OpenAPI describes operations, Arazzo describes sequencing, MCP exposes callable tools.

FAQ#

Does Arazzo replace OpenAPI?#

No. It complements OpenAPI by describing workflows that use OpenAPI operations.

Is Arazzo only for AI agents?#

No. It is useful for documentation, SDK generation, testing, and compliance. AI agents are one strong use case.

Do I need Arazzo before MCP?#

Not always. For simple tools, MCP may be enough. For multi-step workflows, Arazzo helps make the process explicit.

What is the SEO angle?#

Arazzo is not a ranking factor. It improves execution-layer readiness by making workflows machine-readable.

Which workflows should be documented first?#

Start with workflows tied to revenue, support resolution, booking, onboarding, or compliance-sensitive actions.