agents_toolkit/lib.rs
1//! Toolkit of built-in tools and utilities for AI agents
2//!
3//! This crate provides:
4//! - Built-in tools (filesystem, todos, etc.)
5//! - Tool builder utilities for creating custom tools
6//! - Tool registration and management helpers
7//! - Procedural macros for automatic tool schema generation
8
9pub mod builder;
10pub mod builtin;
11
12// Re-export core types from agents-core for convenience
13pub use agents_core::tools::{
14 Tool, ToolBox, ToolContext, ToolParameterSchema, ToolRegistry, ToolResult, ToolSchema,
15};
16
17// Re-export builder utilities
18pub use builder::{create_tool, tool, tool_sync, ToolBuilder};
19
20// Re-export procedural macros
21pub use agents_macros::tool;
22
23// Re-export built-in tools
24pub use builtin::{
25 create_filesystem_tools, create_todos_tool, EditFileTool, LsTool, ReadFileTool, WriteFileTool,
26 WriteTodosTool,
27};