Ticket

The task tracker your coding agents use

One binary, one SQLite database per project, a git-friendly markdown mirror and a live web UI. Agents plan, claim and report from the CLI; you review and answer their questions in the browser.

The Ticket web UI: a board of tickets in backlog, todo, doing and done columns

Three parties, one source of truth

Ticket is deliberately simple: a personal tracker built to be the primary interface between you and the agents working in your repository.

Agents drive the CLI

Markdown output by default, --json on every command, bulky payloads on stdin. Every write prints the updated ticket, so an agent verifies its work from the output alone.

Humans answer in the browser

ticket serve opens a board, ticket pages, a questions inbox and anchored comments. Every view updates live, including after CLI writes and git pull.

Git carries the state

Each ticket is a directory of plain files under docs/tasks/, with merge rules and a field-level merge driver so clones and branches merge cleanly.

The agent loop

An agent claims the next ready ticket, reads a paste-ready brief, asks you a question when it needs a decision, and writes a report when it is done.

Questions are markdown with options. You pick one in the web UI; the agent sees the answer, acts on it and closes the loop.

Ticket ids are short and random (PRJ-mapk), so clones and branches never collide.

# first ready todo → yours, doing
ticket next --claim

# meta, documents, questions, links
ticket task PRJ-mapk brief

# ask the human, markdown on stdin
ticket task PRJ-mapk question add <<'EOF'
# Cache per write, or debounce 500 ms?

## Debounce (recommended)
Sync back to 2.1 s; search can be ≤ 500 ms stale.

## Per write
Always fresh; sync stays slow.
EOF

# the human answered in the UI
ticket task PRJ-mapk question list --status answered

# result, decisions, left out, checked
ticket task PRJ-mapk report template
ticket task PRJ-mapk move done

A web UI built for review

Served from the same binary. Inside a project it opens that board; elsewhere, a picker of every registered project.

What's in the box

The full surface is in ticket --help and every subcommand's --help.

  • Board order is priority. Drag or use the keyboard; ticket order from the CLI.
  • Links. blocks, blocked-by, related and parent; ticket ready --explain says why something can't start.
  • Query language. ticket query 'is:ready status:todo modified:7d', in the CLI and the UI's find field.
  • Claims with a TTL. Heartbeat and reclaim, so work held by a dead agent can be taken over.
  • Streams. Ordered lists of tickets for several parallel implementers.
  • Templates. Description and spec skeletons for bugs, features and spikes.
  • Documents. Browse, comment on and edit the project's markdown, with relative links that work.
  • Catching up. ticket changes --since HEAD~5 and a live activity feed.
  • Hand edits are never lost. ticket sync imports them, or names the conflict and how to resolve it.
  • Similarity search. Optional local embeddings: find tickets by meaning, nothing downloaded until you ask.
  • Agent skill. ticket skill install sets up Claude Code, Cursor and others.
  • macOS menubar app. Keeps the server running and shows how many questions wait for you.

Install

Requires current stable Rust. Node 24 is needed to build the embedded web UI; a plain cargo install gives the full CLI and the JSON API, with a placeholder page in place of the UI.

just install builds the UI first, embeds it, and turns on similarity search.

Then, in a project:

cd my-project
ticket init PRJ          # config, database, docs/tasks/, merge rules
ticket skill install     # agent skill + AGENTS.md / CLAUDE.md block
ticket serve             # http://127.0.0.1:7878
git clone https://github.com/bebsworthy/ticket
cd ticket

# CLI and JSON API
cargo install --path crates/ticket --locked

# or: web UI embedded + embeddings
just install

Local by design

The server binds to loopback and has no login. To reach it from a phone, list a host name you control (Tailscale works well) and keep it private: anyone who can reach the server can read and change every registered project. The README explains the setup and the risks.