The studio moved. The agent control room that lived in
apps/studiois now danielrispler/plotkeeper, with its history and open issues (#605).
Falinks is parked. Nobody is developing the engine. The numbers further down this page are projections, and the measured results below did not bear them out.
What it tried. Falinks tested one claim: when two Claude Code agents share one live tree, with stale edits rejected and dependent work rechecked, they finish a task cheaper and faster than agents in separate Git worktrees that merge at the end.
Key results. All runs used Claude Code 2.1.309, claude-opus-5-5 at medium effort, on small Go fixtures.
- No payback (#339, decision). The batch had 24 runs on
go-invoice, all successful. Falinks won on neither cost nor time. Two Git worktrees finished faster: median 251 s against 290 s (p = 0.0035). The batch had enough power to show a 20% advantage, and it showed none. - Step A (decision). Without Falinks, Git's coordination cost was small: a median of 21.6 model seconds, under the 55 s bar. Duplicate work did occur, but 25 of the 26 duplicate pairs were same-package test helpers. The planted change in meaning never caused a combined-check failure in any of the 9 two-agent runs. So the engine track stopped.
What was never tested.
- Larger scale: bigger repositories and longer, multi-ticket work.
- Three or more agents. Every scored run used one or two.
- Rust: whether test and build time dominate parallel-worktree tasks (#497).
- The real-repo pilot idea: running agents on a real project instead of a built fixture.
Open questions stay open with the parked label: parked issues.
Run Claude Code agents side by side on the same repo.
Spend fewer tokens and no time on merge conflicts.
Quickstart · How it works · Benchmarks · FAQ
| tokens¹ Agents stop re-reading and redoing each other's work. −40% cost. |
wall-clock¹ Every agent edits the same live code. No worktrees, no stale copies. |
merge conflicts¹ Overlapping edits are caught the moment they happen, not at merge time. |
¹ Two agents on one task, Falinks vs. separate Git worktrees + merge. Projected from the paired evaluation design; measured results replace these numbers when the benchmark batch finishes.
You start two agents on one feature. One changes an interface. The other keeps coding against the old one.
- Worktrees keep them apart until merge. Then they meet the conflict, re-read everything, and redo the work. You pay for it twice.
- One shared folder lets them see each other, but they overwrite each other's files.
- Asking them to coordinate in chat helps a little. Nothing stops a stale edit from landing.
Falinks sits between your agents and your repo. Every agent works on the same live code, and every edit goes through Falinks.
The same task: two agents add filtering and pagination to one Go HTTP handler.¹
flowchart LR
A[Agent A] -- edit --> F{Falinks}
B[Agent B] -- edit --> F
F -- stale? send current code back --> B
F -- dependency changed --> A
F --> L[(Live code)]
L -- offer a snapshot --> C[Checks in an isolated copy]
C -- pass --> P[Published state]
- Edit. An agent edits the live code. Each edit says which file versions it was based on.
- Guard. If those files changed in the meantime, the edit bounces with the current code. Nothing is overwritten.
- Notify. Falinks uses
rust-analyzerandgoplsto map the change to the functions that use it, and tells only the agents whose work is affected. - Offer. When the work is ready, an agent offers an exact snapshot.
- Publish. Falinks runs your checks on that exact snapshot in an isolated copy. It lands only if they pass.
See a stale edit, step by step
sequenceDiagram
participant A as Agent A
participant F as Falinks
participant B as Agent B
participant C as Checks
A->>F: edit handler.go (based on v1)
F-->>A: accepted, now v2
B->>F: edit handler.go (based on v1)
F-->>B: stale, here is v2
B->>F: same change, rebased on v2
F-->>A: B changed a function you call
A->>F: offer snapshot
F->>C: run checks on that exact snapshot
C-->>F: pass
F-->>A: published
Note
Checks and formatters run sandboxed: no network, and no writes outside their output directory. They use Seatbelt on macOS and Landlock on Linux. If the sandbox isn't available, they fail loudly. They never run unprotected.
cargo install --git https://github.com/danielrispler/Falinks falinksThen, inside the repo you want to work on:
falinks init # pick the files agents may edit and the checks that must pass
falinks run --agents claude,claude # start two agents on the same live code
falinks status # see who is editing what, and what is waiting to landPoint each agent at its task as usual. Falinks gives it the tools it needs to edit, check and publish.
Requirements
- macOS (Apple silicon or Intel) or Linux x86_64 with kernel 6.2 or newer
- Git 2.32 or newer
- Claude Code, signed in
- For Go projects: Go and
goplsonPATH
See supported platforms for the exact matrix.
Build from source
git clone https://github.com/danielrispler/Falinks
cd Falinks
cargo build --release| Shared live workspace | All agents see each other's work as it happens. No worktrees to juggle. |
| Stale-edit protection | Edits based on old code are rejected, never silently merged. |
| Code-aware relevance | Function-level dependency tracking for Rust and Go. |
| Exact publication | What passed the checks is exactly what lands. Half-finished code never becomes the shared starting point. |
| Smart regrouping | Falinks suggests when agents should team up on shared code or split apart. |
| Sandboxed checks | Your tests and formatters run with no network and limited file access. |
| Crash-safe history | Every edit, rejected or not, is attributed and kept. Restarts never lose a draft. |
| Pinned toolchains | Analyzer and compiler binaries are hash-pinned. A swapped binary is detected. |
| macOS (Apple silicon) | macOS (Intel) | Linux x86_64 | |
|---|---|---|---|
| Claude Code | ✅ | soon | soon |
| Engine | ✅ | ✅ | ✅ |
Languages: Rust and Go. Next: Codex, OpenCode, Gemini CLI, Windows via WSL 2. Full matrix in docs/platforms.md.
Three tasks, two agents each, same model and same instructions. The baseline is separate Git worktrees with an ordinary merge.
Full results table
| Task | Setup | Tokens | Time | Multiple |
|---|---|---|---|---|
| Rust: structured errors across a crate | Falinks | 96k | 11 min | 1.00× |
| Worktrees + merge | 168k | 17 min | 1.75× | |
| Go: filtering + pagination, one handler | Falinks | 101k | 13 min | 1.00× |
| Worktrees + merge | 184k | 21 min | 1.82× | |
| Go: contract change mid-task | Falinks | 122k | 15 min | 1.00× |
| Worktrees + merge | 231k | 26 min | 1.89× |
Projected¹. Every run must pass an independent hidden test suite to count. Harness and fixtures: evaluation/.
How is this different from Claude Code agent teams?
Agent teams share tasks and messages. Their docs warn that two teammates editing one file overwrite each other, and recommend giving each agent separate files. Falinks lets them share files safely. It rejects stale edits and rechecks dependent work when a change lands.
Why not just use Git worktrees and a merge queue?
Worktrees hide conflicts until merge, so agents build on assumptions that are already outdated. A merge queue checks the combined result, but only at the end, after the tokens are spent. Falinks catches the conflict when the edit happens.
How is this different from GitButler?
GitButler gives each agent its own branch inside one working folder. Routing changes to the right branch is still the agent's job, and hidden dependencies between branches go unchecked. Falinks tracks code dependencies and rechecks the work they affect.
Does my code leave my machine?
Falinks itself does not. It runs locally and its checks have no network access. Your agents still talk to their model providers as usual.
When should I not use Falinks?
When you run one agent. When agents work on unrelated repos. When your project isn't Rust or Go yet. In those cases a plain checkout is simpler.
Important
Falinks is pre-1.0. The engine, the Claude Code adapter and the evaluation harness exist today and are tested on macOS. Commands and on-disk formats may still change.
Issues and ideas are welcome. Start with CONTRIBUTING.md. The engine design is in docs/engine.md. Report security issues privately.
Dual-licensed under MIT or Apache-2.0, at your option.