Skip to main content

Crate crabtalk_core

Crate crabtalk_core 

Source
Expand description

Crabtalk agent library.

Re-exports§

pub use agent::Agent;
pub use agent::AgentBuilder;
pub use agent::AgentConfig;
pub use agent::config::HeartbeatConfig;
pub use agent::event::AgentEvent;
pub use agent::event::AgentResponse;
pub use agent::event::AgentStep;
pub use agent::event::AgentStopReason;
pub use agent::tool::ToolRegistry;
pub use agent::tool::ToolRequest;
pub use agent::tool::ToolSender;
pub use config::ManifestConfig;
pub use config::McpServerConfig;
pub use config::PackageMeta;
pub use config::ResolvedManifest;
pub use config::Setup;
pub use config::check_skill_conflicts;
pub use config::load_agents_dir;
pub use config::load_agents_dirs;
pub use config::repo_slug;
pub use config::resolve_manifests;
pub use config::scan_skill_names;

Modules§

agent
Immutable agent definition and execution methods.
config
Shared configuration types used across crates.
model
Unified LLM interface types and traits.
paths
Global paths for the crabtalk runtime.
protocol
Crabtalk wire protocol — message types, API traits, and wire codec.
utils
Shared utilities for markdown-based configuration parsing.

Structs§

ProviderDef
Configuration for a single LLM provider.
Runtime
The crabtalk runtime — agent registry, session store, and hook orchestration.
Session
A conversation session tied to a specific agent.

Enums§

ApiStandard
Which provider implementation to use.

Traits§

Hook
Lifecycle backend for agent building, event observation, and tool registration.

Functions§

find_latest_session
Find the latest session file for an (agent, created_by) identity.
sender_slug
Sanitize a string into a filesystem-safe slug.