Expand description
Concrete, channel-independent MicroClaw Agent Engine services.
This crate is the physical extraction boundary for the provider-neutral loop and its default services. Product crates translate input/output at their edge and consume this library.
Re-exports§
pub use internal::app::builtin_skills;pub use internal::app::logging;pub use internal::app::transcribe;pub use internal::runtime::AgentHandle;pub use internal::runtime::ControlRequest;pub use internal::runtime::ExecutionContext;pub use internal::runtime::ExecutionResult;pub use internal::runtime::LocalWorker;pub use internal::runtime::RemoteWorker;pub use internal::runtime::RunController;pub use internal::runtime::RunExecutor;pub use internal::runtime::RunHandle;pub use internal::runtime::Runtime;pub use internal::runtime::RuntimeBuildError;pub use internal::runtime::RuntimeBuilder;pub use internal::runtime::RuntimeStats;pub use internal::runtime::Worker;pub use internal::runtime::WorkerConnection;pub use internal::runtime::WorkerTransport;pub use internal::storage::memory;pub use internal::worker::WebSocketWorkerTransport;pub use internal::worker::WorkerHost;
Modules§
- a2a
- acp_
subagent - agent_
engine - alerts
- Opt-in operational webhook alerts.
- channels
- chat_
commands - chat_
turn_ queue - Per-chat turn serialization and message coalescing.
- checkpoint
- Filesystem checkpoints via shadow git repos.
- clawhub
- codex_
auth - completion_
contract - Completion contracts: evidence-based verification that a sub-agent’s task is actually done, instead of trusting its self-report.
- config
- config_
persistence - context_
references @-prefix context references in user messages.- embedding
- error
- headless
- Headless one-shot mode:
microclaw run -p "<prompt>". - hooks
- http_
client - internal
- learning_
foundry - User-directed, evidence-first background learning.
- llm
- llm_
types - mcp
- memory_
backend - memory_
service - messages
- Bilingual (en/zh) catalog for user-facing runtime messages.
- mood
- Lightweight, zero-cost conversational mood detection.
- plugins
- prompt_
cache - Anthropic prompt-cache breakpoints (system_and_3 strategy).
- relationship
- Relationship familiarity: a light, prompt-level sense of how well the bot “knows” the person it’s talking to, derived from how much history they share (the stored message count). People treat a stranger and an old friend differently; this nudges tone the same way.
- run_
control - runtime
- schedule_
lifecycle - Scheduled-task lifecycle: run caps, deadlines, and random (“spontaneous”) cadences.
- setup
- setup_
def - skill_
audit - Deterministic skill curation audit.
- skill_
review - Helpers for the autonomous skill-review pipeline.
- skills
- subdirectory_
hints - Lazily inject subdirectory
AGENTS.md/CLAUDE.md/.cursorrulescontext when the agent starts working in a new area of the codebase. - supervision
- Supervised background loops.
- title_
generator - Auto-generate session titles once a chat has enough context.
- tool_
executor - Parallel tool execution within a single agent turn.
- tool_
guardrails - Per-turn tool-call guardrails.
- tools
- trust_
report - Opt-in periodic trust report.
- turn_
recovery - Startup recovery for work that was in flight when the previous process died.
- voice
- Shared voice/audio inbound transcription used by channel adapters.