use praisonai::{Agent, A2A, A2AAgentCard};
// First create your agent
let agent = Agent::new()
.name("Support Agent")
.instructions("Help users with support questions")
.build()?;
// Create A2A card for discovery
let card = A2AAgentCard::new()
.name("Support Agent")
.description("Handles customer support")
.url("http://localhost:8080");
// Start A2A server
let a2a = A2A::new()
.card(card)
.build()?;