Skip to main content

Crate rsclaw

Crate rsclaw 

Source
Expand description

rsclaw library crate — exposes all modules for integration tests and future embedding use-cases. The binary entry-point is in main.rs.

Re-exports§

pub use sys::MemoryTier;

Modules§

a2a
Google A2A Protocol v0.3 types and client.
acp
ACP (Agent Client Protocol) implementation
agent
Agent subsystem.
browser
CDP (Chrome DevTools Protocol) browser automation.
channel
Channel subsystem.
cli
CLI command tree – mirrors the OpenClaw command surface. Implemented with clap derive macros.
cmd
config
Config loading entry point.
cron
Cron job scheduler — runs periodic agent tasks (AGENTS.md §16).
events
Shared event types — used by agent runtimes and the SSE broadcast layer.
gateway
Gateway subsystem.
heartbeat
hooks
Webhook ingress — POST /hooks/:path
i18n
Lightweight i18n for user-facing channel messages.
mcp
MCP (Model Context Protocol) client — communicates with MCP servers over stdin/stdout JSON-RPC to discover and invoke tools.
migrate
OpenClaw data migration module.
plugin
Plugin subsystem.
provider
LLM provider abstraction layer.
server
Axum HTTP gateway — OpenClaw-compatible REST API + SSE streaming.
skill
Skill subsystem.
store
Storage layer: redb (hot KV) + tantivy (BM25 FTS) + hnsw_rs (vector).
sys
ws
OpenClaw WebSocket Gateway Protocol v3.