whip README

The project's README from github.com/context-labs/whip. As one markdown file: README.md.


WhipCode logo
WhipCode

A coding agent built for work that doesn’t fit in one context window.

Apache 2.0 license Desktop beta

Quickstart · What is this? · How it works · Benchmarks · Development

WhipCode Desktop with a conversation, three working subagents, and an execution trace timeline side by side

Quickstart

Download Desktop Beta — Apple Silicon · macOS 14 or newer.

Use a release built after the clean-project reset; old Desktop releases are not an upgrade path.

  1. Download whipcode-desktop-darwin-arm64.dmg, open it, and drag Whip Beta into Applications.
  2. Launch it and choose Set up this Mac if prompted. The app includes its matching backend; no separate CLI installation is needed.
  3. Connect a model provider, open your project, and describe what you want to do.

Bring an API key or use a supported subscription login. Provider access is separate from installing WhipCode. See providers and authentication.

Prefer the terminal? Install the standalone CLI on macOS or Linux:

curl -fsSL https://raw.githubusercontent.com/context-labs/whip/main/install.sh | sh
whipcode

For an exact version, use the release's install.sh command from its notes—no version environment variable is needed for releases with the two-script split. The companion latest.sh always selects stable v1+, never an alpha.

The new CLI track starts at v1.0.0-alpha.N. Prerelease installation is explicit; default stable installation becomes available with v1.0.0. Existing internal installs must follow the manual reset checklist, not upgrade in place.

Desktop-managed installations update through Desktop; standalone CLI installations use whipcode update. Setup and upgrades →

For the web client, start the daemon with whipcode daemon start, then run whipcode web. It opens your browser and stays running as a separate gateway; Ctrl+C stops web access, not daemon work. Ordinary daemon and Desktop startup open no web listener. See web access for --no-open, managed startup, and trusted-network configuration.

What is this?

WhipCode is an open-source coding agent with a Desktop app, terminal UI, and web client. A shared daemon owns the work, so closing a window doesn’t end the session.

How it works

  1. Describe the task. Give an agent a goal and the context it needs.
  2. Let it work. A recursive language model (RLM) loop uses short Starlark or JavaScript programs to inspect context, call tools, and delegate—not just a growing chat transcript.
  3. Inspect and steer. Follow the trace, send another instruction, or reconnect later. The daemon keeps session state independent of the UI.

Explore the runtime →

Benchmarks

WhipCode solved 20 of 30 tasks (66.7%) in a retained Frontier evaluation: 21 Terminal-Bench tasks and nine code-repository tasks.

Supplied Frontier comparison plotting pass rate against reported cost, including WhipCode, Codex, Claude Code, and other harnesses; methodology and cost limitations below

Read the comparison with context: providers and execution environments differ. The supplied chart’s $2.60 WhipCode point and cost-axis definition are not yet reconciled with the retained reports; this is not a matched cost comparison or an official leaderboard ranking. Results, sources, and limitations →

Development

Requires Go 1.27+, Node.js 24, and Task.

git clone --branch main https://github.com/context-labs/whip.git
cd whip
npm ci
task generate
task build

task generate prepares the ignored protocol artifacts and SDK. Rerun it after protocol changes or switching branches; rerun npm ci first when dependencies change. This builds locally without replacing an installed app or restarting its daemon. See the development and setup guide, Desktop guide, and contributor checks.

Documentation · Architecture · Frontend · Evaluations

License & contributing

Apache-2.0. Issues and pull requests are welcome—start with CONTRIBUTING.md.

whip (context-labs/whip)

Searching Database…

What is this?whip is a fast coding-agent harness written in Go: an LLM runs a tool-use loop (bash, read, write, edit, subagent) inside an interactive bubbletea terminal session to work on your code.
How is it different from other coding agents like opencode or codex?It is a single Go binary with no runtime and a readable config. whip cherry-picks the best ideas from pi, opencode, codex, and exo into one opinionated harness instead of inventing its own patterns.
How do I install and start it?Install a checksum-verified prebuilt binary (Linux/macOS, x64/arm64) or build from source with Go 1.27 or newer, then just run whip. ctrl+c once interrupts, twice quits; whip update upgrades you later.
Do I need API keys, and which models can it use?No runtime or per-model config needed: any OpenAI-compatible endpoint works as a provider. whip defaults to inference.net models, and one command wires up OpenRouter's whole catalog, browsable via /model.
Is there a Windows build?Prebuilt binaries ship only for Linux and macOS (x64/arm64), so Windows users have to compile from source themselves, which requires Go 1.27 or newer.
Why is it built for open-source models?whip bets on a future where open-source models are the preferred ones. Since keeping up with them is hard, it discovers models live from every provider's catalog, surfaces new ones in the picker, and keeps a fast default tracking the frontier.
Can I use my ChatGPT/Codex subscription instead of an API key?Yes. Run whip auth codex and approve the one-time code — the account's Codex models appear in /model right away. /usage shows rate-limit windows, the login is stored in ~/.codex/auth.json, and expiring tokens refresh locally.
How do I add MCP servers?Drop a .mcp.json file in your repo and the servers just appear — /mcp lists what is connected. Browser and computer-use tooling is covered in the docs as well.
What tools can the agent run?bash, read, write, edit, and subagent. Tool calls run in parallel with everything streamed, and background subagents are compiler-checked Go primitives (channels instead of hand-rolled promises).
Why is whip fast?Speed is its core design constraint: it is written in Go with parallel tool calls and full streaming, so there is nothing between you and the model but a loop.
Size
68.2 MB
Stars
963
Age
3mo
Commits · 90 Days