Crate a2a

Source
Expand description

§a2a

This crate provides a Rust implementation of the Agent-to-Agent (A2A) protocol.

The A2A protocol enables communication and interoperability between AI agents built on different frameworks or by different vendors. It defines standard mechanisms for:

  • Agent capability discovery
  • Task-based interactions
  • Streaming status updates
  • File and structured data exchange
  • Push notifications

§Current Status

⚠️ Early Development - This implementation is in its initial stages and currently supports:

  • Core protocol data types
  • Basic task lifecycle management
  • In-memory task storage

Many protocol features remain to be implemented including streaming, push notifications, and agent discovery.

§License

This project is licensed under the MIT OR Apache-2.0 License.

Structs§

AgentCard
Artifact
FileContent
InMemoryTaskStore
Message
Task
TaskStatus

Enums§

Part
TaskState

Traits§

A2AProtocol