Skip to content

Working with AI agents

primum suits an agent as well as a person: items are files it can read, and every command takes plain arguments.

Terminal window
primum next # what to do
primum show 87 --json # one item, with its documents
primum list --json # everything open, ranked
primum log 87 --json # what happened to it

Text goes through files or standard input, never through quoting:

Terminal window
primum start 87
primum doc 87 plan --file plan.md
primum note 87 --file - <<'END'
Implemented the CSV export; the date column follows the item's `finished`.
END
primum done 87

primum delete refuses to run without a terminal unless given --yes.

A line in a repository’s CLAUDE.md or AGENTS.md is enough:

Work items live in ~/boards/my-app (primum). Take the next one with
`primum next -p my-app`, record specs and plans with `primum doc`, and mark
items done with `primum done`.

Every change an agent makes is a commit in the project’s history, so primum log shows exactly what it did.