I architect deterministic AI infrastructure, relational working-memory substrates, transactional coding harnesses, and bare-metal multi-GPU inference pipelines. Instead of wrapping fragile prompts around metered cloud APIs, I treat language models as stateless compute samplers governed by PostgreSQL ACID state, sandboxed verification, and empirical benchmarks.
- Stateful Agent Substrates & Long-Horizon Memory: Designing bounded Model Context Protocol (MCP) engines backed by
PostgreSQL 16 + pgvector HNSW, zero-Dockernode:sqliteWAL, and PorterFTS5—proven across 10M-token horizons where flat sliding-window RAG collapses. - Transactional Safety & Cross-Family Verification: Building fail-closed execution harnesses with Bubblewrap sandboxes,
<32mstwo-phase commit (2PC) diff journals, AST call-graph blast-radius gates, and Cross-Family Referee Consensus (Qwen3generators audited by orthogonalGemma 4&Hermes 3models). - Cost-Disciplined Bare-Metal LLMOps & Post-Training: Operating an 8-node
10GbELinux GPU cluster (57GB+pinned local VRAM, zero CPU spill) with on-demand 96GB Blackwell burst compute,<15µscascade routing (60–80% cost cut), and test-gated 120B / 30B QLoRA self-distillation. - Zero-Hallucination Evidentiary Retrieval: Engineering layout-true Poppler TSV document spines (
100%held-out citation accuracy) and two-pass proposition entailment pipelines enforcing a 0.00% False Support Rate on statutory and contract corpora. - Real-World Operational Ownership: Pairing high-velocity
Node.js 22 ESM,TypeScript, andPython 3.12systems engineering across 34+ CI-verified repos with prior hands-on leadership in commercial NEC electrical diagnostics and brick-and-mortar P&L operations—shipping systems that fail closed and hold up in production.
# Run the full 7-pillar, 39-tool MCP ecosystem locally in one command (Node.js 22+ SQLite WAL or PostgreSQL 16)
npx krusch-stack init --ide all --defer-tools && npx krusch-stack doctor| System | Focus | Verified Engineering Impact |
|---|---|---|
krusch-stack v1.0.0 |
Unified Agent Stack | 1-command installer (npx / Docker) bundling 39 annotated MCP tools across 7 pillars; UC Berkeley BFCL v3 Live (2,251 Qs): deferred 64-tool MCP guard lifts accuracy 59.9% → 66.3% (84.7% irrelevance abstention) while cutting schema tokens -80.7% (Cross-Stack Benchmarks ↗). |
@krusch/toolkit & krusch_toolkit v1.7.0 |
Certified Code Substrate | 35 dual-runtime JS/TS & Python Lego bricks (60 .d.ts subpaths, 127/127 Node & 201/201 pytest suites) + 7 zero-LLM blueprints (krusch-lego); enforces 24/24 (100%) zero-boilerplate compliance across active core services & 8/8 (100%) Rule-of-3 coverage across 100 repos (Architecture Paper ↗). |
krusch-context-mcp v2.0.0 |
Agent Working Memory | 5-verb hierarchical memory & SHA-256 drift gate. Benchmarked across all 2,000 Official ICLR 2026 BEAM (100K–10M tok) questions—beating cloud past.dev on Contradiction Resolution (all 4 splits) & 10M Multi-Session Reasoning. |
krusch-cascade-router |
Inference Routing | #1 on Martian RouterBench (36,497 Qs) (0.7488 0-shot & 0.7695 5-shot ID AIQ, -72.6% cost @ 98% GPT-4, & #1 OOD beating ZeroRouter), #1 on ACL 2026 LLMRouterBench (0.4269 Pareto, -83.95% cost across 12,566 Qs & unseen OOD ARC-AGI/HLE), & 0.7883 on RouterArena CI (PR #169 open · 80.72% @ $0.21/1K); live SSE abort cuts 120B TTFT -48.0% & routes Polyglot 1,442x faster (Live Arena ↗). |
Jean SRE & @krush420 |
Autonomous SRE & QLoRA | 24/7 daemon sweeping 100 repos in hermetic sandboxes + Rule-of-3 scouting; published 18,049 Zero-Leak SFT + DPO rows to train 4-bit MXFP4 120B Teacher & 30B Student 2-stage QLoRA + DPO adapters (25% → 100% zero-tool brick adoption). |
krusch-git · krusch-fs-mcp · krusch-coding-harness |
Code, Security & 2PC |
ACL 2025 CoIR (2.39M docs / 162,216 Qs): 56.40% #1 10-task NDCG@10 (> Voyage-Code-002 56.26%); RepoBench-R (47,998 Qs): beats CodeBERT & UniXcoder; AgentDojo (1,046 eps): 0.00% ASR (0/949 attacks); Aider Polyglot (225): 19.6% → 51.6% Pass@2; BIRD-SQL (500): 26.0% → 40.2% EX (1.55x). |
krusch-law & krusch-nexus |
Evidentiary RAG | 0.00% False Support Rate statutory DAGs & citation spines; LegalBench-RAG (6,889 Qs / 714 docs): 26.74% Macro F1 (k=1) & 25.81% F1 / 44.72% Recall (k=2) (33.95% MAUD R@2 > OpenAI 3-large + Cohere R@64 28.28%). |
- Languages & Runtimes:
JavaScript / TypeScript(Node.js 22+ ESM,React,Vite,Express,Cloudflare Workers,oxlint) ·Python 3.12(FastAPI,SQLAlchemy 2.0,Pydantic v2,PyTorch,asyncio) ·SQL - State, Graph & Search:
PostgreSQL 16(pgvectorHNSW,tsvectorGIN, Hybrid RRF) ·node:sqliteWAL + external-content PorterFTS5·snowflake-arctic-embed2(8,192-ctx,1,024-dim, asymmetricquery:calibration) - Infrastructure & LLMOps: Multi-Node Bare-Metal Linux (
10GbE,Tailscale,systemd,Docker,Bubblewrap) ·Ollama/vLLM(q8_0KV) ·96GB RTX PRO 6000 BlackwellMXFP4 QLoRA ·GitHub Actions CI
📖 Selected Architecture Writing (All Papers on krusch.dev →)
- Why Coding Agents Need Certified Lego Bricks, Not Prompted Boilerplate: Inside a 35-Brick, Self-Evolving Code Substrate — Eliminating LLM-regenerated HTTP
413TCPRSTraces, DNS-rebinding SSRF, FTS5 injection, and YAML alias bombs across 100 repositories using@krusch/toolkitv1.7&krusch_toolkitv1.6(24/24core services zero-boilerplate clean), pre-commit MCP diff guards, Rule-of-3 scouting, and 2-stage QLoRA + DPO calibration (25%→100%). - The 15 Production Agentic Systems: Reference Architecture, State-Machine Invariants & Benchmark Proofs — Three architectural teardowns covering
100+async orchestration, typed Pydantic v2 swarms,72hSlack HMAC HITL leases,100-trajectory Golden DAG CI gates,$0.50cost kill-switches, and5%shadow diffing. - How an Open-Weights Sovereign Stack Stacks Up Across 317,000+ Benchmark Queries (Including Where Cloud Still Wins) — Empirical cross-stack comparison against wrapper and commercial cloud stacks across 10 external benchmarks (
68/68SHA-256 gates), with honest gaps and raw Hugging Face logs. - The 2026 Sovereign AI Tech Stack — Multi-family GPUs, 3-Tier MCP substrates, zero-bloat runtimes, and closed-loop QLoRA distillation.
- Multi-Tier Cascade Routing Architecture —
#1on MartianRouterBench(0-shot/5-shotID & OOD),#1on ACL 2026LLMRouterBench(-83.95%cost),RouterArena(0.7883CI, PR #169 open), live SSE logprob aborts (-48.0%TTFT), and1,442xfaster agenticPolyglotrouting. - Beyond Flat Vector RAG: What Makes
krusch-context-mcpSpecial — 5-verb hierarchical working memory, temporal lineage, and SHA-256 span-drift checks across100K–10Mtokens. - The Krusch Coding Harness — Why autonomous code agents require a PostgreSQL
2PCtransaction manager rather than a prompt.


