Embed agents in your applications
Embed in Application
use praisonai::Agent; // Create agent as part of your application let agent = Agent::new() .name("Assistant") .build()?; // Use in your app logic async fn handle_user_query(query: &str) -> String { agent.chat(query).await.unwrap() }