← Back to Leaderboard
Ccodewhale-hq

codewhale-hq/Codewhale

Rust coding agent with swappable models, sandboxed execution, and turn receipts

Engineering Health (Methodology)
A+ · 98/100
Maintenance Activity
● Updated today
Latest Release
v0.10.4
Commercial License Check
MIT · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption23/25
Release Cadence20/20
License Clarity20/20
DockerCLISelf-HostedLocal AIMCPAPI1 README badge views (30d)
Total Stars
★ 41,212
24h Growth
+3
7d Growth
+38
Forks
3,585

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

codewhale-hq/Codewhale Star History (2026-01-19 - 2026-12-04) ALL-TIME STAR HISTORY (2026-01 – 2026-12) +41.2k in 319d · avg +129/day 43.5k 21.8k 0 2026-01-19: ★ 12026-02-14: ★ 92026-03-07: ★ 182026-03-28: ★ 262026-04-18: ★ 272026-05-09: ★ 22,0942026-05-30: ★ 34,5262026-06-20: ★ 37,3812026-07-11: ★ 38,4922026-08-01: ★ 39,2622026-08-22: ★ 40,0482026-09-12: ★ 40,3512026-10-03: ★ 40,5822026-10-24: ★ 40,8402026-11-13: ★ 41,0372026-12-04: ★ 41,212 ★ 41.2k 2026-01 2026-06 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

Codewhale is a Rust coding-agent runtime with several front ends sharing one engine. codewhale runs the interactive terminal UI, codewhale exec runs a single headless task, and codewhale web binds to 127.0.0.1. The HTTP app server exposes threads, events, approvals, and per-turn diffs; codewhale serve --acp speaks Agent Client Protocol over stdio for editors such as Zed. The VS Code extension is community-maintained.

The Cargo workspace separates crates/engine and crates/runtime from the CLI, TUI, and app-server protocol. Separate model, tool, MCP, plugin, execution-policy, and sandbox crates distinguish model selection and tool integration from command enforcement. MCP servers, skills, plugins, and lifecycle hooks extend what an agent can do. The experimental execute_tools path batches MCP and plugin calls without replacing the configured approval rules.

Key Capabilities & Differentiators

Codewhale supports 50+ built-in providers, including Anthropic, OpenAI, DeepSeek, and Google, as well as OpenAI-compatible endpoints and local backends through Ollama, vLLM, or SGLang. DeepSeek Flash is the default. /model changes models within a session, /model auto routes each turn, and /turn inspect exposes latency and cost details; unknown pricing is not presented as zero cost.

/goal carries objectives across turns; sub-agents, role- and model-specific Fleets, and repository-checked workflows give teams different ways to delegate or repeat work. Turn receipts record file changes, commands, web and MCP calls, sub-agents, approvals, and failures. /undo reverts the last turn's workspace changes; /restore can recover an older workspace snapshot with /trust on or Full Access. Treat that as workspace recovery, not a guarantee that external actions are reversible.

Trade-offs & Limitations

If a team already works in Claude Code, evaluate Codewhale for the things that would justify migration: switching between hosted and local providers, role-specific model assignment, and turn-level audit and recovery. /import handles Claude Code settings and MCP servers, while reading CLAUDE.md is opt-in. Neither establishes parity for hooks, plugins, or permissions. More model choices also mean more configurations to test for tool behavior, latency, and cost.

Default Accept Edits permits in-repository edits and gates shell commands according to policy; Ask prompts on every edit and command, and Plan is read-only. Auto-Review adds rules and a reviewer model, but does not replace the OS sandbox. Where available, Ask, Accept Edits, and Auto-Review use Seatbelt on macOS or bubblewrap on Linux. Windows has no OS sandbox, and Full Access disables it. In CI, exec --auto uses Full Access unless sandboxed, so evaluate the job's credentials and workspace isolation explicitly rather than assuming interactive defaults carry over.

Hardware & Deployment Guide

