Karajan Code

Karajan Code · open source

Your agent writes. Karajan governs.

Code with any AI and keep the guarantees. The test fails first, a different AI reviews every diff, and the git gates refuse what was not earned. A false green cannot get in.

Paste this into your agent (Claude Code, Codex, Cursor, VS Code):

Set up Karajan and start it for me: read karajancode.com/go.md and do everything it says.

The moment it says no

Your agent says the tests pass. Karajan checks.

A commit only enters with a verdict from a different AI, bound to the exact diff. Change one line and the verdict no longer matches: the commit is refused, even if the agent tries to skip the hook.

$ git commit -m "feat: retry on 429"

✕ kj: no verdict recorded for the current diff

run kj review --staged

$ kj review --staged

reviewer: codex · diff sha256:9c1e4a…

✓ approved · 0 blocking findings

$ git commit -m "feat: retry on 429"

✓ verdict matches the diff · sealed in the ledger

[feat/retry 3f2c1ab] feat: retry on 429

How it does it

Seven pieces, each with one job.

Five pieces of method and two tools. None of them is a prompt: each is a hook, a gate or a check that runs whether the agent agrees or not.

  1. 01TDD

    The failing test comes first, and the suite is never left red.

  2. 02Sentinel

    Watches inside the session and denies the forbidden action as it happens, with a link to the rule it broke.

  3. 03AI review

    A different AI reviews every diff. The verdict is bound to its hash: change one line and it no longer counts.

  4. 04Git gates

    The rules live in hooks and CI, not in the prompt. No verdict, no commit, and the server checks again at merge.

  5. 05SonarQube

    Static analysis and a quality gate on the code you change.

  6. 06Ledger

    Every command, verdict and exception is sealed in a hash chain, and what the agent claims is checked against what it ran.

  7. 07Steward

    Trust expires: it re-verifies the guarantees on a schedule, and stale evidence stops counting.

And atril, by the podium. Skills, commands and subagents for any AI CLI, loaded when a step needs them instead of filling the context up front.

Watch them work on a real task →

Bring your own agents

Keep your agent. Keep your editor.

Karajan does not run its own loop: it governs the one you already use. Your agent writes, another reviews, and a third settles any disagreement.

Claude CodeCodexGitHub CopilotAntigravityKimi CodeQwenOpenCodeAiderGemini

The family around it

Karajan Code

the conductor

Governs the work: method, gates, verdicts and the ledger.

kaRAGan

the memory

The agent asks your indexed code and docs before it assumes, with secrets kept out.

kaWATCHan

the watchman

Keeps many repos in view and warns when a change in one ripples into another.

atril the music standLibretto the storiesConsole the adminGovernance the kernelCore the shared groundRadar the radar in the worksMeet the whole family →

Start

One prompt. Your agent does the rest.

It installs kj, sets the project up with kj go and opens the board. It only stops you when it needs a login or sudo.

Paste this into your agent (Claude Code, Codex, Cursor, VS Code):

Set up Karajan and start it for me: read karajancode.com/go.md and do everything it says.

Node 22.12 or later · open source, AGPL-3.0 · Docs · GitHub · npm