Skip to content
Navigation

Agent-to-Agent protocol for cross-service agent communication.

Installation

Part of the exo-ai monorepo:

bash
git clone https://github.com/Midsphere-AI/exo-ai.git && cd exo-ai
uv sync

Module path

python
import exo.a2a

Package exports

ExportModuleDescription
A2AClientexo.a2a.clientHTTP client for communicating with remote A2A agents
A2AClientErrorexo.a2a.clientError raised for client-level errors
ClientManagerexo.a2a.clientThread-safe manager for per-thread A2A clients
RemoteAgentexo.a2a.clientAgent-compatible wrapper for remote A2A agents
A2AServerexo.a2a.serverFastAPI-based A2A server with agent card discovery
A2AServerErrorexo.a2a.serverError raised for server-level errors
AgentExecutorexo.a2a.serverWraps an agent for A2A task execution
TaskStoreexo.a2a.serverProtocol for task state storage
InMemoryTaskStoreexo.a2a.serverIn-memory task store for development
AgentCardexo.a2a.typesComplete metadata descriptor for a remote agent
AgentSkillexo.a2a.typesA single capability advertised by an agent
AgentCapabilitiesexo.a2a.typesRuntime capabilities of an A2A agent
TaskStateexo.a2a.typesLifecycle states for a remote A2A task
TaskStatusexo.a2a.typesCurrent status of a remote A2A task
TaskStatusUpdateEventexo.a2a.typesEmitted when a remote task changes state
TaskArtifactUpdateEventexo.a2a.typesEmitted when a remote task produces output
TransportModeexo.a2a.typesSupported A2A transport protocols
ServingConfigexo.a2a.typesServer-side configuration for A2A publishing
ClientConfigexo.a2a.typesClient-side configuration for connecting

Submodules