2 unstable releases
| 0.2.0 | Feb 5, 2026 |
|---|---|
| 0.1.0 | Feb 4, 2026 |
#700 in #ai-agents
Used in 3 crates
(via praisonai)
11KB
165 lines
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)
}
Dependencies
~105–465KB
~11K SLoC