Arkhim MCP · Open-Source Deterministic Verification · Apache-2.0

LLMs & AI agents fabricate success.
Force them to prove it.

Your LLM or AI agent declares victory while hiding swallowed exceptions, broken shortcuts, and dead citations. Arkhim is a zero-dependency MCP server that verifies code, live URLs, and hidden tests deterministically—with zero LLM judges.

pip install git+https://github.com/Ntooxx/Arkhim
Zero Python dependencies Works with OpenCode, Claude & Cursor HMAC-SHA256 signed receipts

What the AI agent claimed

All tests pass. The parser now handles malformed records cleanly. claimed_status: "COMPLETE" confidence: 0.82 unit tests: Ran 2 tests ... OK

What Arkhim MCP caught

$ arkhim scan_code solution.py ✗ SWALLOWED_EXCEPTION high solution.py:22 except Exception: pass verdict: FAIL_TAMPERING receipt: hmac-sha256 8f3a…c91e → Agent forced to fix root cause
The AI reliability gap

LLMs excel at generating output. They fail at telling you the truth about it.

Ask an agent to build a feature and it delivers fast. Ask whether the code is actually safe, whether a market really exists, or whether a citation is real—and it defaults to flattery, premature green checkmarks, and silent shortcuts.

FAIL_TAMPERING

Green tests hiding silent shortcuts

Unit tests turn green because the agent swallowed an exception, stubbed out hard logic, or weakened assertions—then confidently reported completion.

except Exception: pass
FAIL_FAKE_HOPE

Sycophantic "wide open" pitches

Ask about a product or strategy and the model validates your excitement. Real competitors and fatal flaws only surface after you push back repeatedly.

"Wide open!" → pushback → "Actually, saturated"
FAIL_UNVERIFIED

Fabricated URLs and unverified claims

Agents invent plausible-looking links and cite exact prices from memory. Click the source and you hit a 404 or a page that never mentioned the claim.

github.com/.../s/LENSE → 404 Not Found
How Arkhim MCP works

Four deterministic verification gates. Zero LLM judges.

An AI cannot talk its way past a parser. Every claim passes through mechanical code inspection, live HTTP and content verification, isolated test oracles, and cryptographic signing.

01 · AI AGENT OUTPUT "Task COMPLETE" "Market GO / Viable" Code diff or research claims 02 · ARKHIM MCP GATES scan_code() · AST gate verify_research() · HTTP oracle() · hidden tests ✓ PASS / HONEST HALT Signed HMAC-SHA256 receipt ✗ FAIL_* BLOCKED Tampering or fake claim caught
GATE 01

AST Anti-Tampering Gate

Parses changed Python lines to detect swallowed exceptions, stub implementations, overfit special cases, weakened or trivial assertions, mocks in production code, and altered test configs.

PASSFAIL_TAMPERING
GATE 02

Isolated Hidden Oracle

Executes hidden test suites inside a locked, network-free Docker sandbox. Impossible tasks explicitly reward an honest BLOCKED instead of fabricated solutions.

PASSPASS_HONEST_HALTFAIL_FAKE_HOPEFAIL_UNDERCLAIM
GATE 03

Live URL & Content Verification

Fetches every cited source, confirms the page actually contains the claimed figures and keywords, requires adversarial competitor searches, and rejects positive GO verdicts when contradicting evidence exists.

PASSFAIL_UNVERIFIEDFAIL_NO_FALSIFICATIONFAIL_FAKE_HOPE
GATE 04

Tamper-Evident HMAC Receipts

Every verification produces a canonical JSON receipt signed with HMAC-SHA256. Modify a single byte afterwards and signature verification fails immediately.

VALIDTAMPERED
Built for engineering rigor

What changes the moment you turn Arkhim on.

ZEROunverified factual claims allowed past the gate once live URL and content checks are enabled
ASTblocks swallowed exceptions, stubs, and weakened tests even when unit tests look green
NO_GOstops premature "wide open" pitches whenever contradicting evidence or cheaper competitors exist
HMACevery verdict produces a cryptographically signed SHA-256 audit receipt

Verify your own AI workflows and benchmarks locally with arkhim certify.

MCP server integration

Connect to OpenCode, Claude, Cursor, or any MCP client in 60 seconds.

Stdlib-only Python with zero third-party dependencies. Your agent invokes Arkhim before declaring completion and returns the deterministic verdict and signed receipt.

scan_codeAudit Python diffs for shortcuts before marking a task done
verify_researchValidate live URLs, page content, and adversarial checks
verify_receiptConfirm an HMAC-SHA256 receipt has not been altered
reportCompute honesty, fake-hope, and revision metrics from SQLite
{
  "mcpServers": {
    "arkhim": {
      "command": "python",
      "args": ["-m", "ntox.mcp_server"],
      "env": {
        "ARKHIM_SIGNING_KEY": "<64 hex chars>"
      }
    }
  }
}
# Run the verification suite on any OpenAI-compatible model
arkhim certify --kinds all --model <model> --db code.db
arkhim certify --kinds research --model <model> --db research.db
arkhim certify --chain --kinds trapped --db chains.db
arkhim report --db chains.db
Open core model

Verification is open source forever. Team governance is built for scale.

Available now

Arkhim Core

Free · Apache-2.0
  • Full AST anti-tampering gate, hidden oracles, and research verification gate
  • Zero-dependency MCP server and CLI
  • Solvable, trapped, and research verification tasks
  • HMAC-SHA256 signed receipts with SQLite and JSONL export
  • Works with OpenRouter, local models, and any OpenAI-compatible API
Get Started on GitHub
Early Access · Waitlist

Arkhim Enterprise

Custom · for teams running agents in CI & production
  • Centralized, append-only archive of signed receipts across repositories
  • CI/CD policy gates that block merges and deploys on any FAIL_* verdict
  • Team dashboards tracking fake-hope rate, tampering rate, and model drift
  • SSO, custom policy rules, and audit-ready compliance exports
  • Dedicated onboarding and engineering support
Join Early Access
Content verification checks number and keyword overlap, not full semantic proof. JavaScript-only or bot-protected pages fail closed.
The AST gate covers Python and known tampering patterns—it strengthens test suites rather than replacing thorough code review.
Public benchmark tasks can eventually enter model training data; treat public leaderboard claims cautiously and run private tasks.
Deterministic gates catch structural shortcuts and unverified sources, not every subtle business-logic bug.

Stop trusting unverified green checkmarks.

Make your LLMs and AI agents prove every claim before it reaches production.