Crate agents_core

Crate agents_core 

Source
Expand description

Core traits and shared data models for the Rust Deep Agents SDK. This crate keeps the domain primitives lightweight and platform-agnostic so runtimes and integrations can compose them without pulling in heavy deps.

Re-exports§

pub use agent::AgentDescriptor;
pub use agent::AgentHandle;
pub use agent::PlannerHandle;
pub use command::Command;
pub use command::StateDiff;
pub use hitl::AgentInterrupt;
pub use hitl::HitlAction;
pub use hitl::HitlInterrupt;
pub use messaging::AgentMessage;
pub use messaging::CacheControl;
pub use messaging::MessageContent;
pub use messaging::MessageMetadata;
pub use messaging::MessageRole;
pub use messaging::ToolInvocation;
pub use persistence::Checkpointer;
pub use persistence::CheckpointerConfig;
pub use persistence::InMemoryCheckpointer;
pub use persistence::ThreadId;
pub use tools::Tool;
pub use tools::ToolBox;
pub use tools::ToolContext;
pub use tools::ToolParameterSchema;
pub use tools::ToolRegistry;
pub use tools::ToolResult;
pub use tools::ToolSchema;

Modules§

agent
command
hitl
Human-in-the-Loop (HITL) types for agent execution interrupts.
llm
messaging
persistence
Persistence traits for checkpointing agent state between runs.
prompts
state
tools
Core tool system for AI agents