CodeWhale
by
Hmbown

Description: Open-source, community-driven agent harness

View on GitHub ↗

Summary Information

Updated 2 hours ago
Added to GitGenius on May 11th, 2026
Created on January 19th, 2026
Open Issues & Pull Requests: 375 (-2)
Number of forks: 3,411
Total Stargazers: 39,560 (+5)
Total Subscribers: 155 (+0)

Issue Activity (beta)

Open issues: 397
New in 7 days: 127
Closed in 7 days: 61
Avg open age: 12 days
Stale 30+ days: 100
Stale 90+ days: 0

Recent activity

Opened in 7 days: 121
Closed in 7 days: 61
Comments in 7 days: 233
Events in 7 days: 1,477

Top labels

  • enhancement (1,193)
  • bug (801)
  • documentation (440)
  • tui (205)
  • reliability (190)
  • v0.9.0 (143)
  • ux (119)
  • v0.8.69 (106)

Repository Insights (GitGenius)

Median issue/PR response: 0.0 hours
Mean response time: 3.1 hours
90th percentile: 0.4 hours
Tracked items: 1,941

Most active contributors

Detailed Description

CodeWhale is an open-source terminal coding agent written in Rust that enables users to point a language model at a software project and have it autonomously read code, make edits, run commands, check results, plan multi-step tasks, and correct itself when failures occur. The project began as deepseek-tui, a coding harness built specifically around DeepSeek workflows, but evolved into a multi-provider platform after the developer community, particularly in China, adopted it and contributed fixes that revealed the harness's broader potential. The repository is classified across multiple domains including terminal interface, chatbot, AI assistant, DeepSeek integration, natural language processing, command line tool, interactive chat, text-based UI, language model, and user prompt handling.

CodeWhale operates as both a TUI (terminal user interface) and CLI tool, with installation available through npm for Node 18 and above, cargo for Rust 1.88 and above, or prebuilt archives for every platform including Linux riscv64. The project maintains strong community engagement, with GitGenius tracking 1937 total issues and pull requests across its history. The median response latency for issues and PRs is 0.0 hours with a mean of 3.1 hours, indicating rapid community responsiveness. The most active contributor, Hmbown, has logged 8424 events, while secondary contributors AiurArtanis and aboimpinto have contributed 43 and 42 events respectively. The most frequently used issue labels are enhancement with 1189 items, bug with 798 items, and documentation with 437 items, reflecting the project's focus on feature development and code quality.

The platform supports an extensive roster of language model providers, treating DeepSeek and open-weight models as first-class citizens while also offering full support for Claude, GPT, Kimi, and GLM through the same unified runtime. Users can point local vLLM, SGLang, or Ollama instances at their LAN without requiring API keys. CodeWhale resolves a real route—a concrete endpoint, wire protocol, model ID, context limit, and price—rather than simply swapping base URLs, enabling route-aware context budgets, honest cost display, and explicit wire protocol handling. The provider registry is documented in docs/PROVIDERS.md and includes hosted open models from deepseek, openrouter, huggingface, moonshot, and numerous others, plus self-hosted options and native adapters for anthropic and openai-codex.

Fleet is CodeWhale's durable control plane for multi-worker runs, recording work in an append-only ledger at .codewhale/fleet.jsonl so tasks survive manager exits, laptop sleep, or runtime restarts. Workers are shaped by roles, profiles, loadouts, and slots, with loadouts expressing model intent as strong, balanced, or fast classes that the route resolver translates into concrete provider and model selections.

Safety is architected into the product through three operational modes—Plan for read-only investigation, Agent for execution with per-action approval, and YOLO for auto-approval—switchable via Tab or /mode command. A .codewhale/hooks.toml hook system gates tool calls, and OS-level sandboxing via Seatbelt on macOS, Landlock plus seccomp on Linux, and bubblewrap where available prevents unintended system modifications. Side-git snapshots enable rollback of agent actions without touching the repository's real git history.

The agent maintains a persistent goal loop where users set objectives with /goal and the agent continues working across turns until completion, blockage, or user intervention. Sessions persist across restarts and system sleep, supporting tasks requiring dozens of tool calls. Headless mode via codewhale exec supports scripts and CI with configurable tool allowlists, denylists, turn limits, and system prompt appending. The project supports MCP bidirectionally, consuming tools from external MCP servers or exposing CodeWhale itself as an MCP server. Reusable workflows called Skills can be loaded from ~/.codewhale/skills/, and the platform is embedded across HTTP/SSE and ACP runtime APIs, VS Code extensions, and Telegram and Feishu bridges.

CodeWhale
by
HmbownHmbown/CodeWhale

Repository Details

Fetching additional details & charts...