On this page
← All articlesBy Marcel Kombächer~6 min read

AI Foundations · Beads · 1

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.

One Beads tracker for every agent: beads-cloudflare is open source
AI Caramba · Editorial illustration

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.

Three ways to store a Beads tracker
Dolt embedded (default)Dolt serverbeads-cloudflare
Where the tracker livesA Dolt copy in every cloneOne Dolt database on a server you runOne SQLite database in a Durable Object, in your Cloudflare account
Works offlineYesNeeds the serverNeeds the store, over HTTPS
HistoryVersioned, with branches and cell-level mergesVersioned, with branches and cell-level mergesAn event log of changes; no branches
Concurrent writersOne per copyManyMany
Changes from other machinesAfter bd dolt pullLiveLive
What runs, and who runs itDolt inside every bd; you run the syncdolt sql-server; you host, expose and back it upA 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]

Agents and machines
Laptop, build host, sandbox, CI
Upstream bd
Same commands
Your Worker
HTTPS, per-key access
One Durable Object
One live state
Every 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:

The Today view of the Beads dashboard: totals for open, critical, in-progress and stalled work, a Do next list ordered by priority and what each task unblocks, and a Needs attention list.
Today: ready work in the order to pick it up, and everything stalled or waiting. Titles and IDs are blurred. View full image ↗
The Projects view of the Beads dashboard: phases and milestones with state, start and close dates, duration and progress bars computed from closed beads.
Projects: phases and milestones with progress computed from the beads beneath them. Titles and IDs are blurred. View full image ↗
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]

  1. Cloudflare. Create an account. A brand-new account opens Workers & Pages once in the dashboard, so Cloudflare creates its workers.dev address.
  2. Initialise. In your repository, run:
    npx beads-cloudflare init
    It signs you in to Cloudflare, deploys the store, creates your first key, installs the matching bd and 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.

  3. 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]

Open the setup page ↗

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.

TopicWhat applies
PlanRuns on Workers Free; large imports, exports and backups reach its daily quotas first.[6]
BackupsOptional daily logical backups to R2, kept 30 days by default.[6]
DashboardNeeds the optional browser sign-in through Cloudflare Access.[3]
MaturityA 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]

Beads on GitHub ↗

Sources

  1. Beads · README: dependency graph, hash IDs, Dolt storage modes and sync
  2. Beads · Multi-agent and multi-repository coordination
  3. beads-cloudflare · README: quick start, keys, MCP and design
  4. beads-cloudflare · Setup instructions for coding agents
  5. Cloudflare · Durable Objects pricing and Workers Free availability
  6. beads-cloudflare · Costs and limits
  7. npm · beads-cloudflare package
  8. Cloudflare · Durable Objects overview

Sources checked 2026-11-18.