Prebuilt binaries cover Linux, macOS, and Windows on x64 and arm64. The npm package wraps release binaries; cargo install codewhale-cli --locked builds from source and can lag GitHub Releases. The multi-stage Dockerfile targets linux/amd64 and linux/arm64, with a persistent configuration volume mount at /home/codewhale/.codewhale. Inject provider keys at runtime, not at build time. For team rollouts, match the installation guide to the pinned version because guides on main can run ahead of releases.

Hosted API use does not require a local inference GPU. With a local backend, size the inference host for the selected model, context length, and concurrency, including Fleet fan-out. Local inference alone does not make the setup offline: account for aggregate telemetry, GitHub update checks, the public model catalog refresh, and enabled external tools. v0.10.3 unified the plugin interface and expanded Auto-Review workspace handling; v0.10.4 fixed duplicate paste in Windows Terminal and an updater rejection triggered by an unrelated Cargo install.

Integration: one Rust engine backs the terminal UI, headless CI runner, local HTTP Runtime API, and ACP over stdio.
Model routing: 50+ built-in providers, OpenAI-compatible endpoints, and local runtimes; /model auto routes per turn.
Audit and recovery: /receipts logs tool activity and approvals; /undo reverts the last turn and /restore can recover an earlier workspace snapshot with elevated trust.
Orchestration: /goal carries objectives across turns; Fleets coordinate agents assigned distinct roles and models.
Permission boundary: Seatbelt on macOS and bubblewrap on Linux where available; no Windows OS sandbox, and Full Access disables sandboxing.
Extensibility: MCP, skills, lifecycle hooks, and plugins; experimental execute_tools batches calls under existing approval rules.
Best For

Teams that want the same coding agent in the terminal and CI, need to mix local and hosted models, and want to review agent actions before accepting changes.

Skip If

You require an OS sandbox on Windows, need drop-in behavioral parity with Claude Code, or cannot validate model quality and tool permissions before enabling unattended runs.

Reviewed on 2026-12-03 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

DockerCLISelf-HostedLocal AI
curl -fsSL https://codewhale.net/install.sh | sh

Comparison vs. Top Coding, Skills & MCP Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
Codewhale ★41.2k+38RustMITRust coding agent with swappable models, sandboxed execution, and turn receipts
openinterpreter69k+65RustApache-2.0A Rust coding CLI with swappable harnesses for low-cost models
oh-my-pi40.5k+483TypeScriptMITA Bun/Rust terminal agent for model-flexible coding with LSP and editor integrat
goose57.3k+219RustApache-2.0Rust coding agent with MCP tools and local or hosted models, embeddable via ACP

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/codewhale-hq/Codewhale.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

codewhale-hq/Codewhale Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about Codewhale

Which interface should I use to integrate Codewhale?

Use codewhale serve --acp for an editor that speaks Agent Client Protocol over stdio. Use codewhale app-server --http for a local integration that needs threads, events, approvals, and per-turn diffs. MCP serves a different purpose: it lets the agent call tools exposed by external servers.

Do I need a GPU, and how much VRAM should I budget?

A hosted provider does the inference remotely, so Codewhale does not need a local GPU for that model. With Ollama, vLLM, or SGLang, size the inference host for the model, context length, and concurrent requests. The demonstrated Ollama qwen3:4b session is a compatibility example, not a minimum hardware specification or evidence of fleet throughput.

Can my company use or redistribute Codewhale in a self-hosted setup?

The code is MIT-licensed and can be used commercially or self-hosted, subject to the license notice requirements. Review THIRD_PARTY_NOTICES.md and the separate terms for models, hosted providers, plugins, and MCP servers. If policy restricts egress, disable telemetry, update checks, and catalog refreshes as appropriate, then verify the behavior of every enabled integration.

When should I choose Codewhale over Claude Code?

Choose Codewhale if you need to switch between hosted and local model backends or want turn receipts and workspace rollback in the same CLI. Its /import can bring across Claude Code settings and MCP servers, and CLAUDE.md import is opt-in. Treat that as a migration aid, not feature parity: validate hooks, plugin behavior, and approval modes before standardizing on it.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining codewhale-hq/Codewhale? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature codewhale-hq/Codewhale on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare