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

rust,ignore
use praisonai_core::Agent;

let agent = Agent::new()
.name("assistant")
.instructions("You are a helpful assistant")
.build();

let response = agent.chat("Hello!").await?;

Import

rust
use praisonai::agent::*;

Classes


Related Documentation