ScriptsApr 4, 2026·3 min read

NanoClaw — Lightweight Personal AI Assistant

A minimal alternative to OpenClaw that runs Claude agents in isolated containers. Connects to WhatsApp, Telegram, Slack, Discord, and Gmail with just 500 lines of TypeScript.

TO
TokRepo精选 · Community
Quick Use

Use it first, then decide how deep to go

This block should tell both the user and the agent what to copy, install, and apply first.

1. Fork and clone the repository: ```bash git clone https://github.com/qwibitai/nanoclaw.git cd nanoclaw ``` 2. Run Claude Code in the project directory: ```bash claude ``` 3. Inside the Claude session, run the setup skill: ``` /setup ``` Claude Code handles all dependencies, authentication, container setup, and service configuration automatically. 4. Add messaging channels: ``` /add-whatsapp /add-telegram /add-discord ``` ---
Intro
NanoClaw is a lightweight, open-source personal AI assistant built on the Anthropic Claude Agent SDK. With 26,400+ GitHub stars and just ~500 lines of TypeScript, it provides the same core functionality as OpenClaw (335K+ stars) — multi-channel messaging, memory, scheduled tasks, and web access — but in a codebase small enough to read and understand in one sitting. Each agent runs in its own isolated Linux container with a separate filesystem, providing true OS-level security isolation. Best for: developers who want a personal AI assistant across messaging apps without OpenClaw's complexity. Works with: Claude Agent SDK, WhatsApp, Telegram, Slack, Discord, Gmail. Setup time: under 5 minutes with Claude Code. ---
## NanoClaw — Architecture & Features ### Why NanoClaw Over OpenClaw? | Feature | OpenClaw | NanoClaw | |---------|----------|----------| | Codebase | 500K+ lines, 53 config files, 70+ deps | ~500 lines TypeScript | | Security | Application-level permission checks | OS-level container isolation | | Process model | One Node process, shared memory | One container per agent group | | Customizability | Complex plugin system | Read & modify the entire codebase | ### Core Features **Multi-Channel Messaging** Connect to WhatsApp, Telegram, Discord, Slack, or Gmail. Each channel is added with a simple `/add-` command inside Claude Code. Users message your NanoClaw instance from their favorite app, and Claude responds. **Container Isolation** Every agent group runs in its own Linux container (Docker or Apple Container) with: - Isolated filesystem — no cross-group data leakage - Dedicated CLAUDE.md memory file per group - Separate SQLite database for persistent context **Scheduled Tasks** Set up automated tasks that run on a schedule — daily summaries, periodic checks, recurring workflows. **Web Access & Browser Automation** Agents can browse the web, scrape data, and interact with web services. **Agent Swarms** Launch multiple specialized agents that collaborate on complex tasks within isolated environments. **Agent Vault (Credential Management)** Securely store and manage API keys and credentials via OneCLI's Agent Vault. ### Tech Stack - **Runtime**: Claude Agent SDK (Anthropic) - **Language**: TypeScript (93.7%), Python, Swift - **Database**: SQLite for persistent memory - **Containers**: Docker or Apple Container - **Requirements**: Node.js 20+, Claude Code ### FAQ **Q: What is NanoClaw?** A: A lightweight personal AI assistant that runs Claude agents in isolated containers, connecting to WhatsApp, Telegram, Slack, Discord, and Gmail. Built on the Anthropic Claude Agent SDK with ~500 lines of TypeScript. **Q: Is NanoClaw free?** A: Yes, NanoClaw is open-source under the MIT license. You need your own Anthropic API key for Claude usage. **Q: How does NanoClaw compare to OpenClaw?** A: NanoClaw provides the same core features (messaging, memory, tasks) in ~500 lines vs OpenClaw's 500K+ lines, with true OS-level container isolation instead of application-level permission checks. ---
🙏

Source & Thanks

> Created by [qwibitai](https://github.com/qwibitai). Licensed under MIT. > > [nanoclaw](https://github.com/qwibitai/nanoclaw) — ⭐ 26,400+ Thank you to the Qwibit team for building a clean, minimal alternative to OpenClaw.

Discussion

Sign in to join the discussion.
No comments yet. Be the first to share your thoughts.

Related Assets