codetether_agent/a2a/mod.rs
1//! A2A Protocol Implementation
2//!
3//! First-class support for the Agent-to-Agent (A2A) protocol, enabling
4//! this agent to work as both a client and server in the A2A ecosystem.
5//!
6//! ## Transports
7//! - **JSON-RPC** (default) — `server.rs` / `client.rs`
8//! - **gRPC** — `grpc.rs` (tonic-based, compiled from `proto/a2a/v1/a2a.proto`)
9
10pub mod bridge;
11pub mod client;
12pub mod grpc;
13pub mod server;
14pub mod spawn;
15pub mod types;
16pub mod worker;
17
18/// Generated protobuf/tonic types from `proto/a2a/v1/a2a.proto`.
19pub mod proto {
20 tonic::include_proto!("a2a.v1");
21}
22
23// Re-export commonly used types
24#[allow(unused_imports)]
25pub use client::A2AClient;