# nanoclaw

> A lightweight alternative to OpenClaw that runs in containers for security. Connects to WhatsApp, Telegram, Slack, Discord, Gmail and other messaging apps,, has…

- Type: agent or tool
- Field: Assistants & Chat
- Repository: https://github.com/nanocoai/nanoclaw
- GitHub stars: 31193
- Licence: MIT
- Language: TypeScript
- Last push: 2026-11-30
- Page: https://imutechz.in/agents/nanoclaw

## What it is
NanoClaw is a self-hosted AI assistant that runs agents in isolated Linux containers for security. It connects agents to messaging platforms including Slack, Telegram, Discord, WhatsApp, Signal, iMessage, Microsoft Teams, Mattermost, and terminal chat. A single host process manages containerized agents with filesystem isolation, replacing application-level permission checks with OS-level boundaries. The setup script handles dependencies, Docker, model credentials, and channel pairing automatically.

## Features
- Agents run in isolated Linux containers with filesystem isolation
- Connects to Slack, Telegram, Discord, WhatsApp, Signal, iMessage, Teams, Mattermost, terminal
- Single host process, no microservices, small understandable codebase
- Setup script installs Node, pnpm, Docker, credentials, and agent images
- Supports Claude, Codex, Cursor, and OpenCode as AI runtimes
- Slack integration provisions one app per agent with manifest and avatar

## Best for
- Self-hosted AI assistants with container-level security
- Multi-platform messaging bot deployments
- Developers who want to audit and customize the full stack
- Teams needing isolated agent workspaces with shared memory

## Pros
- Lightweight codebase small enough to understand fully
- OS-level container isolation instead of application allowlists
- Automated setup handles dependencies and credential gateway
- Multiple AI runtime options (Claude, Codex, Cursor, OpenCode)

## Cons
- Requires Docker, Node.js, pnpm, jq, Git, and Bash
- Linux, macOS, or WSL2 only (no native Windows)
- Self-hosted infrastructure required

Tags: self-hosted, ai-assistant, containers, messaging-integration, security, lightweight, docker, cli
