agentai 0.1.5

AgentAI is a Rust library designed to simplify the creation of AI agents.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! # Custom Agent Tool Implementation
//!
//! This example demonstrates how to create a custom tool using the `#[toolbox]` and `#[tool()]` macros
//! provided by the `agentai` crate. It sets up an AI agent with a custom tool that can fetch content
//! from a given URL, showcasing how to define and use your own tools with the `agentai` crate.
//!
//! To run this example from the terminal, enter:
//! ```bash
//! cargo run --example tools_custom
//! ```
//!
//! ## Source Code
//!
//! ```rust
#![doc = include_str!("../../examples/tools_custom.rs")]
//! ```