Rust command-line coding agent (claw) kept up by AI agents
open sourceMITfree
Claw Code is a command-line coding agent, the claw CLI, written in Rust. It runs an interactive session in your repository with file, search and shell tools behind permission modes, sessions you can resume, MCP tools, an LSP client, plugins and local skills, and a /doctor health check. It talks to Anthropic's API by default and to OpenAI-compatible endpoints (OpenRouter, Ollama), xAI and DashScope through model prefixes. Its makers describe the repository as an agent-managed exhibit rather than a production product: AI harnesses plan, write and maintain it, and they point people who want to get work done to LazyCodex or Gajae-Code.
Problems it solves
- run an open source terminal coding agent written in Rust against my own Anthropic or OpenRouter key
- use a coding agent from the terminal with a local Ollama model
- try a command-line coding agent that I can build and read the source of
Features
- interactive coding-agent REPL with file, grep, glob and shell tools
- permission modes, from read-only inspection upward
- resumable sessions, MCP tools, an LSP client, plugins and local skills
- Anthropic API by default; OpenAI-compatible, OpenRouter, Ollama, xAI and DashScope models by prefix
Limitations
Alternatives
The same job
These do what Claw Code does.
- Claude Code An agentic coding tool that reads your codebase, edits files, runs commands, and integrates with your development tools
- Qwen Code Open source AI coding agent for the terminal, editor, desktop, browser and chat
- OpenCode The open source coding agent.
- Codewhale Open source terminal coding agent for any model
- Kilo Code The open source coding agent for building with AI in VS Code, JetBrains, or the CLI
- Kimi Code CLI Moonshot AI's open source terminal coding agent
