Skip to main content

Crate microclaw_engine

Crate microclaw_engine 

Source
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 / .cursorrules context 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.