Skip to content

Clew Code Docs

Open-source AI coding agent — local-first, multi-provider, in your terminal.

Clew Code is a terminal-native AI coding agent that routes work across 29+ LLM providers, 76+ built-in tools, persistent SQLite memory, and LAN peer machines — without locking your workflow to one AI.


Getting Started

  • Quick Start — Launch the CLI and start coding in minutes
  • Installation — One-liner, npm, or build from source
  • CLI Reference — Full CLI usage, providers, memory, peers, and config

Key Features

FeatureDescription
29+ ProvidersOpenAI, DeepSeek, Groq, Anthropic, Google, Ollama (local), OpenGateway, and 24 more. Switch mid-session with /model.
Persistent MemorySQLite-backed, MiMo-inspired store with importance ranking, Dream + Distill consolidation.
76+ Built-in ToolsRead, Write, Edit, Grep, Bash, Browser, MCP, peer coordination, ExecAgent, Goal, and more.
LAN Peer SwarmZero-config peer discovery with UDP multicast. Sync memory, delegate tasks, swarm commands.
MCP + Plugins + SkillsModel Context Protocol, lifecycle hooks, SKILL.md, and plugin marketplace.
Background DaemonTask queue, cron scheduling, dead-letter retries, memory maintenance.

All Documentation

Reference

Concepts

Extending

Development


Clew Code — GPL-3.0 Licensed

Released under the GPL-3.0 License.