freshcrate
Skin:/
Home > MCP Servers > crab-code

crab-code

🦀 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.

Why this rank:Strong adoptionRecent releaseHealthy release cadence

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.

README

Crab Code

Open-source alternative to Claude Code, built from scratch in Rust.

Rust License CI PRs Welcome

English | 中文


Active Development — 4500+ tests · 24 crates · ~140k 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 / Ollama / Bedrock / Vertex, etc.).

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: ~/.crab/settings.json

Comparison

Crab Code Claude Code OpenCode Codex CLI
Open Source Apache 2.0 Proprietary MIT Apache 2.0
Language Rust TypeScript TypeScript Rust
Models Any provider Anthropic Any provider OpenAI only
MCP 3 transports 6 transports LSP 2 transports

Architecture

24 Rust crates in 4 layers. See docs/architecture.md for details.

Entry     cli · daemon
Engine    agent · engine · session · tui · remote
Service   api · tools · mcp · skill · plugin · telemetry · ide · sandbox · job · acp
Foundation core · common · config · auth · fs · memory · process

Build & Test

cargo build --workspace
cargo test --workspace
cargo clippy --workspace -- -D warnings

Contributing

PRs welcome.

License

Apache License 2.0

Release History

VersionChangesUrgencyDate
main@2026-09-07Latest activity on main branchHigh9/7/2026
0.0.0No release found — using repo HEADHigh4/8/2026

Dependencies & License Audit

Loading dependencies...

Similar Packages

h5iNext-Gen AI-Aware Gitv0.4.1
wcgwShell and coding agent on mcp clients5.6.5
open-coworkOpen-source AI agent desktop app for Windows & macOS. One-click install Claude Code, MCP tools, and Skills — with sandbox isolation, multi-model support, and Feishu/Slack integration.v3.3.1
hermes-gate🏛️ Hermes Gate — Terminal TUI for managing remote Hermes Agent sessions with auto-reconnect, detach support, and zero config0.0.0
LeanKGLeanKG: Stop Burning Tokens. Start Coding Lean.v0.30.0

More in MCP Servers

difyProduction-ready platform for agentic workflow development.
tabularisA lightweight, cross-platform database client for developers. Supports MySQL, PostgreSQL and SQLite. Hackable with plugins. Built for speed, security, and aesthetics.
ai-agents-from-zero 🚀 2026 最系统的 AI Agent 速成指南|智能体实战教程 · 完整学习路径 + 实战项目 + 面试题库 · 对标大模型应用开发工程师岗位 · 覆盖LangChain / LangGraph / Coze / Dify / MCP / skills / LLM / RAG / 提示词 · 企业级部署与微调 · 从0到企业级落地 + 从学习到上线项目 + 面试准备一体化
studioOpen-source control plane for your AI agents. Connect tools, hire agents, track every token and dollar