OpenClaw โ€” Rewritten in Go ยท MIT License

Your AI assistant, built for speed.

GoClaw is a full rewrite of OpenClaw in Go. Single binary, ~12MB, zero dependencies, 15ms startup. Lives in Telegram, Discord, WhatsApp โ€” and gets real work done 24/7.

goclaw โ€” bash โ€” 120ร—28
~12MB
binary size
15ms
startup time
18MB
idle RAM
12+
channels
Performance

Why rewrite in Go?

Node.js served OpenClaw well. Go unlocks a different class of performance and simplicity for always-on personal infrastructure.

Metric
OpenClaw (Node.js)
GoClaw (Go) โœ“
Binary / install
~200MB (node_modules)
~12MB single binary
Startup time
3โ€“5 seconds
~15ms
Idle RAM
~150MB
~18MB
Runtime required
Node.js 18+
None โ€” zero deps
Concurrency
Event loop (single-thread)
Native goroutines (M:N)
Cross-compile
pkg + runtime per OS
1 command, all platforms
Container image
~600MB
~22MB (distroless)
โšก
Single Binary
Compile to a ~12MB executable. Deploy to any server without installing Node.js, npm, or any runtime.
๐Ÿง 
Markdown Memory
Two-tier: daily .md logs + longterm.md facts. Human-readable, git-trackable, editable in vim.
๐Ÿ”Œ
gRPC Sidecar Skills
Write skills in Python, Rust, Node, or Go. GoClaw auto-discovers them and routes tool calls seamlessly.
๐Ÿ“ก
Multi-Channel
One agent, many inboxes. Telegram, Discord, WhatsApp, Slack โ€” all share the same memory and context.
๐ŸŒ
Browser Control
Chromedp/CDP integration. Navigate, click, fill forms, screenshot, and scrape from natural language.
๐Ÿค–
Agentic Loop
Full tool-call loop up to N iterations. Works with Anthropic, OpenAI, Gemini, and local Ollama.
Channels

One agent, every platform

Chat from Telegram, reply from Discord โ€” the same agent, the same memory, everywhere you already are.

Stable
Telegram
Bot API long-polling
Stable
Discord
Bot token, mention + DM
Stable
WhatsApp
Via wa-bridge sidecar
Stable
WebChat
Built-in WebSocket UI
Beta
Slack
Socket Mode + Events API
Beta
Signal
signal-cli bridge
Planned
iMessage
macOS via BlueBubbles
Planned
MS Teams
Bot Framework v4
Planned
Matrix
matrix-nio bridge
Planned
Google Chat
Workspace Events API
Planned
Zalo
Zalo Official API
Planned
Line
Messaging API
Architecture

One control plane

A WebSocket gateway at the center, all components connected via an in-process event bus โ€” no unnecessary microservices.

architecture.txt
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚               CHANNELS                          โ”‚
โ”‚  Telegram โ”‚ Discord โ”‚ WhatsApp โ”‚ Slack โ”‚ ...     โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                   โ”‚  events.Bus (in-process)
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚            GATEWAY :18789                         โ”‚
โ”‚   WebSocket ControlUI โ”‚ REST API โ”‚ Auth          โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
       โ”‚                               โ”‚
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”       โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚     LLM AGENT        โ”‚       โ”‚  SKILLS MANAGER    โ”‚
โ”‚  Anthropic/OpenAI  โ”‚โ—„โ”€โ”€โ”€โ”€โ”€โ–บโ”‚  Built-ins + gRPC  โ”‚
โ”‚  Google / Ollama   โ”‚       โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜                โ”‚
       โ”‚                     โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”          โ”‚   SIDECAR SKILLS   โ”‚
โ”‚     MEMORY        โ”‚          โ”‚  Python/Rust/Node  โ”‚
โ”‚  daily-YYYY-MM-DDโ”‚          โ”‚  gRPC :50051+      โ”‚
โ”‚  longterm.md     โ”‚          โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
โšก
Goroutine-native
Each channel runs in its own goroutine. The bus dispatches to subscribers concurrently.
๐Ÿ”’
No shared state
Components talk only via the bus or explicit calls โ€” never shared variables.
๐Ÿ“
Filesystem-first
Plain Markdown files. No migration headaches and trivially easy to edit by hand.
๐ŸŒ
Language-agnostic
The gRPC contract is the only interface. Skills can be in any language.

Built by developers, for developers

What the community is saying about GoClaw.

"

Replaced my whole janky Node.js + pm2 + docker compose setup with a single 12MB binary. Running on a $4 VPS, idle at 18MB RAM. Absolutely unreal.

๐Ÿง‘โ€๐Ÿ’ป
@r0bkr
Backend Engineer
"

The gRPC sidecar system is genius. I wrote my Notion skill in Python in 20 minutes. GoClaw just picked it up and the LLM started using it immediately.

๐Ÿ‘ฉโ€๐Ÿ”ฌ
@mxlima
ML Engineer
"

Memory system is so underrated. Just plain Markdown files I can edit in vim. No database migrations, no vector embeddings. Just files. Perfect.

๐Ÿง”
@thenarcist
SRE / DevOps

Ready to deploy your agent?

Get started in under 5 minutes. Single binary, no dependencies, runs everywhere.