-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Nattapong Tapachoom edited this page Jun 20, 2026
·
4 revisions
The open-source AI coding agent — in your terminal and on your LAN.
Clew Code is a multi-provider AI coding CLI that works with 27 AI providers, remembers your preferences across sessions, coordinates across machines on your LAN, and runs autonomously — all on your own hardware.
# Install
curl -fsSL https://raw.githubusercontent.com/ClewCode/ClewCode/main/scripts/install.sh | bash
# Run in any project
cd my-project
clew| Feature | Why it matters |
|---|---|
| 27 providers | Not locked into one API. Switch between OpenAI, DeepSeek, Groq, Ollama (local), and 23 more — mid-session. |
| Persistent memory | Remembers your project context, preferences, and decisions across sessions. SQLite-backed, importance-ranked. |
| LAN peer swarm | Multiple machines coordinate as one. Send tasks, sync memory, run shell commands on all peers in parallel. |
| Local-first | Your API keys, your hardware. No cloud dependency. Works fully offline with Ollama. |
| 75+ built-in tools | Read, Write, Edit, Grep, Bash, Browser, MCP, peer coordination, and more. |
| MCP + plugins + skills | Extend with external tools, community plugins, or custom skills without touching source. |
# First run
clew
# Pick a provider (inside the REPL)
> /provider openai
> /model gpt-5.5
# Or go local with Ollama
> /model ollama/llama3.3
# One-shot mode
clew -p "summarize CHANGELOG.md"
# Resume last session
clew --resume last- Installation — One-liner, npm, or build from source
- Quick-Start — First run, in-session commands, one-shot mode
- Providers — All 27 providers and their environment variables
- Commands — 100+ slash commands reference
- Features — Full feature overview
- Concepts-Agents-Subagents-Peers — Architecture, execution layers
- Memory-System — MiMo-inspired memory with Dream + Distill consolidation
- Peer-to-Peer — LAN discovery, swarm execution, message broker
- Profiles-Coding-vs-Personal — Command center mode with delegation
- Development — Building, testing, project layout
- Contributing — Good first issues, release process
Clew Code — GPL-3.0 Licensed.
Clew Code — GPL-3.0 Licensed. Fork of Claude Code (Anthropic).