⚡ Local-runtime-first AI assistant platform with host-controlled tools, browser operations, planning, and strong operator ergonomics.
MicroClaw is built on top of NanoClaw.
Think of it as a powered-up evolution:
- same practical foundation
- stronger execution architecture
- better runtime routing
- deeper browser and tool workflows
- improved operational control
NanoClaw is still the foundation. MicroClaw is the upgraded system we shaped for higher real-world completion.
- Profile-driven runtime selection
- Capability-aware route decisions
- Safer fallback behavior for local/compatible endpoints
- Host-governed privileged actions
- Cleaner container-runner contracts
- Better execution backend boundaries
- Managed browser sessions
- Snapshot + ref interaction model
- Action-level control and policy shaping
- Structured context building
- Retrieval-aware memory shaping
- Explicit memory tools for long workflows
- Command-center style CLI
- Setup and diagnostics flow
- Better observability and operational ergonomics
Here is the direct technical delta.
| Area | NanoClaw Base | MicroClaw Upgrade |
|---|---|---|
| Runtime | Basic profile compatibility | Expanded runtime manager, capability routing, safer fallback paths |
| Tooling | Core tools | Richer tool registry, better tool exposure rules per route |
| Browser | Limited interaction pattern | Host-managed browser operator stack with structured action flow |
| Context | General continuity | Layered context pipeline with stronger memory relevance behavior |
| CLI/Ops | Core setup | Command-center flow for onboarding, health, debug, and control |
| Execution | Core container loop | Cleaner host/runner split and execution backend wiring |
| Channel Surface | Foundation channels | Expanded channel handling plus integration scaffolding |
This is the chapter that matters most.
We started with a minimal orchestrator around:
- message routing
- SQLite state
- isolated execution
Goal: keep the code understandable and safe.
We evolved into local-runtime-first architecture with:
- runtime profiles
- local endpoint support
- capability probing
- fallback logic
As complexity grew, operations had to get easier.
We added CLI-centered flows for:
- onboarding
- auth/runtime management
- diagnostics
- logs and debugging
Web access was made adaptive, not always-on.
The assistant uses it only when a task truly requires current information or verification.
This was a major leap.
We added host-managed browser operations with:
- centralized manager
- session ownership
- action boundaries
- snapshot/ref workflow
For complex tasks, one-pass responses were not enough.
Planner/critic tooling was introduced for multi-step reliability.
We improved how memory is collected, ranked, and reused so long-running tasks stay accurate.
User message
-> continuity/context assembly
-> runtime profile selection
-> capability route selection
-> tool exposure for that route
-> model tool loop and/or response
-> host-managed execution for privileged actions
-> final response
Capability routes:
plain_responseweb_lookupbrowser_operationdeny_or_escalate
Web:
web_searchweb_fetchweb_open_urlweb_extract_textweb_get_linksweb_close
Browser:
browser_open_urlbrowser_snapshotbrowser_clickbrowser_typebrowser_selectbrowser_extract_textbrowser_screenshotbrowser_tabsbrowser_close
Meta:
create_plancritique_response
Memory:
remember_thismemory_search
src/index.ts: host orchestrator entrypointsrc/runtime/: runtime selection and capability routingsrc/browser/: browser manager and IPC pathwaysrc/context/: continuity and memory assemblysrc/db.ts: persistencesrc/cli/: command-center interfacecontainer/agent-runner/: runtime adapter and tool bridge
- Node.js 20+
- A local/remote OpenAI-compatible endpoint (LM Studio, Ollama, etc.)
- Optional channel credentials for extra integrations
git clone https://github.com/rithwik1510/MicroClaw.git
cd MicroClaw
npm install
npm --prefix container/agent-runner installnpm run dev -- onboardPrimary command:
microclawCompatibility alias:
nanoclawCommon commands:
microclaw status
microclaw doctor
microclaw models list
microclaw debug
microclaw logs --lines 200MIT
