Crab Code
Description
π¦ Open-source alternative to Claude Code, built from scratch in Rust. Agentic coding CLI β thinks, plans, and executes with any LLM. Compatible with Claude Code workflows.
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
**Open-source alternative to Claude Code, built from scratch in Rust.**
[](https://www.rust-lang.org/) [](LICENSE) [](https://github.com/lingcoder/crab-code/actions/workflows/ci.yml) [](#contributing)
**English** | [**δΈζ**](README.zh-CN.md)
**Active Development** β 4927 tests Β· 25 crates Β· ~161k LOC
Crab Code is a Rust-native agentic coding CLI. It aligns with Claude Code's toolset, permission model, and interaction patterns while supporting any LLM provider (Anthropic / OpenAI / DeepSeek / Bedrock / Vertex).
Quick Start
git clone https://github.com/lingcoder/crab-code.git && cd crab-code
cargo build --release
export ANTHROPIC_API_KEY=sk-ant-...
./target/release/crab # Interactive TUI
./target/release/crab "explain this codebase" # Single-shot
./target/release/crab -p "fix the bug" # Non-interactive
See `crab --help` for more. Config lives at `~/.crab/config.toml` (snake_case TOML); the full loading & merge spec is in [`docs/config-design.md`](docs/config-design.md).
Configuration
Config sources, low β high priority:
defaults < plugin < user < project < local < --config (file layer)
<
env < CLI flag (runtime layer)
- User:
~/.crab/config.toml(or$CRAB_CONFIG_DIR/config.toml) - Project:
$PWD/.crab/config.toml(committed) - Local:
$PWD/.crab/config.local.toml(gitignored) --config: CLI-injected file-c key.path=value: dotted runtime override (T
Related Skills
Agency Agents
A complete AI agency at your fingertips - From frontend wizards to Reddit community ninjas, from whimsy inject
AI Firecrawl
π₯ The API to search, scrape, and interact with the web for AI
AI Artifacts Builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web tech
AI CrewAI
Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewA
AI TrendRadar
βAI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.π― εε«δΏ‘ζ―θΏθ½½οΌδ½ η
AI mem0
| Universal memory layer for AI Agents | 51341 | 221 | 1 |
AI