Expand description
Rust SDK for the A2A Protocol v1.0.
This crate provides a protocol-accurate type layer plus optional server and client implementations behind feature flags.
Re-exports§
pub use crate::client::A2AClient;pub use crate::client::A2AClientConfig;pub use crate::client::A2AClientStream;pub use crate::client::AgentCardDiscovery;pub use crate::client::AgentCardDiscoveryConfig;pub use crate::error::A2AError;pub use crate::store::InMemoryTaskStore;pub use crate::store::TaskStore;pub use crate::types::*;
Modules§
- client
- HTTP client for discovering and calling remote A2A agents.
- error
- Transport-neutral error type shared across the crate.
- jsonrpc
- JSON-RPC 2.0 envelope types and A2A method/code constants.
- server
- Axum-based server framework for exposing an A2A agent.
- store
- Task persistence traits and the in-memory store implementation.
- types
- Protocol request, response, and resource types. Core A2A protocol types.