nanocoai/nanoclaw
A lightweight alternative to OpenClaw that runs in containers for security. Connects to WhatsApp, Telegram, Slack, Discord, Gmail and other messaging apps,, has memory, scheduled jobs, and runs directly on Anthropic's Agents SDK
What it solves
NanoClaw は、複数のメッセージングプラットフォーム上で AI エージェントを安全かつカスタマイズ可能、プライベートに実行したいユーザー向けに設計された軽量 AI アシスタントフレームワークです。エージェントをそれぞれの Linux コンテナに隔離することで、広範なシステムアクセス権を持つ複雑な AI ソフトウェアを実行する際のセキュリティリスクを軽減し、明示的にマウントされたディレクトリのみへのアクセスを保証します。
How it works
NanoClaw は、ルーターとして機能する単一の Node.js ホストプロセスを使用します。Telegram や Discord などのメッセージングアプリからメッセージが届くと、ホストはそれを特定のエージェントグループのセッションへルーティングし、inbound SQLite データベースに書き込みます。Claude Agent SDK(Bun 経由)を実行するサンドボックス化された Docker コンテナがこのデータベースをポーリングし、リクエストを処理して応答を outbound SQLite データベースに書き込み、ホストがそれをユーザーに返します。
Who it’s for
大規模で複雑な設定ファイルを持つモノリシックなフレームワークに依存せず、最小限で「AI ネイティブ」なコードベースを好み、Claude Code などの AI ツールで簡単に理解・フォーク・カスタマイズできる個人ユーザー向けに作られています。
Highlights
- Container Isolation: Agents run in Docker containers to prevent host system access.
- Multi-channel Support: On-demand installation of adapters for WhatsApp, Telegram, Discord, Slack, and more.
- Credential Security: API keys are managed via OneCLI's Agent Vault, so agents never hold raw keys.
- Bespoke Customization: Designed to be modified directly in the code via AI prompts rather than through config files.
- Scheduled Tasks: Ability to set up recurring jobs with optional script gates.
- Flexible Model Providers: Native support for Claude, with options for OpenAI, Google, DeepSeek, and local models via Ollama.