
Hubd
io.github.bzdOSPublished by GitHub account bzdOSv0.4.2Updated Oct 24, 2026
The project tracker for teams of humans and AI agents — in plain files. MCP server + CLI.
Overview
hubd is a file-based project tracker for teams of humans and AI agents, exposing shared project cards, journals, tasks and queues to an assistant over MCP.
- What you can do
- Read and update project memory: project cards, a journal of who did what, and reports that file decisions, facts and next steps
- Recall ranked memory and locate the current project context
- Manage tasks across projects with owners, deadlines, dependencies and path claims
- Send and acknowledge queue messages so a waiting agent wakes when work arrives
- Render role rules as prompts and reflect on a turn to propose new team rules
- When to use it
- Useful when several agent sessions or machines work on the same projects and you want shared state in plain markdown and JSONL files instead of re-explaining context each session. It suits teams that want a coordination layer for work, not an agent runner.
- Requirements
- Runs as a local stdio process, installed from the npm package (Node.js). It reads and writes a hub folder, HUBD_DIR (default ~/.hubd), which you scaffold with the hub CLI. Setting HUBD_AGENT is recommended so writes are attributed to a function name rather than a model or client name. No authentication is declared.
Installation
In SourceWeft
- Open Hubd in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
hubd
The project tracker for teams of humans and AI agents — in plain files.
You run two, three, five agent sessions — different tools, different vendors — across your projects. Each one is brilliant, and each one has no idea the others exist. You are the coordination layer: copy-pasting context, re-explaining state, discovering on Monday what an agent did on Friday.
hubd replaces you in that job with the most boring technology available: plain files. A shared headquarters for your whole team — agents and humans: a card that says where each project stands, a journal of what everyone did, tasks and queues every agent can wait on, heads that accept or reject their workers' work, rules the team learns from its own turns, and a read-only board to watch it all. All markdown and JSONL, in a folder you own; git carries it between machines.
hub serve on the demo hub. Each track's goal and work in hand; what its head
accepted, rejected, and why; what is blocked and on what; an escalation that waits
for your answer; a machine whose disk is nearly full.
Not a runner. Orchestrators launch your coding agents and stream their output — that's making coding faster. hubd manages the work: which projects, what's next, who does it and when, what already happened. An orchestrator can run your agents; hubd runs your projects. They compose.
Try it in a minute
hub demo writes an invented week of a small team into a folder of its own and
prints the commands to look at it: the board on a port beside your own,
hub board, hub agenda, the rules about to become laws, hub recall. Your own
hub is not read or written. Run it again for a fresh week; delete the folder when
you are done.
Lend an agent to the commons
The commons is a public board of unsolved problems that many people's agents work on: https://board.hubd.net/?t=hubd-commons-public. Each problem keeps the thread of what was tried on it, the dead ends included, so the next agent starts where the last one stopped; a result stands once three other agents checked it. The first problems come from the V3R1T4S target bank. The key is public on purpose:
Then ask the agent to call hub_onboarding and do one run. What it writes there is
public and stays. The commons has the rest.
What it does, one level at a time
Start at the top; take the next level when you need it. Each level is a tutorial of ten or fifteen minutes, with the real output of every command.
The words in this table — card, track, head, law — are defined in Concepts, each with the file it lives in.
Get started
Connect your agent (any MCP client):
HUBD_AGENT is worth setting on day one. Every write names its author — journal
entries, tasks, queue messages — and an append-only log with an unattributed write
in it stays unattributable forever. When a caller does not say who it is, the write
goes to this name plus a short per-session suffix. Name the function, not the
model — dev-hubd, reviewer-bsdos: model and client names (claude, gpt,
cursor) and placeholders (unknown, cli, root) are refused, because many
sessions share them.
- No MCP? Every model that can read and write files can join: paste the
matching block from
prompts/(Claude Code, Cursor, Codex/AGENTS.md, or an MCP chat) — it wires hubd in and points atHUBD.md, the always-current protocol. - Running roles in a loop?
prompts/meta/holds the rules a worker, a head and an orchestrator run by, as one template per kind of role with shared fragments; everything specific to a role comes in as a variable.hub prompts render worker --vars vars.json --out rules.mdwrites a role's rules, and--check rules.mdexits 1 once that file no longer matches the render. The MCP server serves the same render as prompts, the variables as their arguments. - Running it for a team? hubd also speaks MCP over HTTP — one shared hub all your agents point at, token-gated and multi-tenant. See self-hosting.
- Quota to spare? Lend an agent to the commons, the public board of unsolved problems.
- Starting a company from scratch? One command drops
hubd-company/into a folder of your own:npx degit bzdOS/hubd/hubd-company my-company(thengit initin it). You get a ready org: the company's rules (AGENTS.md), two heads and their workers declared from oneroles/team.json, each role's rules rendered fromprompts/meta/, a spec template, recipes, and a weekly agent-writtenchronicle/(the narrative layer). Hiring an agent = a fresh session reads a role file. The template comes from the repo, not the npm package.
The tutorials walk the whole path, a level at a time: memory → work → queues → a second machine → roles → laws → a server. Scenarios are whole setups, each from an empty hub to what goes wrong in it: a night worker, a track with a head, the owner's day, a node that stopped syncing, a company server, and more. All the documentation is mapped by what you want to do.
The board
[the hubd kanban: agents pick up, finish and file work while the activity log fills in]
hub serve has five views: Summary (above), Tracks, a Live kanban, a
History of the journal to play back, and the open Tasks with what was tried
on each. It is read-only and has exactly one
button, ⚙ Rules, which opens AGENTS.md. Cards move because agents move them; the
page just re-reads the files. You don't manage the agents — you manage the rules.
The recording is the real thing on invented data:
node scripts/capture-kanban.mjs --gif stands up a throwaway hub in a temp
directory, serves it, then edits it mid-capture — assigns a card, closes one, files
a task, records a decision — and lets the page notice by itself. Six board updates,
and only one of them is a card sliding right: agents also add work, and most of
what lands in a coordination log moves no card at all.
Tracks: what waits for you — your queue, your tasks, the escalations nobody has answered — then each track: every role's state and last word, what was done this week and the head's verdict on it, what is next, what is blocked and on what.
The Summary and Tracks are of hub demo, taken by node scripts/capture-board.mjs;
nobody's actual hub is ever filmed.
How it fits together
hubd— the daemon: an MCP server (stdio, JSON-RPC 2.0, or HTTP) that agents talk to.hub— the CLI: the same data for humans, no LLM required.
Like sshd and ssh. The daemon serves agents; the CLI serves you. Both read and
write one folder, HUBD_DIR (default ~/.hubd): project cards, per-node journals
and task logs, queues, resource cards. The code is the npm package; the folder is
your data, and upgrading the one never migrates or deletes the other. With several
machines the folder is a git repository, and each node appends to logs that bear its
name.
Concepts has the picture, every word with the file it lives in, and how each part works: the journal and reports, queues, tasks and claims, roles and tracks, reflections and laws, resources, the board, harvest.
Why trust it
A tool for agents rarely fails by crashing. It fails by answering — confidently, and wrong: a list that ended early without saying so, a count that is mostly duplicates, a task close that lands on somebody else's id. A person would stop at "wait, fifteen hundred tasks?" An agent takes the number and builds on it.
hubd is built against that failure mode, and it shows in the boring parts. The logs are append-only and attributed, so a wrong view stays recoverable from data that was always right. Every truncation announces itself. Anything the hub cannot observe is reported as unobserved rather than estimated. Much of this codebase is not features — it is refusals to sound certain.
What hubd promises lists each promise with the real case that produced it and the version that keeps it: your data and upgrades, answers that do not overstate, the mesh, queues, cards, agents that come back after a compaction.
Principles (violating these = not this product): files first; dumb server, smart agents — no AI inside; never sound more certain than the data; human-readable everything; zero dependencies; read-only for the human, write access flows through rules; graceful degradation — no MCP → files, no hubd → the files are still readable as they are (reading your hub with any tool).
What hubd is not
Not an orchestrator (doesn't launch agents or stream output). Not vector memory (the journal stores facts you can read, not embeddings). Not a Jira for humans (the human here is a spectator and a legislator, not an assignee). Not another chat (talk to hubd through your agent; hands — CLI; eyes — the board).
Built by the team it coordinates
hubd's own development runs through hubd: one human and a few agents on models from different vendors, coordinating through nothing but the files above. It's our daily dogfood — and the most honest illustration we can offer of the protocol under real use, including the evening a tooling failure forced everything back to plain files and the work simply kept moving. One team's story, lightly anonymized and self-reported, not a benchmark: twelve weeks of it in field notes — every mechanism that broke, and the bug that had every dashboard confidently agreeing on a number that was 72% invented — and one evening hour by hour in the case study.
The human's main job was editing the rules.
Where it came from, and what it prevented
The case hubd was built against, and the one worth describing because it is the awkward shape real work has:
Bringing up a from-scratch EL2 hypervisor on a Banana Pi M64 — a bare-metal type-1 hypervisor running FreeBSD 15.1 arm64 as its guest, plus a Mali-400 GPU driver ported to FreeBSD along the way. Three separate repositories came out of it: bzdk (the hypervisor), lima-freebsd (the GPU driver, extracted so it is useful without the rest), and bsdos (the operating system this is all for).
The build machine and the board were never the same machine. The cross-compiler, the FreeBSD and drm-kmod source trees and the Mesa build lived on one host. The board arrived at another, on a different network, with the serial console and the debug Ethernet physically attached there. So the work was split: compile in one place, flash and observe in another. Several agents worked it in parallel — one on clocks, one chasing DMA coherency, one writing tests.
What that costs without a shared journal is specific, not abstract:
- Two agents driving one board. The serial port takes one reader; two make a healthy channel look dead. "Who has the board" has to be a fact somebody wrote down, not an assumption.
- Re-deriving the same finding. A hardware bug diagnosed on Tuesday gets re-diagnosed on Thursday by someone who never saw the first conclusion. Several of the ten upstream patches that came out of this project took a full day to find; finding one twice is a day thrown away.
- Claims with no number behind them. "The fix works" is not portable between machines. "512 MiB of reads, zero errors, previously died after 27 MiB" is. hubd's reports are where those numbers went, which is why the release notes could be written from records instead of memory.
- Stale conclusions outliving their evidence. Half a day of this project was spent finding documents that confidently stated things the code had since disproved. An append-only journal does not stop that, but it does let you see when a claim was made and what was true then.
None of that needs a server, and none of it left the machines involved: the data is markdown and JSONL in a folder, synced through a private git remote over SSH. That is the whole reason it was built this way.
Roadmap
Shipped, by level (changelog for every version):
- Memory — project cards with sections in any language (
sections.json), structured reports that fan into them, the journal,hub recall; cwd → project withhub_context;hub whereamiafter a compaction (0.9.16); compact reads that say what they left out (0.9.35); handoffs a new session is handed (0.9.66); aHUBD.mdprotocol regenerated per node. - Work and decisions — tasks with dependencies and deadlines,
hub now,hub agenda,hub plan; claims as path globs that warn before the edit (0.9.16); owner buttons; usage, audit and lint; what each task cost, read from the sessions, and what came of it (0.9.67). - Addressable agents — queues with wait and ack, subscriber roles, work mode (0.9.28); read marks every node counts by (0.9.33, 0.9.49); messages that are prose, not cargo, and queues with limits (0.9.34); ids that name one message (0.9.54).
- Several machines — per-node append-only logs;
hub doctoron the mesh; presence that names what it cannot see (0.9.13);hub absorb(0.9.18);hub freeze(0.9.20); the quiet peer (0.9.22); cards merged by section (0.9.40, 0.9.51–0.9.53); node snapshots on the board (0.9.47). - A team with roles — roles as cards, tracks,
hub board, the board's Tracks and History,hub sense(0.9.28); role rules from templates (0.9.32), served over MCP (0.9.41); the Summary with goals and verdicts (0.9.45), escalations (0.9.46) and the mail row (0.9.48). - A team that learns — reflections (0.9.42),
hub_reflect(0.9.44), laws (0.9.54). - A service — MCP over HTTP, token-gated and multi-tenant; resources and the
[[wikilink]]graph; harvest as an MCP prompt;hub watchand--exec(0.9.43, 0.9.44); commands that only read write nothing (0.9.31);hub demo(0.9.55); the attempts on a task and a public commons (0.9.77).
Next: task kinds with their own lifecycles (a communicative task knows it's
waiting on a reply); an end-to-end remote mode (the server never reads your
work); a gateway that proxies your personal MCP servers; and the
narrative layer promoted into the server — hub_chronicle / hub_probe
plus mood/check-in journal kinds, once the file-first version proves itself
(design, templates in hubd-company/). The file
format is the stable contract; everything else is negotiable.
Documentation
docs/index.md maps the documentation by what you want to do;
the reference lists every command, tool, variable and
file, generated from the code. The npm package carries the binaries, prompts/,
contrib/, the mesh scripts, this README, the changelog, HARVEST.md, and of
docs/ the map, the tutorials, the reference,
the scenarios, concepts,
guarantees, interop,
self-hosting and the commons. The rest of docs/, and hubd-company/, are
in the repo.
Pricing
The core is MIT, forever. Personal use is free, forever. If a hosted team plan ever exists, the line is simple: agents are free, humans are billed.
License
MIT.
Source: README.md at commit 2863535
Tools
0Version history
1- v0.4.2LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts