Cette page est affichée en anglais. Une traduction française est en cours.
ScriptsApr 4, 2026·3 min de lecture

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.

Introduction

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-<channel> 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 et remerciements

Created by qwibitai. Licensed under MIT.

nanoclaw — ⭐ 26,400+

Thank you to the Qwibit team for building a clean, minimal alternative to OpenClaw.

Discussion

Connectez-vous pour rejoindre la discussion.
Aucun commentaire pour l'instant. Soyez le premier à partager votre avis.

Actifs similaires