Verifiable cognition: prove a session ledger is tamper-evident; audit & import any agent's logs.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ or use 1-click editor setup below.
๐ก Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Korg Ledger.
AskUserQuestionAsk a clarifying question with optional multiple-choice.
RecallPull relevant facts from cross-session memory (drift-checked).
RetrievePull the exact bytes of a large tool result that was sealed to a content-ref.
English ยท ็ฎไฝไธญๆ ยท ็น้ซไธญๆ
An AI coding teammate for your terminal โ that keeps the receipts.
Tell korgex what you want in plain English โ "fix the failing test," "add a healthcheck endpoint" โ and it reads your code, makes the change, runs the tests, and shows you exactly what it did. It's free and open-source, and it works with whatever AI you prefer (Claude, ChatGPT, Gemini, Grok, or a private model running on your own computer), so you're never locked to one company.
Why it's different: everything korgex does is saved to a tamper-proof record you can check later. If anyone alters that record โ even by a single character โ korgex can prove it. It's a coding assistant you can audit, not just hope to trust.
For developers: terminal-native, plan-first, speaks both the Anthropic and OpenAI tool-use protocols, runs on any OpenAI- or Anthropic-compatible model (incl. local via Ollama), connects to any MCP server, streams live, and records every run to a hash-chained causal ledger you can check with korgex verify. MIT-licensed.
Requires Python โฅ 3.10 (tested on 3.10, 3.11, 3.12, 3.13).
mainRun bare korgex with no prompt to drop into the interactive REPL.
Run bare korgex for a streaming, multi-turn session. It connects your MCP servers, reads your project rules, and keeps a per-session rewind log.
Slash commands
| Command | What it does |
|---|---|
/loop <task> | Grind a task list unattended โ auto-continues turn after turn until done, with a hard cap (Ctrl-C stops). |
/diff [n] | Colored diffs of what changed in the last turn (or turn n). |
/rewind [n] | List undo points, or restore files to BEFORE prompt n. |
/skills ยท /skills curate | List skills korgex learned (โฆ); curate merges near-duplicates. |
/tasks ยท /jobs | The live task checklist; background shell jobs. |
/plan [on|off] | Plan mode โ read-only until you approve the agent's plan. |
/model [id] | Show a priced model menu, or switch the live model mid-session. |
/verify ยท /cost | Verify the session ledger; show estimated $ spend from recorded tokens. |
/resume [id] | Reload a prior session's transcript into context and continue where you left off. |
/<name> [args] | Run a custom command โ a markdown prompt from .korgex/commands/ (or a built-in like /code-review, /build-fix, /checkpoint). |
/clear ยท /help ยท /exit | Reset the conversation ยท help ยท quit. |
Inline shortcuts
@path/to/file โ mention a file and its contents are pulled into the turn: refactor @src/auth.py to use @src/db.py.!command โ run a shell command right there: !git status, !pytest -q.Project rules. korgex init scaffolds an AGENTS.md; korgex auto-reads it โ plus any nested AGENTS.md up the tree and .korgex/rules/*.md โ every session, so it follows your house style.
Prompt caching keeps the system prompt + tools warm across turns (automatic on OpenAI/Gemini/Grok/DeepSeek; cache_control breakpoints on Claude/Qwen). Set KORGEX_CACHE_STATS=1 to see per-turn cache hits โ and every hit is recorded on the ledger, so korgex cost prices cached tokens at their real discounted rate (and shows what the cache saved you), provable with korgex verify.
The agent is provider-agnostic by design: tool schemas are translated per provider ({name, description, input_schema} for Anthropic, {type:"function", function:{โฆ}} for OpenAI), responses are normalized into a common shape, and tool results are formatted in whichever message structure the provider expects. Every tool call โ built-in, MCP, or CodeAct โ is recorded to the ledger as it happens.
In plain terms: korgex keeps a logbook of everything it does โ every file it reads, every command it runs. Each entry is sealed to the one before it, like links in a chain, so if anyone later changes, adds, or removes even one entry, the chain visibly breaks. The result is honest, checkable proof of what the AI actually did โ for audits, compliance, debugging, or simple peace of mind. As far as we know, no other coding agent does this.
Under the hood: every run is recorded to a tamper-evident causal ledger, not an opaque log. Each event is hash-linked (prev_hash/entry_hash) to the previous one and causally linked (triggered_by) to what caused it โ so a whole session can be cryptographically proven intact, and any edit, deletion, reorder, or splice is detected and localized to the offending event.
Factual signals from GitHub, npm, and our automated checks โ not a rating.
No reviews yet โ be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/korg-ledger)<a href="https://allmcps.com/mcp/korg-ledger"><img src="https://allmcps.com/api/badge/korg-ledger?style=directory" alt="Korg Ledger on AllMCPs" /></a>