mirror of
https://github.com/YspCoder/clawgo.git
synced 2026-04-13 20:28:58 +08:00
8bbefbe9ae2e3543bc751423c50fae554668ef72
ClawGo is a tiny but mighty AI assistant written in Go. Inspired by nanobot, it was refactored from the ground up to run on almost anything—from high-end servers to $10 RISC-V boards.
🚀 Why ClawGo?
- 🪶 Tiny Footprint: <10MB RAM usage. Runs where Node.js and Python fear to tread.
- ⚡ Instant Boot: Starts in <1 second. No heavy runtime warmup.
- 💰 Ultra-Low Cost: Perfect for $10 SBCs like LicheeRV Nano or Orange Pi Zero.
- 🔌 Plug & Play: Single binary. No complex dependencies.
- 🧩 Skill System: Extend capabilities with
clawhub,coding-agent, and more. - 🔐 Unified Interface: Mandatory use of CLIProxyAPI as the upstream proxy.
🏁 Quick Start
1. Initialize
clawgo onboard
2. Configure CLIProxyAPI Ensure CLIProxyAPI is running.
clawgo login
3. Chat!
clawgo agent -m "Hello! Who are you?"
📦 Skills System
ClawGo isn't just a chatbot—it's an agent that can use tools.
Manage Skills:
# List installed skills
clawgo skills list
# List builtin skills
clawgo skills list-builtin
# Install a specific skill (e.g., weather)
clawgo skills install-builtin
Featured Skills:
- coding-agent: Run Codex/Claude for autonomous coding tasks.
- healthcheck: Security auditing and host hardening.
- video-frames: Extract frames from video using ffmpeg.
- clawhub: Manage skills from the community.
💬 Connect Channels
Run clawgo gateway to turn ClawGo into a 24/7 bot on your favorite platform.
| Channel | Status | Setup |
|---|---|---|
| Telegram | ✅ Ready | Bot Token |
| Discord | ✅ Ready | Bot Token + Intents |
| ✅ Ready | AppID + AppSecret | |
| DingTalk | ✅ Ready | Client ID + Secret |
Configure channels in ~/.clawgo/config.json.
🛠️ Installation
Build from Source
cd clawgo
make deps
make build
make install
📊 Comparison
| Feature | OpenClaw (Node) | NanoBot (Python) | ClawGo (Go) |
|---|---|---|---|
| RAM Usage | >1GB | >100MB | < 10MB |
| Startup Time | Slow (>5s) | Medium (>2s) | Instant (<0.1s) |
| Binary Size | N/A (Source) | N/A (Source) | Single File (~15MB) |
| Architecture | x86/ARM | x86/ARM | x86/ARM/RISC-V |
📜 License
MIT License. Free and open source forever. 🦐
Languages
Go
97%
Python
1.1%
Makefile
0.7%
Shell
0.7%
TypeScript
0.3%
Other
0.1%