Keel HQ · open source · alpha

A shared memory and rulebook for you and your AI agents.

Keep the todos, bugs, releases, docs and rules of all your projects in one hidden folder. Your agent starts every session already knowing what is in flight, follows the rules you set, and cannot do the risky things you have not allowed.

uv tool install --prerelease allow "keelhq[mcp]"

MIT licensedPython 3.11+Runs on your machineClaude Code first, any MCP agent works

The problem

AI agents are good at doing a task and bad at remembering your project. People are good at deciding and bad at keeping five tools in sync. Keel sits between them.

The agent starts from zero

Every session it re-reads files to guess what is going on, or asks you to explain again. What was half done yesterday, what is blocked, which doc went stale: it knows none of it.

Work is scattered

Todos in one app, bugs in another, notes in Markdown, release steps in your head. Nothing is shared between you and the agent, so each keeps its own picture.

Nothing enforces how you work

"Add a changelog entry before testing" lives in a wiki nobody reads. An agent can skip it, and often will, because nothing stopped it.

The idea: a small harness around your agent

A harness is everything around a model that turns it into a dependable worker: what it remembers, which tools it may use, which rules it follows, what it must ask you first, and how its work is recorded.

Keel is a small, open harness for project work. It is not an agent and it does not call a model. It is the place the agent reads from, writes to and is held to, and the same place you look at yourself.

  • Memory: items, docs and notes in plain files you can read and commit.
  • Tools: 36 MCP tools, split into read, write and outbound.
  • Rules: workflows that refuse a move until its conditions hold.
  • Permissions: no delete for agents, secrets only as references, previews before anything is sent.
  • Record: every write is logged with who did it.
How Keel fits together You, through the web page or terminal, and your agent, through MCP and a session hook, both go through Keel's core, which applies rules, checks, secret masking and an audit log, over a hidden folder of small JSON files. Youweb page · terminal Your agentClaude Code · MCP clients Keel coreworkflows and rules · checks · secret masking · auditsame code for the page, the terminal and the agent .keel/ · small files you commititems · collections · workflows · docs · audit log (local only) reads and writes tools · briefing
Everything goes through one core, so the page, the terminal and the agent obey the same rules and leave the same trail.

How it helps you

Keel is for a person who works on several projects with an AI agent and is tired of being the glue between them. It takes over the remembering and the enforcing, and leaves the deciding to you.

Without KeelWith Keel
Every session you re-explain what is going on.The agent opens with a briefing: what is in flight, what is blocked, what waits on you.
Half-done work is lost between sessions.start, note and done leave notes the next session resumes from.
You remind the agent of your rules, again.A rule refuses the move until it holds, for example a changelog entry before testing.
Two sessions edit the same thing.A claim on the item refuses the second one, and names who holds it.
Docs rot without anyone noticing.The briefing flags a doc when the code it watches has changed.
Context is lost when you switch projects.One workspace for every project, filtered to the one you are in.
You worry what the agent might delete or leak.No delete tool, secrets only as references, a preview before anything is sent.
You cannot tell what the agent actually did.Every write is logged with who did it, and git diff .keel shows the change.

You decide what matters and approve what is risky. Keel remembers the state of every project, enforces the rules you wrote down, and records what happened.

A day with Keel

  1. Morning: the session starts informed

    You open Claude Code in the folder that holds your projects. A session-start hook has already loaded a short briefing: two todos in progress on android, one doc gone stale on server, one item waiting on you. The agent did not have to look.

  2. You ask, it picks up the work

    "Take the login retry bug." It finds the item, claims it so another session does not collide, moves it to in progress and leaves a branch name. As it works it adds short notes, so tomorrow's session can resume without guessing.

  3. A rule stops a shortcut

    It tries to move the todo to testing. Keel refuses: "add a changelog entry for this todo first." The error says which rule failed and which moves are allowed, as data the agent can act on. It adds the entry and the move goes through.

  4. Docs stay true

    Code changed under a doc's watched paths, so the next briefing says the architecture doc is stale. The agent reads the git history, updates the Markdown and marks it verified at the current commit.

  5. Friday: a report, with you in control

    "Make a weekly status PDF and send it to the team channel." It renders the PDF, shows you a preview of the message, and sends only after you agree.

See it

The web page you get from keel ui. It runs on your machine and shows the same data your agent works with. These screens use made-up data.

The Keel home page: a sidebar with pinned quick links, projects and collections, and cards for what is in flight across four projects
Home. What is in flight across every project, with your pinned quick links and projects in the sidebar.
A board of the backlog with columns for open, in progress, testing and done
Board. Drag a card to the next column, or use its Move select. Rules still apply.
A project page showing what is in flight and its docs
A project. Everything for one folder, and the sidebar keeps that filter.
The quick links page with the pinned order and forms to add a link or a group
Quick links. Pin the places your work lives, in the order you want them.
The connectors page with a verified Telegram bot and a guided setup for each kind
Connectors. A guided setup, a check that proves each one works, and a test message.
The modes page listing built-in ways of working such as plan, review and audit
Modes. Built-in ways of working for your agents, and your own, which upgrades never touch.
The home page in the light theme
Light or dark. It follows your system.

What is inside

A workspace of small files

One JSON file per item in a hidden .keel/ folder, checked against published JSON Schemas. Review it like code, commit it, merge it. Todos, root-cause analyses, releases, a changelog, docs, links, projects, or any collection you define.

Workflows with rules

Each collection can have states and allowed moves. A move can require a field, a related changelog row, or a passing verification at the current commit. The rule lives in data, so you change it without touching code.

Projects are folders

Point Keel at a projects/ folder and its subfolders become suggestions. You choose which to track, or switch on auto and a new folder is a project the moment it exists. Filters, the briefing and the agent all use the same list.

