Module a2a

Module a2a 

Source
Expand description

Agent-to-Agent (A2A) protocol types and converters.

Re-exports§

pub use event_converter::to_a2a_message;
pub use event_converter::to_adk_event;
pub use part_converter::to_a2a_part;
pub use part_converter::to_a2a_parts;
pub use part_converter::to_genai_part;
pub use part_converter::to_genai_parts;
pub use remote_agent::AgentCard;
pub use remote_agent::AgentSkill;
pub use remote_agent::RemoteA2aAgent;
pub use remote_agent::RemoteA2aAgentConfig;
pub use types::A2aArtifact;
pub use types::A2aFileContent;
pub use types::A2aMessage;
pub use types::A2aPart;
pub use types::A2aTask;
pub use types::TaskArtifactUpdateEvent;
pub use types::TaskState;
pub use types::TaskStatus;
pub use types::TaskStatusUpdateEvent;

Modules§

event_converter
Bidirectional conversion between A2A messages and agent events. Bidirectional Event <-> A2A Message conversion.
part_converter
Bidirectional conversion between A2A parts and GenAI parts. Bidirectional GenAI <-> A2A Part conversion.
remote_agent
Remote A2A agent — communicates with remote agents via A2A protocol. Remote A2A agent — communicates with remote agents via A2A protocol.
types
A2A protocol data types (messages, tasks, artifacts, parts).