GitHub
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
作者提供的说明(英文原文)
Wrap any korg:introspect@v1-aware binary as a Claude Code tool, honoring declared side-effects.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"korg-introspect": {
"command": "npx",
"args": [
"-y",
"@korgg/introspect-mcp"
]
}
}
}在终端中运行这条命令
claude mcp add korg-introspect -- npx -y @korgg/introspect-mcp粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"korg-introspect": {
"command": "npx",
"args": [
"-y",
"@korgg/introspect-mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"korg-introspect": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@korgg/introspect-mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月9日
注册名称已通过 GitHub 账户 New1Direction 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.1.1)于5个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:GitHub, Desktop Commander, Cloudflare MCP
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
MCP server for terminal commands, file operations, and process management
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
A tamper-evident, SHA-256-chained ledger for AI agents. *Every step your agent takes is recorded in a hash chain anyone can verify — edit one event and the chain names it. No trust in the producer, no blockchain.*
English · 简体中文 · 繁體中文
Build the standalone verifier (~10s cold — it compiles only the ledger crates), verify a recorded Claude Code session, then rewrite one event and watch the chain catch it:
git clone https://github.com/New1Direction/korg && cd korg
cargo build --release -p korg-verify cp spec/korg-ledger-v1/web/samples/session.jsonl /tmp/session.jsonl
./target/release/korg-verify /tmp/session.jsonl
sed -i.bak '4s/return a - b/return a + b/' /tmp/session.jsonl # rewrite the agent's edit
./target/release/korg-verify /tmp/session.jsonl
No Rust toolchain? Drop the same file into the in-browser verifier — it runs locally and sends nothing.
The same korg-ledger@v1 format ingests traces from three architecturally different production agents, with causal structure (spec §2a) preserved through the round-trip:
| Agent | Transport | Tool shape | Adapter | Tests |
|---|---|---|---|---|
| Claude Code | JSONL on disk + live hooks | Anthropic tool_use / tool_result blocks | adapters/claude-code — smoke-tested on a real 3,141-event session, zero dropped | 58 ✓ |
| OpenAI Codex CLI | WebSocket frames | OpenAI function_call + freeform custom_tool_call | adapters/codex-ws | 11 ✓ |
| Grok Heavy | NDJSON stream | 16-agent parallel fan-out | adapters/grok-heavy | 14 ✓ |
Because all three land in one format, one verifier checks them all — and it has byte-identical Rust, Python and JS implementations, differentially fuzzed against each other with 0 divergences. Known limits are written down rather than hidden: see the Grok Heavy limitations (ingest order vs. wall-clock concurrency, cross-agent chatroom edges).
AI agents are black boxes. When they fail, you can't debug. When they succeed, you can't reproduce it.
When they do something wrong, you can't undo it.
Korg fixes this.
[!NOTE]
Universal Ingestion Integration Mode:
Korg v1 is an MCP-callable audit sink. Any MCP-compatible coding agent (Claude Code, Codex, etc.) can call korg's tools to record its session as a causally-linked, replayable, rewindable ledger. The agent must be instructed to log its actions — typically via system prompt or MCP server configuration. Fully passive auditing without agent cooperation is on the roadmap for future versions.
[!WARNING]
Trust Boundary & Deployment Scope:
Korg v1 is designed strictly for local, single-user workspaces. Multi-tenant and networked deployments require cryptographic authentication and permission bounds that are not yet shipped. Running the server on an untrusted or public network exposes workspace read/write access.
Korg is a cognitive hypervisor — a runtime layer that sits beneath your AI agents and governs every decision they make.
It doesn't replace your LLM. It governs what the LLM does.
Foundation Model → predicts, suggests, generates
──────────────────────────────────────────────────────────── Korg Cognitive Runtime → schedules, validates, isolates, reconciles, replays, heals, governs
Every agent action is:
You can run the built-in sandbox demo to see cognitive time-travel in action. The demo sets up a temporary workspace with a buggy Python script, lets a simulated coding agent make a wrong edit, catches the test failure, rewinds the workspace and ledger to before the edit, and speculatively commits the correct fix:
cargo run -- demo
You will see the complete, colorized time-travel sequence:
⚡ STARTING KORG COGNITIVE TIME-TRAVEL DEMO ⚡
──────────────────────────────────────────────────────────────────────────────── [korg] Initializing sandboxed demo environment... [korg] Created temporary workspace with math_utils.py (subtraction bug present).
🚀 PHASE 1: AGENT INITIATES RUN (WRONG PATH) [seq 390] actor: agent:claude-code@0.2.29 | tool: user_prompt | prompt: "Fix subtraction bug and verify tests pass" [seq 391] actor: agent:claude-code@0.2.29 | tool: Read | file: math_utils.py [seq 392] actor: agent:claude-code@0.2.29 | tool: Edit | result: "Modified return a + b (wrong fix)" [seq 393] actor: agent:claude-code@0.2.29 | tool: Bash | command: "pytest" -> ❌ FAILED (2 tests failed)
📊 LEDGER STATE (BEFORE REWIND): Before rewind: events 390-393 (prompt, read, edit-wrong, test-failed) ├── seq 390 (user_prompt) -> triggered_by: None ├── seq 391 (Read) -> triggered_by: Some(390) ├── seq 392 (Edit) -> triggered_by: Some(391) ├── seq 393 (Bash) -> triggered_by: Some(392)
⏳ PHASE 2: INITIATING REVERSIBLE REWIND TO SEQ 391 [korg] Truncating journal ledger to sequence ID 391... [korg] Restoring workspace snapshot via git read-tree (O(1))... [korg] Reset math_utils.py file state back to sequence 391 bug state. [korg] Rebuilding 3 read-model projections...
📊 LEDGER STATE (AFTER REWIND): After rewind: events 390-391 (prompt, read) ├── seq 390 (user_prompt) -> triggered_by: None ├── seq 391 (Read) -> triggered_by: Some(390)
🚀 PHASE 3: AGENT DIVERGES DOWN CORRECT PATH (SPECULATIVE REPLAY) [seq 392] actor: agent:claude-code@0.2.29 | tool: Edit | result: "Modified return a - b (correct fix)" [seq 393] actor: agent:claude-code@0.2.29 | tool: Bash | command: "pytest" -> ✓ PASSED (2 passed)
📊 LEDGER STATE (AFTER DIVERGENT RUN): After new run: events 390-393 (prompt, read, edit-right, test-passed) ├── seq 390 (user_prompt) -> triggered_by: None ├── seq 391 (Read) -> triggered_by: Some(390) ├── seq 392 (Edit) -> triggered_by: Some(391) ├── seq 393 (Bash) -> triggered_by: Some(392)
✓ DEMO COMPLETE: Time-travel execution succeeded! Ledger truncated, workspace rolled back, and a different future was successfully committed.
*No other AI agent runtime lets you do this.*
Korg is built on the same theoretical foundations that make databases and operating systems reliable — applied to AI cognition for the first time.
| Invariant | What it means |
|---|---|
| Append-only WAL | Every cognitive event is a ledger entry. Nothing is mutated, only appended. Like a database WAL, but for AI thought. |
| HLC Causal Ordering | Hybrid Logical Clocks guarantee globally consistent, causally ordered event streams — even across distributed swarm workers. |
| Deterministic Replay | Any campaign can be replayed byte-for-byte from the ledger. Same inputs, same outputs, every time. |
| Speculative Branches | Fork execution into parallel hypothetical paths. Preview before committing. Discard freely. |
| Execution Checkpoints | Snapshot the entire runtime state: ledger offset, projection views, lease maps, workspace tree. Restore in O(1). |
| Micro-Healing | Transient failures (lock conflicts, stale state) are automatically healed at the effect level, with full retry audit trails. |
| Semantic Governance | Swarm actions are validated against BERT embedding cosine similarity — semantic alignment, not keyword matching. |
┌────────────────────────────────────────────────────────────────┐
│ korg v0.1.0 │ session: 019e5333-efc9-7c70 │ ● ACTIVE │ ├───────────────────────────────┬────────────────────────────────┤ │ SWARM PLAN │ LIVE MERKLE LEDGER │ │ ├─ [●] Captain [PLANNING] │ (tx_00)→(tx_01)→[tx_02]→... │ │ ├─ [●] Harper [RESEARCH] │ │ │ ├─ [●] Benjamin [SYNTHESIS] │ TELEMETRY │ │ └─ [○] Lucas [IDLE] │ ├─ Velocity 85.2 t/s ▇▆▄▂█ │ │ │ ├─ Entropy 0.451 ▄▃▂▃▄ │ │ GOVERNANCE GATES │ └─ Progress 68.7 % ▂▃▄▅▆▇ │ │ ├─ 🟡 Amber Security [IDLE] │ │ │ ├─ 🟢 Consensus [ACTIVE] │ LEDGER STREAM │ │ └─ 🔵 Steering Fork [IDLE] │ [tx_03] Benjamin: patch auth │ └───────────────────────────────┴────────────────────────────────┘
The crate is not yet published to crates.io; install from source:
git clone https://github.com/New1Direction/korg
cd korg cargo build --release ./target/release/korg --help
cd crates/korg-bridge
maturin develop # builds the PyO3 extension into the active venv python3 -c "import korg_bridge; print(korg_bridge.version)"
# Interactive TUI dashboard
korg campaign --tui --prompt "Refactor the auth layer to use JWTs"
korg campaign --web --prompt "Optimize the database connection pool"
cargo check, so on a large repo a cold--speculative pre-warms a shared target dir.korg --goal "Write and validate a full test suite for src/parser.rs"
--provider ollama makes it live.korg --goal "Fix the failing test in src/lib.rs" --provider ollama --model qwen2.5:7b
korg --preview "Refactor the main event loop"
# Rewind the capability journal (.korg/capability_journal.json) to a prior
korg --goal, korg campaign);korg demo shows thekorg rewind --seq 4
korg run-once "Fix the add function in src/lib.rs so it adds"
cargo check, and attests only what actually changed.korg run-once "Fix the bug in src/lib.rs: max() returns the minimum. Output the COMPLETE corrected src/lib.rs: \\\rust $(cat your-repo/src/lib.rs) \\\"
只显示了开头部分;其余内容请在仓库中阅读