A briefing that stays small

Per project: what is in flight, what is open, what waits on you, who holds a claim, how far a branch is ahead. It fits a token budget, and a "changed since last session" mode shows only the difference.

Setup an agent can drive

One checklist feeds the agent, the terminal and the web page. Mode ask: the agent puts each decision to you. Mode auto: you said "just do it", so it applies the defaults and reports. Even from an empty folder, the agent can preview and create the workspace.

A web page for looking around

Run keel ui: a projects sidebar that filters everything, lists you can search, sort and bulk-move, a board with drag and drop, notes, Markdown docs, import, reports and connectors. It runs only on your machine.

Work you can hand over

Start, note and finish work in a way the next session can resume. Claims keep two agents off the same item. Verification records what passed at which commit, and only a person ever runs an item's own command.

A doctor

Checks every file, probes every read tool, warns about work that names an untracked project, a branch that merged while its item stayed open, or a stale agent file. Safe repairs come with an undo.

Reports and messages

PDF reports from Markdown using a browser you already have, and messages to Telegram, Cliq or email, with the secret kept as a reference and a preview before every send.

Safe by construction

An agent with write access to your projects deserves boundaries you can state in one breath.

What an agent cannot do

  • Delete anything. There is no delete tool; retiring an item means moving it to a final state.
  • See a secret. Fields hold references like env:NAME; values are masked and scrubbed from every result and error.
  • Run commands from your data. A verification command only ever runs when a person types it.
  • Send a message without a preview, or write outside the hidden folder.
  • Quietly overwrite a claim. Another actor's claim is refused unless you force it.

What you get in return

  • Every write is logged with the actor, never with a value.
  • dry_run on writes: find out if a change would pass, without making it.
  • Git is the undo. The workspace is plain files you commit, so git diff .keel shows what changed.
  • A workspace written by a newer Keel is refused, never written to.
  • Everything is local. Nothing leaves your machine except messages you approve.

Get started

Let your agent set it up

In the folder that holds your projects:

uv tool install --prerelease allow "keelhq[mcp]"
keel init-agent --write mcp

Start Claude Code there and say "set up Keel here". It shows you what it would create (the collections, the project folders it found) and creates the workspace only when you agree. Then it asks which folders to track. Say "just do it" and it decides and reports, never moving your folders.

Or do it from a terminal

The same steps, by hand:

cd ~/work
keel init --preset command-center
keel projects --root projects
keel projects --track android ios
keel init-agent --write all
keel ui

Then ask your agent: "What is open in this project?" The first time it offers to read each project and write short docs (structure, architecture, conventions, commands). After that every session starts with the briefing.

Requirements: Python 3.11+ and uv. Optional: git for stale-doc checks, a Chromium-based browser for PDF reports, Claude Code or any MCP-capable agent.

Upgrades stay smooth

You will keep a workspace for years, so a release may never strand it. After installing a newer Keel, one command does the rest:

keel upgrade

It backs up the workspace, applies any data migration all-or-nothing, refreshes the agent files Keel wrote (and keeps any you edited), and runs the doctor. --dry-run previews it and --undo restores it.

  • Generated files carry a version stamp, so Keel tells its own text from your edits.
  • Every release ships a fixture workspace that the tests open, upgrade and probe.
  • The briefing tells you once what changed (keel whats-new any time).
  • New optional settings are written only when you ask, so older versions keep reading your workspace.

Where it stands

Keel is an alpha. It is tested and I use it on my own projects, but data formats may still change between alphas (the upgrade command exists for exactly that). Good for trying on a real project; not yet for depending on.

Built

  • The data layer, workflows and rules, projects as folders
  • A 36-tool MCP server, the CLI and the local web page
  • Session-start briefing with a token budget and a delta mode
  • Claims, hand-over notes, git links and verification
  • Agent-led setup, upgrades, a doctor, reports and messages
  • keel feedback to report a problem on the repository

Not yet

  • Inbound messages (replying in Telegram to drive a session)
  • Plugins, and sprints with carry-over
  • Editing a collection's fields from the web page
  • A session hook for agents other than Claude Code (they are told to call the briefing first)
  • A hosted, multi-user version with a full audit trail

Questions

Is it a service? Where does my data live?

No service. Everything is files in a hidden .keel/ folder next to your projects, on your machine. Per-machine state (the audit log, connector settings, reports) lives in .keel/local/, which is git-ignored.

Does it call an AI model?

No. Keel has no model and no API key. It serves tools and files to the agent you already use; the agent does the thinking.

Which agents work with it?

Claude Code first: it gets the session-start hook, skills and MCP registration. Any agent that speaks MCP can use the tools, and Codex and others read the generated AGENTS.md block.

What does "HQ" mean?

The name of the control room: one place to see all your projects and what your agents are doing in them.

How is this different from a todo app or an issue tracker?

It is built for an agent as much as for you: a briefing sized for a model's context, tools with machine-readable errors, rules that refuse a bad move, and a record of who did what. It is also just files, so you keep it in git.

What happens when I upgrade?

Run keel upgrade. It backs up first, migrates if needed, refreshes the files Keel generated and keeps your edits. If something is wrong, keel upgrade --undo puts it back.

Can I report a problem or an idea?

Yes: keel feedback add checks for similar issues, shows exactly what would be sent, and files it only with --submit. It refuses text with secrets, emails or paths.

Where to go next

The guide

Setup in ten minutes, one command center for many projects, onboarding, messages and reports, importing, your own categories, what an agent can and cannot do, every command, and working in parallel.

The specs

The schemas and the 36 tool definitions that are the product: the contract code is written against and tests enforce. The full tool catalogue is searchable.

Try it on one project.

It takes a few minutes, and everything it writes is a plain file you can read, commit or delete.