Agents

Run Cursor CLI from a Kanban board

Kangentic finds the right cursor-agent, makes a chat ID before each launch so the session can resume, and runs it on API key files you own.

Kangentic is our product. Cursor CLI is not. Kangentic runs the copy you install, on your own login or API key, and this page says what Kangentic does with it.

Cursor CLI is the terminal agent from the makers of the Cursor editor. Kangentic runs it as cursor-agent in each task’s worktree, either as an interactive session screen or as a print run that streams JSON.

In Kangentic Cursor CLI
Status read from Hooks
Turn-end automations run Yes
Resumes its conversation Yes
Hands its conversation to the next agent Yes
Permission modes 4
An approved plan moves the card on No
Kangentic approves its plans No
Accounts Key file
Kangentic's MCP server Yes
Runs from a WSL distro Yes

Finding the right binary

Kangentic probes cursor-agent first. Cursor also installs a short agent shim, and so does xAI’s Grok CLI, so Kangentic tries agent only as a fallback and accepts it only when its version reads the way Cursor’s does.

Two ways it reports

On a session screen, Cursor reports through ten hooks that Kangentic merges into the folder’s .cursor/hooks.json, beside your own: sessionStart, sessionEnd, beforeSubmitPrompt, preToolUse, postToolUse, postToolUseFailure, subagentStart, subagentStop, preCompact and stop. The stop hook is the turn end that runs On agent turn end automations. These hooks were built from Cursor’s docs and have not run against a real Cursor.

A print run reports on Cursor’s --output-format stream-json stream instead. Its first event names the model and the session, and its closing result event is the turn end. An interactive session gets its model and context use from Cursor’s own status bar.

Cursor runs project hooks only in a trusted workspace. A session in Confirm Changes reports nothing until you answer Cursor’s workspace prompt, and a silence timer carries it until then. Every other start passes --trust, so a new folder cannot stop it at that prompt. Cursor’s hooks report no wait on you, so a waiting Cursor card shows the envelope whatever it waits for.

Resume

Cursor names its chats itself. Before an interactive launch, Kangentic asks Cursor for a chat ID with create-chat, so the session can be resumed later, and a print run takes its ID from the stream’s first event. A resume is cursor-agent --resume=<id>, which takes no prompt, so Kangentic types the column’s message in once Cursor is ready.

Kangentic reads the transcript Cursor writes for each chat, in the working folder’s agent-transcripts/ under ~/.cursor/projects/, for the conversation view, and a handoff out of Cursor hands that file on. Its records carry no timestamp, so the view shows no clock.

Permission modes

New tasks start in Non-Interactive, so the stream’s first event names the model at once.

Mode Shown as
default Interactive (Confirm Changes)
acceptEdits Interactive (Skip Approvals)
plan Plan (Read-Only)
bypassPermissions Non-Interactive (Full Access)

The first three open a session screen. Skip Approvals adds --force, which allows commands unless one is explicitly denied, and Plan adds --mode plan. Non-Interactive is a print run. Cursor reports no approved plan, so a task in a plan column stays there until you move it.

MCP and accounts

Each session gets Kangentic’s MCP server through a kangentic entry in the folder’s .cursor/mcp.json, approved with --approve-mcps. A folder whose own .cursor/mcp.json Kangentic cannot merge its entry into, such as one with comments, is left as it is, and its sessions start without Kangentic’s tools.

Cursor runs on API key files you own. Add one under Settings > Accounts, and at each start Kangentic reads CURSOR_API_KEY or CURSOR_AUTH_TOKEN from it into the session’s environment, and writes the key nowhere else. Cursor’s own login is one per machine and stays its first account (Key-file accounts).

Try Kangentic with the Cursor CLI you have

Free and open source, on Windows, macOS and Linux.