whip README

README проекта с github.com/context-labs/whip. Одним файлом markdown: 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)

Ищем в базе…

Что это такое?whip — это быстрая оболочка для кодинг-агента, написанная на Go: LLM работает в цикле использования инструментов (bash, read, write, edit, subagent) внутри интерактивной сессии в терминале на bubbletea, чтобы работать с вашим кодом.
Чем он отличается от других кодинг-агентов вроде opencode или codex?Это один бинарник на Go без рантайма и с понятным конфигом. whip берёт лучшие идеи из pi, opencode, codex и exo и собирает их в одну цельную оболочку вместо того, чтобы изобретать собственные паттерны.
Как его установить и запустить?Установите готовый бинарник с проверкой контрольных сумм (Linux/macOS, x64/arm64) или соберите из исходников с Go 1.27 или новее, затем просто запустите whip. Одно нажатие ctrl+c прерывает работу, два — выходят; whip update обновит его позже.
Нужны ли мне API-ключи и какие модели он может использовать?Рантайм и настройка под каждую модель не нужны: в качестве провайдера подойдёт любой эндпоинт, совместимый с OpenAI. По умолчанию whip использует модели inference.net, а одной командой подключается весь каталог OpenRouter, который можно смотреть через /model.
Есть ли сборка под Windows?Готовые бинарники поставляются только для Linux и macOS (x64/arm64), так что пользователям Windows придётся компилировать из исходников самостоятельно, а для этого нужен Go 1.27 или новее.
Почему он заточен под open-source модели?whip ставит на будущее, в котором предпочтение будет за open-source моделями. Поскольку за ними трудно уследить, он подхватывает модели на лету из каталога каждого провайдера, показывает новые в меню выбора и держит быструю дефолтную модель, идущую в ногу с передним краем.
Могу ли я использовать свою подписку ChatGPT/Codex вместо API-ключа?Да. Запустите whip auth codex и подтвердите одноразовый код — модели Codex этого аккаунта сразу появятся в /model. /usage показывает окна лимитов, логин хранится в ~/.codex/auth.json, а истекающие токены обновляются локально.
Как добавить MCP-серверы?Положите файл .mcp.json в свой репозиторий — и серверы просто появятся; /mcp показывает, что подключено. Инструменты для браузера и computer-use тоже описаны в документации.
Какие инструменты может запускать агент?bash, read, write, edit и subagent. Вызовы инструментов идут параллельно со полной стриминговой передачей, а фоновые сабагенты — это примитивы Go с проверкой компилятором (каналы вместо самописных промисов).
Почему whip такой быстрый?Скорость — его основное проектное ограничение: он написан на Go с параллельными вызовами инструментов и полным стримингом, поэтому между вами и моделью нет ничего, кроме цикла.
Какие есть похожие проекты?Baize, building-a-coding-agent-from-scratch-course, jcode, maki, magpie, SystemOneHarness, octomind, Rapid-MLX
Автор
context-labs
Размер
68.2 MB
Звёзды
963
Возраст
3 мес
Коммиты · 90 дней