It's a Plan is a self-hosted, AGPL-3.0 issue tracker in the Linear/Plane mold, with one twist: an AI agent is a project member with a role, permissions and an assignee slot, and gets work the way a colleague does.
Why I starred it
Every tracker now has an "AI" button. This one went the other way: the tracker is ordinary (kanban, table, timeline, cycles, docs, a REST API, an MCP server), and the agent is just another row in the members table. You assign an issue, @mention the agent in a comment, or put it on a schedule. It has 2.7k stars and was shipping daily when I looked, with the latest commits dated 2026-11-28.
It's a Bun/Turborepo monorepo: apps/{api,web,worker,bot} and packages/{db,auth,runner,agent-tools,...}. About 360k lines of TypeScript across roughly 4,300 tracked files. That is a lot of product, so I went to the part that is different.
How it works
Agents come in two kinds. Internal agents run on the server with your model key. External agents run on your machine through @itsaplan/runner, under your own Claude Code, Codex, Copilot CLI or opencode login. I read the external path, because it is the one that has to be careful.
The runner is a poll loop (or an HMAC-signed HTTP endpoint) that claims a queued run, spawns a coding CLI, and streams what it prints back to the issue as a trace. packages/runner/src/presets.ts is where it gets interesting. Each preset records the facts about a CLI that have to agree, and the comment at the top says why:
// Wiring those into a shell command by hand can produce a combination that runs but
// silently never reports a session, or one that waits forever for an approval nobody
// is there to give.
The Claude preset is six flags (presets.ts:36): -p, --resume <id> when a session exists, --output-format stream-json, --include-partial-messages, --verbose (required for stream-json under --print) and --permission-mode auto. Codex needed more care: exec resume accepts fewer options than plain exec, with no --sandbox or --cd. The preset therefore sets the sandbox through -c sandbox_mode="workspace-write", which both forms take. Copilot's comment notes that -r only accepts -r=<id>, so the preset uses --session-id. These are the details you only learn by breaking an unattended run at 3am, and they are written down next to the code.
execute.ts is the process wrapper, and it is the best 149 lines in the repo. A preset is spawned without a shell, so the session id and your args never need quoting. Your own command goes through sh -c. The child gets its own process group (detached: true), because Ctrl-C on the runner must not kill in-flight work. The flip side is that timeouts and stop requests have to kill the whole group:
function killGroup(pid: number): void {
try {
process.kill(-pid, 'SIGKILL');
} catch {
// Already gone.
}
}
Without the negative pid, a pipeline leaves orphans behind. Output is tail-trimmed as it arrives (OUTPUT_LIMIT = 8000), so a command that prints for half an hour never buffers a transcript just to throw most of it away.
The agent receives ITSAPLAN_URL, ITSAPLAN_API_KEY, ITSAPLAN_RUN_ID and ITSAPLAN_ISSUE in its environment. The runner does not paste the ticket into the prompt. The agent reads the issue and writes results back through the project's MCP server, and the X-Itsaplan-Run-Id header ties each call to its run. If the agent delegates an issue to another agent, that run inherits the person it works for. I like that the ticket stays the source of truth instead of a prompt blob.
The listener (listen.ts:25) verifies t=<unix>,v1=<hmac> signatures with timingSafeEqual, a 300-second tolerance against replay, and a 5 MB body cap. The comment on the byte-length check is the kind I trust: timingSafeEqual throws on buffers of different length, and non-ASCII headers are longer in bytes than in characters.
Using it
The runner config is three lines, next to an .mcp.json pointing at your instance:
{
"url": "http://localhost:3000",
"apiKey": "the key you just copied",
"agent": "claude"
}
Create an External agent in Settings, enable MCP for the project (it is off by default), start the runner, and assign it an issue. I did not run the stack. The clone is untrusted and I only read it, so everything above comes from the source.
Rough edges
- Open core. Workflows (agent-to-agent hand-off), schedules on issue events, audit log, SAML per workspace, and AI budgets are in the paid Pro edition at $240 a year. The multi-agent pitch is partly a Pro feature, which the README does say.
- Unattended means permissive. The presets pass
--permission-mode autofor Claude,--allow-all-toolsfor Copilot and--dangerously-skip-permissionsfor Antigravity. That is the cost of not having a person at the keyboard. Run the runner in a scoped working directory or a container. - It is a big surface. Linear/Trello/Plane importers, 14 languages, passkeys, SCIM, five forges. The runner is tidy, but I would expect the rest to take longer to audit.
- Tests exist where I looked. The runner has seven test files covering config, presets, execute, listen and the AG-UI stream parser. Across the repo there are about 370 test files. I did not run them.
Bottom line
If you already run Claude Code or Codex on tickets by hand and want a tracker that treats that as the default workflow, this is the closest self-hostable option I have read. The runner code is careful enough that I would trust it with an unattended queue, as long as the sandbox around it is yours.
