microclaw/microclaw

🦀An agentic AI assistant that lives in your chats, inspired by nanoclaw and incorporating some of its design ideas. Built with Rust 🦀

What it solves

MicroClaw tackles the problem of agents that need to work over long time horizons: multi-step tool use, resumable sessions, durable delivery, persistent memory, scheduled tasks, and governed extensions. It also addresses reliability concerns: if a reply exceeds a channel limit, the process stops mid-task, or a channel is unavailable, MicroClaw guarantees durable acceptance, recovery, and separate task completion from delivery.

How it works

Every message flows through the same path: resume session state and load relevant memory, skills, and context, call the selected model using provider-neutral messages, execute tools through shared guardrails (approvals, sandboxing, redaction), then persist the turn and deliver the result durably. The architecture separates the Agent Engine from channel adapters: MicroClaw Server translates chat/web/API events, while MicroClaw Code renders the same runtime events in its terminal UI via the SDK. This shared core means no product has its own agent loop or provider implementation.

Who it's for

Developers and teams who want to self-host a reliable agent runtime: those running always-on chat or automation agents (Server), those who want a coding agent that works directly in their repository with diff review and build/test verification (Code), and Rust developers who want to embed the same agent engine in their own applications (SDK). It's designed to run on modest infrastructure, requiring only a Rust service and embedded SQLite.

Highlights

  • One core, three products: Server, Code, and SDK share the same Agent Engine.
  • Embeddable Rust SDK: use stable Agent, Run, event, control, and Worker contracts without server or UI dependencies.
  • Coding agent that checks its work: makes reviewable diffs, gets approvals, and runs your project's build/lint/tests, handing failures back.
  • Execution can continue: sessions, checkpoints, scheduling, and durable delivery survive process restarts.
  • Provider freedom: native Anthropic or many OpenAI-compatible and local providers via one internal message model.
  • Extensible by design: skills, MCP servers, plugins, hooks, tools, and channel adapters without replacing the core.
  • Safe by default: tool risk gates, scoped grants, egress controls, sandboxing, redaction, and audit trails.
  • Reliability you can verify: publishes a machine-readable reliability scorecard with each release.

Related

  • Project
  • Project
  • Project
  • Project
  • Project