agents_core/
lib.rs

1//! Core traits and shared data models for the Rust Deep Agents SDK.
2//! This crate keeps the domain primitives lightweight and platform-agnostic
3//! so runtimes and integrations can compose them without pulling in heavy deps.
4
5pub mod agent;
6pub mod command;
7pub mod hitl;
8pub mod llm;
9pub mod messaging;
10pub mod persistence;
11pub mod prompts;
12pub mod state;
13pub mod tools;
14
15pub use agent::{AgentDescriptor, AgentHandle, PlannerHandle};
16pub use command::{Command, StateDiff};
17pub use hitl::{AgentInterrupt, HitlAction, HitlInterrupt};
18pub use messaging::{
19    AgentMessage, CacheControl, MessageContent, MessageMetadata, MessageRole, ToolInvocation,
20};
21pub use persistence::{Checkpointer, CheckpointerConfig, InMemoryCheckpointer, ThreadId};
22pub use tools::{
23    Tool, ToolBox, ToolContext, ToolParameterSchema, ToolRegistry, ToolResult, ToolSchema,
24};