One Beads tracker for every agent: beads-cloudflare is open source
Beads gives coding agents a dependency-aware task list. Most of my projects run on Cloudflare, so I wanted its tracker available there remotely: beads-cloudflare is a backend for upstream bd that keeps the tracker in one store in your own Cloudflare account.
I What Beads does for agents
Beads gives coding agents a task list they can reason about. Work items form a dependency graph, so bd ready returns only tasks without open blockers, and bd update <id> --claim sets assignee and status in one atomic step. IDs are short hashes such as bd-a1b2, so agents on different branches never hand out the same number, and every command can answer in JSON. Old closed tasks are compacted into summaries, so they stop filling the context window.[1]
Underneath sits Dolt: a SQL database with Git-style versioning, including branches and merges down to single cells.[1]
II Why I wanted the tracker on Cloudflare
Dolt is a good fit for Beads. In the default embedded mode it runs inside bd, each clone keeps the full versioned history in .beads/embeddeddolt/, it works offline, and machines exchange changes with bd dolt push and bd dolt pull through the Git remote, the way code moves. Teams that want several writers at once run an external dolt sql-server.[1]
My own setup looks different. Most of my projects run on Cloudflare, and my agents work at the same time on a laptop, on build hosts, in cloud sandboxes and in CI. I wanted all of them to see one current task list, and a claim on one machine to count on every other one at once, without a copy per device to keep in sync and without a database server to host. So my personal challenge was to make the Beads tracker available remotely, on Cloudflare.
| Dolt embedded (default) | Dolt server | beads-cloudflare | |
|---|---|---|---|
| Where the tracker lives | A Dolt copy in every clone | One Dolt database on a server you run | One SQLite database in a Durable Object, in your Cloudflare account |
| Works offline | Yes | Needs the server | Needs the store, over HTTPS |
| History | Versioned, with branches and cell-level merges | Versioned, with branches and cell-level merges | An event log of changes; no branches |
| Concurrent writers | One per copy | Many | Many |
| Changes from other machines | After bd dolt pull | Live | Live |
| What runs, and who runs it | Dolt inside every bd; you run the sync | dolt sql-server; you host, expose and back it up | A Cloudflare Worker and its Durable Object, optionally R2 for backups; init deploys them and Cloudflare operates them |
Which one fits depends on how and where you work; beads-cloudflare is one more option for teams that already build on Cloudflare.
III How beads-cloudflare works
beads-cloudflare keeps upstream bd and replaces only its storage. The installed bd is upstream Beads plus a backend that speaks Beads’ own HTTP contract (the /v0 API of bd serve) to a Worker in your account. Behind it, one SQLite-backed Durable Object holds the team’s trackers.[3] A Durable Object is globally unique and its storage is transactional, strongly consistent and serializable, so all machines read and write one current state.[8]
Laptop, build host, sandbox, CIUpstream
bdSame commandsYour Worker
HTTPS, per-key accessOne Durable Object
One live state
bd call reads and writes the same store; no copy, no push or pull.- Claims hold across machines. A claim takes a lease with a fencing number; a second agent is refused, and a lapsed lease releases itself.
- Writes are safe to retry. Every write carries an idempotency key, and updates can require the version they read, so a lost response never doubles a change.
- Every key is an identity. Each person, machine and CI job gets its own key, optionally read-only, limited to trackers or expiring; CI can exchange its GitHub Actions identity for a short-lived key.
- Sandboxes are covered. Where an agent cannot run
bd, the same tracker is available as an MCP server, also as a remote connector.[3]
The store also serves a dashboard across all trackers. These are two views of the store behind the kombify ecosystem, with 25 repositories:


Under the hood · a backend, not a fork
The upstream /v0 OpenAPI contract is vendored unchanged and implemented as a declared profile: same paths, same JSON shapes; every deviation is listed. bd and the store check each other’s versions on connect, and an incompatible pair stops with one line naming both.[3]
IV Account, init, go
You need a Cloudflare account, where the free plan is enough, and Node 22.23 or newer.[5]
- Cloudflare. Create an account. A brand-new account opens Workers & Pages once in the dashboard, so Cloudflare creates its
workers.devaddress. - Initialise. In your repository, run:
It signs you in to Cloudflare, deploys the store, creates your first key, installs the matchingnpx beads-cloudflare initbdand writes.beads/. Or send your coding agent this message:Set up beads-cloudflare for this repository, so all my agents and machines share one Beads tracker in my Cloudflare account. Follow https://github.com/kombifyio/beads-cloudflare/blob/main/SETUP.md literally. Use --agents claude. Never print a key.
- Go.
bd ready,bd create,bd update <id> --claim,bd close, on every machine.[4]
Another machine joins with npx beads-cloudflare invite on the first and the printed join command on the second. Already using Beads? npx beads-cloudflare migrate <store> exports the existing workspace, keeps it as a backup, imports it and compares the counts.[3]
Tested on an empty account · limits of 0.2.18
Before the release, an agent without prior knowledge set it up on a new free Cloudflare account, following only README and SETUP: store, issues, claims, health checks, a second machine and MCP all passed.
| Topic | What applies |
|---|---|
| Plan | Runs on Workers Free; large imports, exports and backups reach its daily quotas first.[6] |
| Backups | Optional daily logical backups to R2, kept 30 days by default.[6] |
| Dashboard | Needs the optional browser sign-in through Cloudflare Access.[3] |
| Maturity | A 0.x release under the MIT licence, on npm as beads-cloudflare.[7] |
V Thank you, Beads
beads-cloudflare only exists because Beads does. Thank you to Steve Yegge, who started Beads, and to the maintainers and contributors who keep improving it. Beads has become one of the most useful tools in my daily work with agents: the dependency graph, the ready queue and the claim give agents a shared picture of the work, and they make long-running work across many repositories manageable.
If you work with coding agents, start with Beads itself: read its documentation, use bd straight from its makers, report what you find and support the project by contributing. beads-cloudflare is an optional backend for one setup, and it stays close to upstream on purpose.[1]
Sources
- Beads · README: dependency graph, hash IDs, Dolt storage modes and sync
- Beads · Multi-agent and multi-repository coordination
- beads-cloudflare · README: quick start, keys, MCP and design
- beads-cloudflare · Setup instructions for coding agents
- Cloudflare · Durable Objects pricing and Workers Free availability
- beads-cloudflare · Costs and limits
- npm · beads-cloudflare package
- Cloudflare · Durable Objects overview
Sources checked 2026-11-18.
