Expand description
Crabtalk agent library.
Agent: Immutable agent definition with step/run/run_stream.AgentBuilder: Fluent construction with a model provider.AgentConfig: Serializable agent parameters.ToolRegistry: Schema-only tool store. No handlers or closures.ToolDispatcher: Agent-side tool dispatch trait.model: Unified LLM interface types and traits.storage: Unified persistence trait and domain types.- Agent event types:
AgentEvent,AgentStep,AgentResponse,AgentStopReason.
Re-exports§
pub use agent::Agent;pub use agent::AgentBuilder;pub use agent::AgentConfig;pub use agent::AgentId;pub use agent::event::AgentEvent;pub use agent::event::AgentResponse;pub use agent::event::AgentStep;pub use agent::event::AgentStopReason;pub use agent::tool::BeforeRunHook;pub use agent::tool::ToolDispatch;pub use agent::tool::ToolDispatcher;pub use agent::tool::ToolEntry;pub use agent::tool::ToolFuture;pub use agent::tool::ToolHandler;pub use agent::tool::ToolRegistry;pub use config::BashConfig;pub use config::DaemonConfig;pub use config::HooksConfig;pub use config::McpServerConfig;pub use config::MemoryConfig;pub use config::PackageMeta;pub use config::ResolvedDirs;pub use config::Setup;pub use config::TasksConfig;pub use config::check_skill_conflicts;pub use config::external_source_name;pub use config::load_agents_dir;pub use config::load_agents_dirs;pub use config::repo_slug;pub use config::resolve_dirs;pub use config::scan_skill_names;pub use config::validate_providers;pub use storage::ConversationMeta;pub use storage::EventLine;pub use storage::sender_slug;
Modules§
- agent
- Immutable agent definition and execution methods.
- config
- Shared configuration types used across crates.
- model
- Unified LLM interface types and the
Model<P>wrapper. - paths
- Global paths for the crabtalk runtime.
- protocol
- Crabtalk wire protocol — message types, API traits, and wire codec.
- storage
- Persistence trait and domain types.
- utils
- Shared utilities for markdown-based configuration parsing.
Structs§
- Provider
Def - Configuration for a single LLM provider.
Enums§
- ApiStandard
- Which provider implementation to use.