Contents

Context management for AI coding agents

aitodo assembles what an agent gets for a task: the ticket, the marked sections of its docs and gotchas, the decisions and the conventions of its groups, within {{BUDGET_DEFAULT}} tokens by default. The ticket carries the context: tkt ticket get PAY-001 returns it as a Context Bundle.

The context guard checks the bundle on every read. If a blocker is open, the repo anchor is missing, or a ref points to nothing, has_blockers is true and the agent does not start.

In a team, the server can provide the LLM, with no AI key of your own: Team AI. Coming soon: one command delivers the focus, ticket by ticket, up to the merge: autonomous delivery.

Why

A coding agent works from what it receives with the task and what it finds in the repo. A project's conventions, earlier decisions and known gotchas usually live in a wiki or in old tickets, if they are written down at all. The agent knows about them only if someone puts them next to the task.

Too much context fails the other way: whole files and epic-level background push out the part the task needs. aitodo therefore hands over knowledge by section and within a budget.

The measure comes from the context guard specification: a bundle is complete when the agent can write the diff and verify it citing only the bundle. The maintenance commands keep it that way over time.

{{FEATURES}}

Install

The installer adds uv if it is missing, the tkt CLI of this server's version, and the Claude Code skill in ~/.claude/skills/aitodo-tickets.

{{INSTALL}}

AITODO_NO_SKILL=1 skips the skill, AITODO_DRY_RUN=1 only prints the steps.

Check in a new terminal

{{TERM:version}}

First project

In the repo root:

{{TERM:first-project}}

tkt init with --pin writes .aitodo.yaml. Commit it and the .tickets/ folder with the project.

What it is and what it is not

What it is

  • A command-line tool (tkt) that works on a store in the repo.
  • A Claude Code skill that describes the work loop to the agent.
  • A server for this page, the guide and the installers. For project coordination, see Team server.

What it is not

  • Not a web ticket tracker. In the browser, tkt board golive --html and tkt graph --all --html open.
  • Not a code analyser. People or agents write code locations into the ticket; the context guard checks that they exist and resolve.
  • Not an agent runner. The agent is your own tool, for example Claude Code; aitodo adds the task and its context.