Skip to main content
Build high-performance AI agents in Rust with minimal code.

Why Rust?

BenefitDescription
PerformanceNative speed, no GC pauses
SafetyMemory-safe by design
ConcurrencyAsync-first architecture
Small footprintDeploy anywhere

Quick Example

use praisonai::Agent;

#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
    let agent = Agent::new()
        .name("Assistant")
        .instructions("You are helpful")
        .build()?;
    
    agent.chat("Hello!").await?;
    Ok(())
}

Core Concepts


Get Started

1

Install

cargo add praisonai tokio
2

Set API Key

export OPENAI_API_KEY="your-key"
3

Create Agent

Follow the Quick Start guide.

What’s Next?