operatr
v0.12.1
Published
Local kanban for running AI coding agents — each card a task, each lane a workflow phase, driven by the Claude Agent SDK.
Maintainers
Readme
operatr
A local kanban board for running AI coding agents. Each card is a task; the board's swimlanes are workflow phases. Move a card into a lane and Operator runs that phase's automation inside the task's own long-lived Claude Code session — planning in one lane, building in the next, reviewing in another — each task isolated in its own git worktree.
No database. No cloud. State lives in plain .md files on your machine, and your code never leaves it.
Early and experimental. The package name (
operatr) is a placeholder and may change. Pin a version if you depend on it.
Requirements
- Node.js ≥ 20
- git (each task runs in its own worktree)
- Claude access — Operator drives the Claude Agent SDK, which uses your existing Claude Code auth. Either:
- be logged in via
claude(Claude Code reads~/.claude), or - set
ANTHROPIC_API_KEYin your environment.
- be logged in via
Install & run
Run it without installing:
npx operatr…or install globally (this gives you an operator command):
npm install -g operatr
operatorOperator starts a local server, serves the board UI, and opens your browser to it. On first launch the board is empty — add a project (point it at a local git repo), then drag a card through the lanes to put an agent to work.
DevTools overlay (fab chat)
The embeddable DevTools overlay ships inside the package and is served by the local server, version-matched — add it to any app you're previewing and chat with the task's agent from inside that app:
<script
src="http://localhost:4317/operator-devtools.iife.js"
data-operator-server="http://localhost:4317"
data-operator-project="<projectId>"
data-operator-task="<taskId>"></script>⚠️ Security — read this
Operator runs AI agents with shell and filesystem access on your machine, operating directly on real git repositories. Agents can read your files, run commands, install dependencies, and commit code.
- Only add projects you trust Operator to modify.
- Treat it like handing an autonomous developer a terminal in that repo.
- The server binds to
127.0.0.1(localhost only) by default — do not expose it to a network you don't control.
Configuration
All optional. Set as environment variables:
| Variable | Default | Purpose |
|---|---|---|
| OPERATOR_PORT | 4317 | Port the server (and UI) listens on. |
| OPERATOR_HOST | 127.0.0.1 | Bind address. Change only if you know what you're doing (see Security). |
| OPERATOR_HOME | ~/.operator | Where global state lives: project registry, settings, usage history. |
| OPERATOR_OPEN | 1 | Auto-open the browser on launch. Set 0 to disable. |
OPERATOR_PORT=4400 operator # run on a different portHow it works
- Lanes are phases. Each swimlane is a workflow step with its own automation. Moving a card across the board is what triggers the agent — the board is the control surface.
- One session per task. Every task holds a single long-lived Claude Code session that persists as the card moves between lanes, so context carries across phases.
- Isolated worktrees. Each task gets its own git worktree, so parallel tasks never stomp each other's files.
- Files are the source of truth. Board and task state are
.mdfiles under each project's.operator/directory, plus a small global registry under~/.operator. The server is disposable — restart it any time; nothing important lives only in memory.
Where your data lives
- Per project:
<repo>/.operator/— lane files, task files, event log. Commit-friendly. - Global:
~/.operator/(or$OPERATOR_HOME) — registry of projects, settings, usage history.
Nothing is sent anywhere except your own Claude API calls.
License
MIT
