Praisonai Derive • Rust AI Agent SDK
Procedural macros for PraisonAI
praisonai_derive
Rust AI Agent SDK
Procedural macros for PraisonAI
This crate provides the #[tool] attribute macro for defining tools.
Example
use praisonai::tool;
#[tool(description = "Search the web for information")]
async fn search_web(query: String) -> String {
format!("Results for: {}", query)
}Import
use praisonai_derive::*;