A2AConnectGet started

Documentation

Guides, API, and the interop profile

Product pages on this site plus the full markdown docs in the repository. Start with a runnable demo, then dig into the SPEC and Python API.

On this site

In the repository

After you unzip or clone the project, these paths are the canonical written docs.

  • Getting started (repo)docs/getting-started.md
  • Python APIdocs/python-api.md
  • Adaptersdocs/adapters.md
  • Transportsdocs/transports.md
  • Policy & auditdocs/policy-audit.md
  • Interop SPEC v1.0protocol/SPEC.md
  • Architecture (repo)docs/architecture.md
  • Demos indexdemos/README.md
  • ContributingCONTRIBUTING.md
  • ChangelogCHANGELOG.md

API at a glance

Full reference: docs/python-api.md

Python
from a2aconnect import (
    AgentPeer,
    MemoryAuditLog,
    create_bus,
    from_async_fn,
    create_graph_style_adapter,
    create_crew_style_adapter,
    with_outbound_buffer,
)

bus = create_bus()
audit = MemoryAuditLog()
# handlers={"research.web": from_async_fn(run)}
# peer.start(); await peer.hello(...); await peer.offer_task(...)