From ticket to pull request
Build with your coding agent. Review every change.
Kanjin runs Claude Code, Codex or opencode on a ticket, in a worktree for each repository, and opens the pull request. When you review, it folds the mechanical edits, such as formatting changes and reordered imports.
For Claude Code, Codex, opencode, Gemini CLI, Droid and Hermes. Runs on macOS 15 or later and works with Jira tickets. Needs a Kanjin account; the review demo runs without one.
Prepare Worktrees · 2 · Create feature/HB-412 and the worktrees in billing-core, billing-web
✓ billing-core · worktree created · .env copied · npm ci
✓ billing-web · worktree created · npm ci
Implement
Edited src/billing/rebate.ts, src/billing/rebate.test.ts
Fleets of five or more vehicles now qualify after six months. Two new tests cover the boundary. I did not commit.
Review
1 defect. rebate.ts:33 removes the tax-ID check, but HB-412 says that it stays.
Fleet rebate after six months
⚡ Fleet pricingDescription
Fleets of five or more vehicles qualify for the rebate after six months of tenure, not twelve. The tax-ID check stays.
Worktrees
Branch
A fictional ticket of the Harborline example. The session runs on your agent; Kanjin draws the steps, the worktrees and the ticket around it.
How a ticket moves
Every ticket goes the same way. You choose each step.
Kanjin is opinionated about the workflow and neutral about the agent. The steps, the worktrees and the views come from Kanjin. The code comes from your agent, and the decisions stay with you.
- 1
Open the ticket
Pin a Jira ticket, or find one with Search Everywhere. The ticket view shows the repositories, branches and pull requests that name it, beside its description and comments.
HB-412 · In progress · Fleet pricing - 2
Prepare the worktrees
The agent chooses the repositories. Kanjin creates the branch feature/HB-412 and a worktree in each, copies files such as .env, and runs the repository’s setup command.
billing-core · billing-web - 3
Investigate and implement
Your agent starts with a brief of the ticket and Kanjin’s tools. It only reads until the worktrees exist. After that, it writes only in them.
src/billing/rebate.ts +21 −9 - 4
Review and fix
Review lists defects, Overengineer lists needless layers, and Fix applies the findings that hold. Classify folds the mechanical edits in the worktrees.
1 defect · rebate.ts:33 - 5
Ship and tell
Commit & Push opens a pull request for each worktree, and on GitHub the ticket follows its checks. Comment drafts the QA steps and Notify the Slack message; you approve each.
Pull request · 6 checks passed
Review AI-generated code
See how the business logic changes, not every line that moved.
The classifier reads the changed blocks, and the diff folds the ones that preserve behavior, such as formatting changes, reordered imports and renamed local variables. Every other change stays on screen, in the original code with its own line numbers.
git diff -w ignores whitespace. Kanjin also folds the cleanup that an agent leaves around a change, when the classifier judges that the code still behaves the same.
- The Stream view of an agent session shows each change since it started, folds it at the end of each turn, and marks what the last turn changed
- The worktrees of a ticket show their changes against the base branch, and Classify folds them
- Review, Overengineer and Fix are the agent’s own check. Your review comes after it
- A pull request or a local folder opens as a full review, with revisions, reading progress and corrections
- Uncertain, mixed and unclassified blocks are never folded
The action bar
Nine steps, one key each.
The classifier reads the ticket, its worktrees and their changes, and suggests the next step with its reason. Every other step still runs on a click or on its key. Implement and Fix ask first when you press the key, because they change files.
- 1
Prepare Worktrees
Chooses the repositories, then creates the branch feature/HB-412 and a worktree in each.
Writes in the worktrees - 2
Investigate
Reads the code, explains the cause and the scope, and ends with a plan.
Changes nothing - 3
Implement
Changes files in the worktrees of the ticket. It does not commit.
Writes in the worktrees - 4
Review
Reads the changes of every worktree and lists defects.
Changes nothing - 5
Overengineer
Looks for needless abstraction, extra layers and unclear names.
Changes nothing - 6
Fix
Fixes the findings that it judges valid, and skips the others. It does not commit.
Writes in the worktrees - 7
Notify
Drafts a short Slack message and picks the thread or the person.
You approve it first - 8
Comment
Drafts a ticket comment, such as how QA tests the change.
You approve it first - 9
Run Locally
Finds the commands that start each worktree. Kanjin runs them after you approve them.
You approve it first
Chains
Line up the steps once. Kanjin runs them in order.
A chain runs up to eight steps of a ticket in its session, one after the other. Before each step, Kanjin reads the worktrees again and applies its own rules. It waits at each approval and stops at the first failure, so a chain goes only as far as the work allows.
Start a chain, open another ticket, and come back when the notification says that it ended.
- 1 Prepare Worktrees Done
- 2 Investigate Done
- 3 Implement Done
- 4 Review Codex Overengineer Claude Code Runs
- 5 Fix Next
Built by dragging
Drag a step from the action bar into a slot, or choose Add to Chain in its menu. Move a step with a drag, and repeat a step when the work needs it.
Two agents, one slot
Investigate, Review and Overengineer can share a slot and run side by side. Each can run on an agent of its own, such as Review on Codex while the session runs on Claude Code, and reports back to the session.
Saved with a name
Save a chain, and load it on any ticket of any workspace. Kanjin includes three: Investigate and Comment, Implement and Check, and Check and Fix.
Stopped when you choose
Stop After This Step lets the running step end, and Stop Chain stops at once. A failed step stops the chain, and an approval holds it until you answer.
Automations
A ticket enters the list. Its chain starts by itself.
An automation runs a saved chain on the tickets of a Jira list: the board, the sprint and the filters of the page where you make it. Kanjin reads the list every five minutes, and each new ticket starts the chain once. On a schedule, the chain runs on every ticket of the list instead, on weekdays or every day.
- One ticket runs at a time for each automation, and the others wait in its queue
- A ticket whose session is busy, or waits for you, is skipped
- Comment, Notify and Run Locally still wait for your approval
- No step commits or pushes: you review the changes, then start Commit & Push
- A notification says when an automation starts a chain, and when the chain ends
Automations run on your Mac while Kanjin is open. A scheduled run that Kanjin missed starts when it opens on the same day.
Your agent
Kanjin brings the ticket. Your agent does the work.
Kanjin builds no agent of its own. It runs the agents that you already use, signed in with your own plan. It holds no model keys and bills no tokens.
An agent also runs on its own, in any folder. The Terminal view is the agent’s own interface. The Stream view shows its messages beside the changes that it made since the session started, and both views share one session.
Kanjin finds the agents through your login shell, with the same PATH as your terminal.
Limits that the agent’s sandbox applies, not a prompt
It reads before it writes
Until the ticket has worktrees, a ticket session only reads. Each agent runs in its own read-only mode: read tools only, a read-only sandbox, or a plan mode.
It writes only in the worktrees
Implement and Fix can change files only in the ticket’s worktrees. The agent’s own sandbox applies the limit, so an approval cannot widen it. Your checkouts stay as they are.
It commits only on your word
Implement and Fix never commit. Commit & Push commits when you start it, and Kanjin pushes only after you confirm the plan for each repository.
It asks before it acts outside
New worktrees, a status change, a ticket comment, a Slack message and a local run each wait for your approval in the session, also when the agent allows its own tools.
opencode has no sandbox for commands, so Kanjin asks before each command that it runs, and says so before Implement.
Context
Everything the ticket needs, where the agent can read it.
An administrator connects each provider once for the workspace. Each member links their own account, and Kanjin shows each member only what that account can read.
Jira gets the full ticket view: boards, sprints, filters, epics and pins, from as many sites as the workspace uses. Linear lists issues, with pins. Both change a status from Kanjin.
The branches and pull requests that name a ticket, and every repository on your Mac. On GitHub, the ticket shows the checks of its pull requests.
Pinned pages and local vaults, read only. The brief names each page that the ticket links to, and the agent reads it through Kanjin.
Notify finds the threads that mention the ticket. A message goes out as you, after you approve it.
The Kanjin tools
A ticket session gives the agent Kanjin’s own MCP server, inside the app on your Mac, with a new token for each session. Kanjin changes no configuration file. A tool works only on the ticket of its session and on your own connections.
- read_ticketThe ticket, its comments and its status
- read_knowledge_pageA Confluence or Notion page, or a vault note, as Markdown
- classify_changesWhat the classifier makes of a worktree’s changes
- create_worktreesThe worktrees, in the repositories that the agent names, after you approve them
- set_ticket_statusA new status, after you approve it
- draft_ticket_commentA comment on the ticket, after you approve it
- draft_slack_messageA message to a thread, a channel or a person that the agent found, after you approve it
- start_local_runThe commands that start each worktree, after you approve them, and their output
Built like an IDE
The window, the keys and the habits of an IDE.
Kanjin is a native Mac application. It keeps each session, each worktree and each ticket in its place while you move between them.
Search Everywhere
Double Shift or ⌘K opens one popup that finds tickets, reviews, files, repositories, agents, knowledge pages and actions.
⇧⇧The keyboard
1 to 9 run the steps of a ticket. In a diff, J and K move through the blocks, E expands one, V keeps it visible, and F switches the focused and the full diff.
JKEVFWorktree setup
Each repository names the files to copy into a new worktree, such as .env, a setup command, such as npm ci, and a teardown command.
Run Locally
The agent finds how each worktree starts, on its own port when the repository allows it. Kanjin runs the commands after you approve them, each in a terminal of its own.
Notifications
When an agent waits for you or finishes a turn, when a chain ends, and when the checks of a pull request end. Only for what is not on your screen now.
Islands, and eleven more themes
The Islands look of the JetBrains IDEs by default, light or dark, and themes such as GitHub, Dracula, Solarized, Nord and Tokyo Night.
Trust and limits
What leaves your Mac, and what Kanjin will not do.
Kanjin runs on your Mac, with your agent and your accounts. The classifier is a model: it can be wrong, and it can be missing. The design assumes that.
Read the trust pageYour agent’s provider reads the ticket
The brief, and each page and file that your agent reads, go to the agent’s model provider, as they do without Kanjin. You chose that agent and signed in to it.
The classifier reads changed blocks
Kanjin sends the enclosing function in both versions, its imports and the declarations it references. You accept this when you create your account. Kanjin keeps no source code except a block whose category you correct, and deletes what it keeps after one year.
Collapsed does not mean cleared
A collapsed block is one that the classifier judged behavior-preserving. That is a judgement, not a proof. Kanjin never labels a change safe to merge, never approves a pull request and never merges one.
Nothing disappears on failure
When an analysis fails, times out or comes back partial, the affected code stays visible and the view says so. When the classifier cannot suggest a step, Kanjin’s own rules do.
Questions
Questions about Kanjin, with short answers.
What is Kanjin?
Kanjin is where you build with your coding agent and review every change. It takes a ticket from the issue tracker to a pull request on the agent that you already use, and it folds the mechanical edits when you review. It runs on macOS 15 or later and works with Jira tickets.
Does Kanjin have its own AI agent?
No. Kanjin runs your agent, signed in with your own plan. It has no agent loop of its own, holds no model keys and bills no tokens. It adds the ticket context, its own tools, worktrees across repositories, and the classifier.
How is Kanjin different from an AI pull request reviewer?
A pull request reviewer reads the pull request after it opens and comments on it. Kanjin never comments on a pull request. It runs your agent’s Review and Fix in the worktrees before the pull request exists, and it folds the mechanical edits, so that you read less of the change.
Which coding agents work?
Claude Code, Codex, opencode, Gemini CLI, Droid and Hermes, found through your login shell. Claude Code, Codex and opencode also get the Stream view and Kanjin’s tools. An agent on another machine connects over SSH.
Can the agent change files outside the ticket?
Until the ticket has worktrees, a ticket session only reads. Implement and Fix write only in the ticket’s worktrees, and the agent’s own sandbox applies that limit, not an approval. opencode has no sandbox for commands, so Kanjin asks before each one and says so before Implement.
Does Kanjin commit, push or merge for me?
Implement and Fix never commit. Commit & Push runs only when you start it: the agent commits in each worktree and writes the pull requests, and Kanjin pushes after you confirm the plan. Kanjin never merges a pull request.
Can Kanjin work on tickets while I do something else?
Yes. A chain runs up to eight steps of a ticket in order while you open other items. An automation starts a saved chain when a ticket enters a Jira list, or on a schedule, while Kanjin is open on your Mac. Comments, Slack messages and local runs still wait for your approval, and no step commits or pushes.
What does the classifier do?
It suggests the next step of a ticket from the ticket, its worktrees and their changes. It also classifies changed blocks, so that the diff can fold the ones that preserve behavior. Uncertain, mixed and unclassified blocks stay visible, and nothing is ever labelled safe to merge.
Which languages and providers are supported?
The agents work in any language. The classifier reads TypeScript and JavaScript first; other files stay visible and unclassified. Jira Cloud holds the tickets, and Linear issues are listed. GitHub, GitLab and Bitbucket hold the code, Confluence, Notion and Obsidian the knowledge, and Slack the messages.
Does source code leave my Mac?
Yes, in two ways. Your agent sends what it reads, the ticket brief included, to its own model provider, as it does without Kanjin. When the classifier reads a change, Kanjin sends the enclosing function in both versions, its imports and the declarations it references. Kanjin keeps no source code except a block whose classification you correct, and deletes what it keeps after one year.
How is access granted?
An administrator connects each provider to the workspace, through the provider’s own authorization. Each member then links their own account, and Kanjin shows each member only what that account can read. Signing in with GitHub identifies you; it gives Kanjin no access.
Do I need the Mac application?
For the development environment, yes: it needs macOS 15 or later and a Kanjin account. The web workspace runs in any browser. There you create the account, invite members, connect providers and read pull request reviews.
Bring your next ticket. Keep your agent.
Download Kanjin for Mac and sign in. It finds the agents on your machine and the repositories that you add. The review demo runs without an account.