One Agent Task Across AG-UI, MCP and A2A

One Agent Task Across AG-UI, MCP and A2A A sequence diagram generated by Archify. book Paris trip RunAgentInput messages + tools call search_flights TOOL_CALL_START tools/call 3 flights send task: check policy completed + artifact results final answer TEXT_MESSAGE events options + approval AG-UI run MCP tool call A2A delegation Answer stream User · traveller · Sequence participant User traveller Agent UI · web app · Sequence participant Agent UI web app Travel agent · framework runtime · Sequence participant Travel agent framework runtime LLM · via AI gateway · Sequence participant LLM via AI gateway MCP server · flights API · Sequence participant MCP server flights API Expense agent · finance team · Sequence participant Expense agent finance team Legend request return async trace default message

AG-UI

  • • Agent to interface: streamed typed events

MCP

  • • Agent to tools: tools/list, tools/call

A2A

  • • Agent to agent: Agent Card, task, artifact
© 2026 Samir Kumar Sahoo. All rights reserved.