Documentation Index Fetch the complete documentation index at: https://docs.praison.ai/llms.txt
Use this file to discover all available pages before exploring further.
A2A
Defined in the ui module.
Rust AI Agent SDK
A2A Interface for PraisonAI Agents Exposes a PraisonAI Agent via the A2A (Agent2Agent) protocol, enabling agent-to-agent communication with other A2A-compatible systems.
Fields
Name Type Description nameStringAgent name descriptionStringAgent description urlStringA2A endpoint URL versionStringVersion string prefixStringURL prefix for router tagsVec<String>OpenAPI tags agent_cardOption<A2AAgentCard>Agent card cache
Methods
new
fn new ( name : impl Into < String >, url : impl Into < String >) -> Self
Create a new A2A interface
Parameters:
Name Type nameimpl Into<String>urlimpl Into<String>
description
fn description ( mut self , description : impl Into < String >) -> Self
Set description
Parameters:
Name Type descriptionimpl Into<String>
version
fn version ( mut self , version : impl Into < String >) -> Self
Set version
Parameters:
Name Type versionimpl Into<String>
prefix
fn prefix ( mut self , prefix : impl Into < String >) -> Self
Set URL prefix
Parameters:
Name Type prefiximpl Into<String>
get_agent_card
fn get_agent_card ( & self ) -> A2AAgentCard
Get the Agent Card for this A2A instance
get_status
fn get_status ( & self ) -> HashMap < String , String >
Get status
Source
View on GitHub praisonai/src/parity/ui.rs at line 144