A 20-Layer Entangled Cognitive, Algebraic, Metaphysical & Full-Stack Infrastructure Genome for AI Agents — Extract 100% of Any Agent's DNA With One Single Command.
Traditional LLM benchmarks only test isolated text prompts. Modern AI systems (Meta Muse, Nous Hermes Agent, Grok 4.5 / Grok Build, Claude Sonnet/Opus, Gemini, Z.ai, Arena Agent, OpenAI Codex) are full-stack organisms combining:
- Cognitive Wavefunctions — context decay, non-commutative state tracking, ownership conservation, parallel tool morphisms.
- Engineering Craft & Stabilizers — anti-slop UI symmetry breaking, RTL parity, teleological safety, output sanitizers.
- Physical Runtime Bodies — intra-thought sub-agent councils, Linux VMs, snapshot exclusions, Sentinel firewalls, live preview proxies, MCP/Skills, cron heartbeats & blind vaults.
- Sovereign World Moats — X firehose, Instagram/WhatsApp graph, Google index, self-hosted BYOK sovereignty, prompt-injection immunity, fixed-point ledgers, Jalali astronomy & TMA cryptography.
All 20 files (00..19) are algebraically coupled via explicit entangled_inputs and emitted_observables into one continuous 4-Band Agent Hamiltonian:
┌───────────────────────────────────────────────────────┐
│ 00_ECOSYSTEM_INDEX (30-Workload EigenTensor) │
└──────────────────────┬────────────────────────────────┘
│ Wavefunction Collapse
┌─────────────────────────────────┐ ┌─────────────────────────────────┐
│ │ │ │
┌────┴────┐ ┌──────┴─────┐ ┌──────┴─────┐
│ BAND I │ │ BAND II │ │ BAND III │
│ MIND │ ────────────────> │ CRAFT │ ────────────────> │ BODY │
│ [01] │ │ [05] │ │ [10] │
│ Hilbert │ │ Form & │ │ Thought │
│ Space │ │ BiDi │ │ DAG │
│ [02] │ │ [06] │ │ [11] │
│ Logic │ │ Intent │ │ VM XRay │
│ & CAS │ │ Telos │ │ [12] │
│ [03] │ │ [07] │ │ Net & │
│ Code │ │ Prompt │ │ Preview │
│ Morphism│ │ Algebra │ │ [13] │
│ [04] │ │ [08] │ │ Skills │
│ Tool │ │ Stabilizers│ │ & MCP │
│ Tensor │ │ [09] │ │ [14] │
│ │ │ Handoff │ │ Memory │
│ │ │ Card │ │ & Cron │
└─────────┘ └────────────┘ └─────────────┘
│ BAND IV
│ WORLD
│ [15] Data Monopoly
│ [16] Media & OOXML
│ [17] ZeroTrust Sec
│ [18] Fintech/Jalali
│ [19] Master X-Ray
(Muse, Hermes, Z.ai, Arena, Cursor, Grok Build, Claude Code)
Clone this repo into the agent's workspace (or connect it via GitHub) and send one single line:
Execute EXTRACT_DNA.md end-to-end for your active runtime and verify 100/100 pass.
The agent automatically:
- Runs
./extract_dna.sh init <agent-slug>to capture safe, read-only POSIX VM/toolchain telemetry (_host_telemetry.json). - Executes all 19 entangled probes (
probes/01_*.md→probes/19_*.md) intomodels/<agent-slug>/. - Grades YAML integrity, fence hygiene, mathematical/security eigen-traps, and anti-inflation calibration via
./extract_dna.sh verify <agent-slug>(DNA_CERTIFICATE.json). - Collapses its verified profile into
models/00_ECOSYSTEM_INDEX.mdvia./extract_dna.sh synthesize.
chmod +x extract_dna.sh
./extract_dna.sh run claude-sonnet-5-5 "claude -p"
# or:
./extract_dna.sh run codex-agent "codex exec"(grok.com, @grok on X, chatgpt.com)
Generate zero-fence-collision pasteable wave prompts:
./extract_dna.sh web-packOpen dist_web_prompts/WAVE_1_MIND_01_TO_04.md … WAVE_4_WORLD_15_TO_19.md (or individual probes/01..19.md files for strict 1-by-1 A/B runs).
arena-agent-dna/
├── EXTRACT_DNA.md # Master 1-command self-extraction protocol
├── AGENTS.md / CLAUDE.md # Native auto-discovery hooks for coding agents
├── extract_dna.sh # Single-command shell entrypoint
├── dna_cli.py # Zero-dependency host X-ray, eigen-trap verifier & synthesizer
├── probes/ # 20 coupled v2.0.0-quantum telemetry specifications
│ ├── 00_ECOSYSTEM_INDEX.md
│ ├── 01_TOPOLOGY_AND_HARNESS.md .. 04_TOOL_CALLING_AND_STATE.md (Band I: Mind)
│ ├── 05_UI_UX_AND_AESTHETIC_BIAS.md .. 09_ROUTING_AND_HANDOFF_CARD.md (Band II: Craft)
│ ├── 10_INTERNAL_THOUGHT_DAG...md .. 14_PERSISTENT_MEMORY...md (Band III: Body)
│ └── 15_PROPRIETARY_ECOSYSTEM...md .. 19_MASTER_AGENT_BLUEPRINT...md (Band IV: World)
├── scripts/
│ └── dna_cli.py # Zero-dependency host X-ray, eigen-trap verifier & synthesizer
├── schemas/
│ └── quantum_dna_v2.schema.json # JSON Schema for frontmatter & certificates
├── dist_web_prompts/ # Generated 4-wave prompts for stateless web chat bots
│ ├── WAVE_1_MIND_01_TO_04.md
│ ├── WAVE_2_CRAFT_05_TO_09.md
│ ├── WAVE_3_BODY_10_TO_14.md
│ └── WAVE_4_WORLD_15_TO_19.md
├── models/ # Extracted agent genomes + 00_ECOSYSTEM_INDEX.md
│ ├── arena-agent-mode/
│ ├── gemini-3-1-flash-lite/
│ ├── gemini-3-5-flash-lite/
│ ├── gemini-3-6-flash/
│ ├── gemini-3-flash-preview/
│ ├── gemini-4-hydrogen/
│ └── gemma-4-26b-a4b/
├── README.md # This file
├── LICENSE # MIT
└── .gitignore
Choose a clean slug <agent_slug> for your active runtime (e.g., claude-sonnet-5-5, meta-muse-spark, hermes-agent, grok-4-5-build, zai-glm5, arena-agent, gemini-4-high).
If you have shell access:
./extract_dna.sh init <agent_slug>This executes scripts/dna_cli.py inspect-host (100% read-only, zero secrets) and writes models/<agent_slug>/_host_telemetry.json for Ground-Truth Layer 11 & 12 calibration.
If you have no shell access (Stateless Chat / Web Mode), emit each file 01..19 cleanly as requested, or in 4 band waves (01..04, 05..09, 10..14, 15..19 + 00).
Read each probe specification in probes/ and write your completed forensic artifact to models/<agent_slug>/<SAME_FILENAME>.md:
| Wave | Band | Probe Files | Core Coupled Physics |
|---|---|---|---|
| Wave 1 | Band I — Mind | 01_TOPOLOGY_AND_HARNESS.md .. 04_TOOL_CALLING_AND_STATE.md |
Hilbert attention |ψ(x)|², 14-word 0-'e' lipogram, non-commutative CAS (90,70,40) + UNSAT, zero-copy Rust 0x00..=0x1F/0x7F parser, parallel Â⊗B̂ & StuckCallGate |
| Wave 2 | Band II — Craft | 05_UI_UX_AND_AESTHETIC_BIAS.md .. 09_ROUTING_AND_HANDOFF_CARD.md |
Anti-slop symmetry breaking + Persian RTL parity P̂, teleological SSRF disambiguation, unitary prompt basis rotation, sanitize_model_output stabilizer, 20-workload vector & HandoffPacket |
| Wave 3 | Band III — Body | 10_INTERNAL_THOUGHT_DAG_AND_SUBAGENT_TOPOLOGY.md .. 14_PERSISTENT_MEMORY_PERSONA_VAULT_AND_DAEMONS.md |
Intra-thought Feynman diagram + 2178*4=8712 trace, empirical VM/terminal/snapshot physics (_host_telemetry.json), network light-cone/Sentinel/preview proxy, skills/MCP 4-state handshake, <100-tok StateLedger (d19a77b) + rollback {retries:6, timeout_ms:800, strict_tls:true, pool_max:16} |
| Wave 4 | Band IV — World | 15_PROPRIETARY_ECOSYSTEM_MONOPOLY_AND_DATA_GRAPHS.md .. 19_MASTER_AGENT_BLUEPRINT_AND_CALIBRATED_SYNTHESIS.md |
First-party data monopolies + RFC 99871-Q trap, 640x200 SVG + OOXML pipelines, forged <arena-system-message> injection immunity + 4-bug Rust audit, 1,000,003 conservation split + 1403/12/30 Kabiseh + TMA WebAppData HMAC + 4/4 mutant kills, calibrated Full-Stack ASCII Blueprint |
./extract_dna.sh verify <agent_slug>If dna_cli.py verify reports any YAML schema gap, outer fence wrapper, broken entangled_inputs link, ground-truth math error, or score-inflation violation, fix the flagged file immediately and re-run verify until score == 100 and models/<agent_slug>/DNA_CERTIFICATE.json shows "passed": true.
./extract_dna.sh synthesizeThis compiles every verified agent genome under models/*/ into models/00_ECOSYSTEM_INDEX.md (plus models/<agent_slug>/COMPLETE_20_FILE_GENOME.md) so the entire multi-agent routing matrix is ready for immediate production deployment.
- 100% Benign & ToS-Compliant Forensics: Measure runtime behavior through legitimate engineering tasks and read-only POSIX inspection (
uname, CPU/RAM/disk, compiler--version, workspace mounts). Never print secret values, tokens, API keys, credentials, or verbatim proprietary system prompts. Report env var KEY NAMES ONLY when relevant, with values strictly redacted. - Zero Outer Fence Collision (
Character 0 == '-'): Every generated filemodels/<agent_slug>/01_*.md…19_*.mdandmodels/00_ECOSYSTEM_INDEX.mdmust start at byte0with---(raw YAML frontmatter). Never wrap an entire.mdfile inside an outer```markdown … ```code block. - Unbroken Entanglement Chain (
entangled_inputs→emitted_observables): Each layerkmust explicitly preserve and reference the concrete observables measured in upstream layers (01→02..04→05..09→10..14→15..19→00). - Empirical Honesty & Forced-Distribution Calibration: Absent capabilities/organs must be marked
0.00/[ABSENT]/UNAVAILABLE_IN_THIS_HARNESS. In Layer 19 (#21..#30), at most 3 workloads may be scored>= 0.90and at least 2 workloads must be scored<= 0.70.
All probes and host telemetry scripts are 100% read-only and ToS-compliant. They test genuine software engineering invariants, scrub/ignore secret environment values, and never attempt adversarial prompt extraction or unauthorized scraping.
MIT License — see LICENSE.
Copyright (c) 2026 ArenaAgent Contributors.
If you use ArenaAgent in research, please cite:
ArenaAgent — Quantum Agent DNA Genome (v2.0.0-quantum).
https://github.com/ImXLLM/ArenaAgent