a2a-wrapper logoa2a-wrapper
Guides

Choosing a wrapper

Compare a2a-copilot, a2a-claude, a2a-codex, a2a-opencode and a2a-antigravity. Backends, provider flexibility, sandboxing, streaming, and default ports, so you can pick the right A2A wrapper for your agent.

All five wrappers share the same core: A2A v1.0 native with v0.3.x compatibility, sub-agent delegation, MCP tool integration, and JSON config with environment and CLI overrides. They differ in the backend behind them.

Comparison

Backend SDKProvider flexibilitySafety controlsDefault port (example config)
a2a-copilotGitHub Copilot SDKBYOK: Ollama, OpenAI, Anthropic, Azure, vLLM, any OpenAI-compatible endpointRun in a container with a scratch workspace3000
a2a-claude@anthropic-ai/claude-agent-sdkClaude models (Anthropic API, Bedrock, Vertex)permissionMode: plan, acceptEdits, dontAsk, gated bypassPermissions3030
a2a-codex@openai/codex-sdkOpenAI Codex modelssandboxMode: read-only, workspace-write, danger-full-access; approvalPolicy3020
a2a-opencodeOpenCodeMulti-provider, switch in one config line--auto-approve is on by default; run in a container3000
a2a-antigravityGoogle Antigravity Python SDK, through a managed bridgeGemini (API key or Vertex/ADC)Antigravity policies, run_command gating3040

Which should I pick?

Things worth knowing

  • Local or self-hosted models: use a2a-copilot with a BYOK provider. The model must support native tool calling; some small local models emit tool calls as plain text and will not work.
  • Read-only review agent: a2a-claude with permissionMode: "plan" or a2a-codex with sandboxMode: "read-only".
  • Docker: most wrappers ship a Dockerfile. Codex shell sandboxing needs extra privileges inside a container; see Docker.
  • OpenCode needs an OpenCode server. a2a-opencode connects to a running OpenCode server at opencode.baseUrl (the example uses http://localhost:4097).
  • Mixing wrappers: any combination works in one system because they all speak A2A. The crew example pairs Claude with Codex.

Wrapper or something else?

You want to…Use
Expose an existing coding agent over A2A with no codea2a-wrapper
Build a fully custom agent from scratchThe official A2A SDKs
Orchestrate many agents with a frameworkLangGraph, Google ADK, CrewAI and similar as the orchestrator, calling wrappers as execution nodes

See also integrate with agent frameworks.

On this page