local-first · open source · Apache 2.0

Build in parallel.
Stay in control.

A local workspace for Codex, Claude Code and OpenCode. Every task runs in its own worktree, and nothing merges until you say so.

Download for macOS

Also on Windows and Linux

works withCodexClaude CodeOpenCode

Agents do the work.
You keep the decisions.

Quick fixes or planned work

Quick tasks answer a question or make a focused change in place. Work tasks get their own branch, and you decide whether to review each step or only the end result.

QuickWorklocal checkout · main
Ask a question or make a focused change in the current checkout.

Local-first, with memory you host

Tasks, diffs and project memory live on hardware you control. Completed work feeds future tasks, embedded locally with Ollama or stored in your own Postgres.

PROJECT MEMORYon
backendpglite + pgvectorembeddingsollama · on this hostentries128
indexing “Split the API handlers”

Stack follow-ups

Queue dependent tasks. Each waits for its parent, then builds on what it delivered.

Build the APIWorking
Add the frontendQueued
Write the testsQueued

Watch it run

Live output, tool calls, tokens and cost for every task. Come back when it needs you.

Add provider usage limitsWORKRunning
Elapsed 4sTokens 1.2kCost $0.0050
OutputChanges 0Issues
message 1tool_use 0tool_result 0
messageI’ll add workspace usage limits and keep provider data behind the account bridge.
Writing a response…

Local analytics

Tokens, cost, task outcomes and code churn across every agent and model, computed from your own task history.

ANALYTICS7d30dThis monthAll
TOKENS1.8M
COST$14.20
TASKS23
AVG WORK6m 12s
InputCachedOutputon this host

Reach it from anywhere

Anvil is a client and a server. The server runs your agents and Git on the host; the desktop app or any browser on your LAN or Tailscale connects to it as a client.

anvil serveryour host · :4780
agentscodex · claude · opencodegitrepos, branches, mergesdatatasks, diffs, memory
Desktopsame machinestreaming
BrowserLANconnected
BrowserTailscaleconnected

A workspace per context

Keep personal and work apart. Each workspace has its own projects, agent accounts and subscriptions, credentials, history, settings and memory. Switch in one click.

WORKSPACESPersonalWork
Personal
accountChatGPT · Codexprojectsanvil, dotfilestasks128
Weekly74% left

Get Anvil

Free and open source. Download the app, or run the server yourself.

~/code
$ brew install --cask lucaspiritogit/tap/anvil