Skip to content

A2A Rust SDK

Under construction

These pages are being written. The plan and its tasks are in #521.

a2a-rs is the Rust SDK for the Agent2Agent (A2A) protocol. To build an agent and call it, start with the agent quickstart. The hello world agent in the examples crate mounts its bindings like this:

let app = axum::Router::new()
    .nest(
        "/jsonrpc",
        a2a_server::jsonrpc::jsonrpc_router(handler.clone()),
    )
    .nest("/rest", a2a_server::rest::rest_router(handler.clone()))
    .merge(a2a_server::agent_card::agent_card_router(card_producer));