Skip to main content

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::*;

Classes

Agent

The core Agent struct Agents are the primary execution unit in PraisonAI. They combine: - LLM provider for generating responses - Tools for…

Rust Agent

Rust Overview

Rust Quickstart

Rust Installation

Rust Autonomy