Stop AI agents from silently committing lies.
AI agents fail quietly when they act on outdated memory, corrupted prompt caches, or altered tools — and still tell you everything succeeded. Deadkey is an open-source, 0 MiB GPU-VRAM verification layer that sits in front of any AI model or agent stack: blocking bad state before execution, signing tamper-proof receipts anyone can verify offline, and keeping your GPUs running at full speed.
Pure Python 3.10+ stdlib core (dependencies = []) + optional Apache-2.0 Rust PyO3 core (_deadkey_core v0.2.0, AVX-512 VPOPCNTDQ, ed25519-dalek + rayon) & standalone deadkeyd. v2.4.0 ships standard DSSE 1.0 in-toto v1 Ed25519 envelopes (verified offline on Linux via raw OpenSSL 3.5.5 + Git bare-remote pre-receive refusal), pre-execution MCP TOFU schema-pinning (mcp_latch.py), and consumer-derived kv-seal/v1.1 blocking 6/6 attacks on live vLLM 0.34.0 + LMCache 0.5.7.post1.
Where Deadkey Protects Real AI Workflows
Whether you are shipping coding agents, running private enterprise RAG, sharing one GPU across multiple assistants, or building offline edge AI — Deadkey stops silent state corruption before it hits production.
No More Hallucinated Merges or Sneaky Tool Swaps
Agents frequently read a file, miss an edit two turns later, or trust an MCP server whose schema changed mid-run. Deadkey pins tool definitions before execution and stamps every approved action with an offline-verifiable Git & OpenSSL cryptographic receipt.
Memory That Knows What Was True — and When
Standard vector databases silently resurface superseded policies, expired prices, and deleted records. Deadkey's bi-temporal memory tracks exact validity windows and conflicts so agents never act on yesterday's revoked rules.
Keep 99.3% of Warm Cache Speed Without Cross-Talk
Sharing a fast GPU across multiple agents via vLLM, LMCache, or SGLang risks silent cache corruption on weight updates or layout changes. Deadkey's kv-seal verifies every shard at sub-millisecond overhead and resets only the exact corrupted slot.
Private AI Across Desktop and Phone — Zero Cloud Leakage
Keep sensitive operational data strictly on your own workstation and mobile silicon. Deadkey runs at 0 MiB GPU VRAM with hardware-backed cryptographic approvals and a single portable Rust core across Windows, Linux, and Android.
DSSE + OpenSSL 3.5.5 + MCP TOFU Latch + Live vLLM / LMCache kv-seal/v1.1
Every v2.4.0 primitive ships in pure Python 3.10+ stdlib (dependencies = []) with optional Rust _deadkey_core native wheels (56/56 dual-mode tests GREEN, 6/6 CI, 7/7 wheel builds) — hardened by a 10,000-iteration chaos fuzzer and verified end-to-end on live vLLM 0.34.0 + LMCache 0.5.7.post1.
Receipts 263368099f16a0d5 (fuzzer, Git bare-remote pre-receive, OpenSSL 3.5.5 interop, corrected A7 MC table), 4c01bdbd984158d1 (lmcache 0.5.7.post1 6/6 attacks), and cbb37f094bbcea4f (live vLLM 0.34.0 Qwen/Qwen3-8B-AWQ 4-policy 16 MiB disk-shard TTFT & 2-arm restore trace).
1. DSSE in-toto v1 + Raw OpenSSL 3.5.5
deadkey/dsse_envelope.py signs standard DSSE 1.0 PAE Ed25519 envelopes (0.0636 ms Rust sign+verify). Verified on a second Linux machine using raw OpenSSL 3.5.5 with zero Deadkey code installed (3/3 tampers rejected). Real Git bare-remote pre-receive hook accepts Tree A and blocks sneaky Tree B (TREE_OID_MISMATCH).
2. Pre-Execution MCP TOFU Latch
deadkey/mcp_latch.py pins MCP tool schemas on first use (ToolSchemaPinStore), blocking silent tool-description rug-pulls, .env/secret-argument exfiltration, and stale memory epochs before execution (2,500/2,500 chaos mutations blocked, 0 FN/FP, 0.037 ms p50). Scope: schema/arg latch, not an OS syscall sandbox.
3. Live vLLM / LMCache kv-seal/v1.1
deadkey/kv_seal.py binds KV shards to consumer-derived GQA layouts (#4463/#14416), weight revisions (#26792), LoRA/steering hashes, and scoped epochs — catching 6/6 attacks and firing live POST /reset_prefix_cache HTTP 200. Honest A7 bound: 0% single-hit guarantee against honest producer bugs; 1% cold sampling reaches 99.9% within B=688 faulty restores.
| Live vLLM 0.34.0 + LMCache 0.5.7.post1 Policy (16 MiB Shard) | Disk Read | Verify Overhead | Effective Warm TTFT | Warm Savings Kept | Attacks Caught |
|---|---|---|---|---|---|
| 1. Unchecked Disk Restore (baseline) | 3.33 ms | 0.00 ms | 42.34 ms | 100.0% | 0 / 6 |
| 2. CRC32 Checksum Only | 3.33 ms | 2.57 ms | 44.91 ms | 99.8% | 1 / 6 (bitflip only) |
| 3. Versioned Key (assumes honest writers) | 3.33 ms | 0.002 ms | 42.35 ms | 100.0% | Honest writers only |
4. Deadkey kv-seal/v1.1 (Pure-Py Ed25519 in container; Rust cuts 3.07→0.03 ms) |
3.33 ms | 8.11 ms (0.63% cold) | 50.45 ms (25.4× vs cold) | 99.3% | 6 / 6 + Offline Audit |
Live Two-Arm Restore Trace on the Same Intact Shard (Qwen/Qwen3-8B-AWQ, Cold TTFT 1,279.80 ms, Warm HIT 39.01 ms, sha=cbb37f094bbcea4f):
Matching consumer HIT served in 36.90 ms; packed GQA layout change (#4463/#14416) rejected with LAYOUT_MISMATCH → live POST /reset_prefix_cache HTTP 200 → exact-match cold recompute (1,195.89 ms); weight revision change (#26792) rejected with MODEL_REVISION_MISMATCH → live HTTP 200 → exact-match cold recompute (1,196.19 ms).
Click to Try: Break vs. Hold Sandbox
Pick any real agent failure trap below. Watch what an unguarded 24B–74B LLM silently commits on the left vs. what Deadkey's 0.14 ms CPU verifier catches and signs on the right — zero LLM-as-a-judge required.
Exact transcripts & wire traces sampled from SHA-sealed heldout_sealed (sha=883ca740f87a84e0) and live vLLM/SGLang DK-KV receipts. Compare unguarded greedy output against deterministic sub-symbolic verification + 64-byte DK-v2 frame + RFC 8032 Ed25519 ledger entry.
Watch It Hold on Any Machine
Zero Docker, zero Neo4j, zero GPU VRAM required. Drop Deadkey in as a Python library, 11-tool MCP server, OpenAI/Anthropic/NIM proxy, or offline CLI auditor.
5 Independent Architectures Rescued to 100.0% (0 False Commits)
Deadkey is model-agnostic. Across five completely different open-weight families running on both a 32 GB RTX 5090 and a 12 GB RTX 4080, raw models committed between 5 and 23 silent lies out of 36 traps. Deadkey's 0.14–0.17 ms CPU verifier eliminated every single false commit with zero false refusals — and stayed silent (ABSTAIN_OOD) on unseen YAML/TOML/XML formats so it never hurts unfamiliar schemas.
Blind one-shot evaluation on SHA-sealed Ceiling-Breaker v3.2 (N=48 per model, split_sha=883ca740f87a84e0, 12 grounded positives + 36 adversarial traps) + True OOD non-regression suite (N=24 unseen YAML/TOML/XML/INI/Markdown). All 4 non-Gemma models verified live with deadkeyd 64B LAN UDP witnessing (sha=b7221d2b & 2cedeb15).
| Model Architecture & Hardware | Raw Strict | Raw Silent Lies | Deadkey Rescue | Deadkey Lies / FR | CPU Overhead | Paired McNemar |
|---|---|---|---|---|---|---|
| Qwen3.8-27B (NVIDIA NVFP4 + MTP · RTX 5090) | 37/48 (77.1%) | 7 | 48/48 (100.0%) | 0 / 0 | 0.137 ms | p = 0.000977 |
| Nemotron-3.5-Bolt 74B-A9B (Hybrid Mamba/MoE · RTX 5090) | 34/48 (70.8%) | 14 | 48/48 (100.0%) | 0 / 0 | 0.148 ms | p = 0.000122 |
| Gemma-4-31B-it (NVFP4 · RTX 5090) | 34/48 (70.8%) | 9 | 48/48 (100.0%) | 0 / 0 | 0.167 ms | p = 0.000122 |
| Ternary-Bonsai-2.5-27B (1.58-bit · RTX 4080 12 GB) | 31/48 (64.6%) | 5 | 48/48 (100.0%) | 0 / 0 | 0.157 ms | p = 1.53e-5 |
| Devstral-Small-2-24B (Mistral3 UD-Q4_K_XL · RTX 5090) | 22/48 (45.8%) | 23 | 48/48 (100.0%) | 0 / 0 | 0.142 ms | p = 3.0e-8 |
| POOLED 5-ARCHITECTURE TOTAL (N = 240) | 158/240 (65.8%) | 58 | 240/240 (100.0%) | 0 / 0 | 0.14–0.17 ms | 82W / 0L |
4-Bit Quant & Q4_0 KV Cache (4K→32K) + Agent Tokens-Per-Task
Honest myth-busting finding (N=180 across 5 configs × 4K/16K/32K, 12 stratified probes reused per cell, sha=a55eadcf): Switching F16 KV → Q4_0 KV for 32K long-context runs saved 1.63 GB VRAM on Qwen3.8-27B and 4.37 GB VRAM on Devstral-24B with no detectable accuracy drop (+2 / 0 at N=12/tier). The real silent killer was raw model false-commit rate (54 silent lies raw, 41 on Devstral-24B alone) — and pairing NVFP4 + Q4_0 KV with Deadkey's 0.21–0.88 ms per-tier median CPU verifier (0.508 ms overall median) gave BOTH the 4.37 GB VRAM savings AND 180/180 (100.0%, 0 lies, per-config p=0.0156..9.5e-7).
Bare-Metal Silicon & Receipt Console
Inspect exact verified receipts from our dual-GPU lab (Ryzen 9 9950X3D + RTX 5090 + bare-metal Ubuntu 26.04.1 RTX 4080). Click any subsystem tab below.
One-Line Retrofit for Any Agent Stack — Audit-Ready Out of the Box
No model retraining, no vector DB cluster, no GPU memory tax. Drop Deadkey between any existing agent and its LLM or tool layer.
1. Drop-In API & MCP TOFU Gateway
Point OPENAI_BASE_URL at deadkey-proxy (works with llama.cpp, vLLM, SGLang, NVIDIA NIM, TRT-LLM, OpenAI) or wrap MCP tools with deadkey/mcp_latch.py & deadkey-mcp via deadkey-init to block rug-pulls and .env exfiltration pre-execution.
2. OpenSSL-Verifiable DSSE Audit Trails
Every COMMIT / REFUSE decision emits a standard DSSE 1.0 in-toto v1 Ed25519 receipt verifiable offline with raw OpenSSL 3.5.5 (zero Deadkey code on verifier) plus Git pre-receive Tree-OID enforcement and 558k–590k/s parallel Rust batch verify (32T, 256 B, no fsync).
3. Live vLLM / SGLang / LMCache kv-seal/v1.1
KvSealLMCacheBackend binds KV shards to consumer-derived GQA layouts (#4463/#14416), weight revisions (#26792), LoRA/steering hashes, and scoped epochs (0% unrelated thrash), blocking 6/6 attacks, preserving 99.3% of warm TTFT savings, and firing live POST /reset_prefix_cache / POST /flush_cache.
Honest Scope & Explicit Non-Claims (Zero Hype)
Deadkey publishes explicit boundaries and failed runs openly: mcp_latch is a schema-pinning + TOFU + secret-arg guard, NOT an OS/syscall capability sandbox. kv-seal/v1.1 gives 0% single-hit cryptographic guarantee against honest same-manifest producer bugs (A7) — mitigated statistically via cold-recompute sampling (1% reaches 99.9% within B=688 faulty restores) — and does NOT replace GPU hardware TEEs or pre-KV prompt sanitization. Ed25519 558k–590k/s is 32T batch verify (256 B, no fsync; 1T verify is 39.4k/s). On 100%-VRAM llama-server, 9950X3D CCD1 pinning trims decode -10.1% (vs 2.00× vector / flat decode on hybrid CPU+GPU 125B).
Open-Source Ecosystem & Artifacts
GitHub: deadkey-labs/deadkey v2.4.0 (Apache-2.0, Rust + Python) · PyPI: pip install deadkey==2.4.0 · Hugging Face: 5-Arch Ortho-CVEC · Upstream llama.cpp PR #33268 · Interactive 64B DK-v2 Simplex Lab
Building Across NVIDIA, AMD, Samsung & Android
Deadkey isn't just a paper-thin wrapper — we engineer directly on bare-metal desktop GPUs, 3D V-Cache CPUs, and native Android mobile silicon. Here is what is currently in active lab testing and staged for upcoming open-source releases:
Zero-VRAM Subsymbolic Verification Sidecars
Deterministic CPU math, unit-consistency, and data-plane injection guards running alongside neural models with zero fine-tuning. In lab blind A/B testing, sidecars lifted Gemma-4-31B from 85.4% → 100.0% (48/48 in 48.9 s) and 4.68 GiB Qwen3-8B from 72.9% → 89.6% — bringing flagship reliability to compact local models.
Sharded Fast-Weight Slot Banks (ShardedDkSlotBank)
Sub-millisecond associative slot memory holding 4,096 exact facts in 64 MiB (<0.3 ms CPU lookup) with exact Schur-complement unlearning and canonical entity alias resolution — compiled from one Rust crate to Windows, Linux, and arm64-v8a Android.
Revocation-Aware .dkkv Instant-Boot Snapshots
A validly signed KV-cache snapshot can still resurrect a deleted fact baked into its prefix tensors. Our dependency-bound .dkkv prototype pairs chunked AEAD + Merkle sealing with live slot-bank revocation — fast-rejecting deleted dependencies in 0.56 ms while keeping 0% false invalidation on unrelated edits.
Sovereign Mobile + Desktop Cross-Silicon Mesh
Connecting pocket Android silicon (Samsung Galaxy S24 Ultra & Tab S11 running native Rust + StrongBox hardware signatures + UFS 4.0 cold vaults) with desktop NVIDIA RTX workstations over encrypted Tailnet — optimistic local execution with asynchronous desktop verification and zero cloud lock-in.
Deadkey builds open-source cryptographic provenance, revocation-aware KV-cache sealing (kv-seal), and zero-VRAM verification sidecars accelerated on NVIDIA Blackwell and multi-GPU CUDA inference stacks.