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;
13
14pub use agent::{AgentDescriptor, AgentHandle, PlannerHandle, ToolHandle, ToolResponse};
15pub use command::{Command, StateDiff};
16pub use hitl::{AgentInterrupt, HitlAction, HitlInterrupt};
17pub use messaging::{
18    AgentMessage, CacheControl, MessageContent, MessageMetadata, MessageRole, ToolInvocation,
19};
20pub use persistence::{Checkpointer, CheckpointerConfig, InMemoryCheckpointer, ThreadId};