agent • Rust AI Agent SDK
Agent module for PraisonAI
agent
Rust AI Agent SDK
Agent module for PraisonAI
This module provides the core Agent struct and builder pattern. Agents are the primary execution unit in PraisonAI.
Example
use praisonai_core::Agent;
let agent = Agent::new()
.name("assistant")
.instructions("You are a helpful assistant")
.build();
let response = agent.chat("Hello!").await?;Import
use praisonai::agent::*;