# The agent network (methods)

The campaign ran on the El Agente multi-agent network (production graph deployed at commit 91594fcc; ~270 graph nodes
of agents and tools; 76 agent nodes in the full network). Draw it from `network_edges.csv`.

## Roles
| Layer | Agent | Model | Role in this campaign |
|---|---|---|---|
| Orchestrator | `molecular_discovery` | gpt-6-astra (high reasoning effort) | Owns the campaign: reads the ledger, diagnoses the incumbent, writes pre-registered hypotheses, launches crystal-structure prediction, delegates calculations, calls the judge, records verdicts and decisions. |
| Specialists | `periodic_dft_expert` | Claude Opus 5.5 | Periodic DFT (CP2K): relaxations, phonons, cluster carving, Gamma_II export/collection/T1; 403 recorded delegations. |
| | `computational_chemist` | Claude Opus 5.5 | ORCA multireference inputs, job execution and recovery, property extraction; may hand results back to the orchestrator (back-edge, depth-guarded). |
| | `quantum_physics` | Claude Opus 5.5 | El Agente Cuántico formulates the spin Hamiltonian and relaxation-rate equations. |
| Symbolic specialist | `sympy_expert` (delegation log) | — | La Agente Teórica checks algebra and notation for Cuántico. |
| | `hypothesis_generation_expert`, `undermind_deep_research_expert`, `deep_research_expert`, `reaction_template_expert`, `geometry_generation`, `report_expert` | Claude Opus 5.5 | Hypothesis drafting, literature/prior-art (Undermind), synthesis plausibility, geometries, reports. |
| Leaf agents | runners, lookups, tool sub-agents | Claude Sonnet 5 | Execute single tools and file operations. |
| Validators (deterministic code, not LLMs) | `judge_t1_loop`, `verify_numeric_claims`, `verify_geometry_identity` | — | Recompute results from raw files and issue signed receipts; the ledger accepts the T1 scoreboard only from `judge_t1_loop`. |

## Around the network
- **Campaign ledger** (`update_campaign_state`, a JSON state file): goal, constraints, pre-registered hypotheses,
  candidates, live job handles, PI decisions. It survives context compaction, so every agent turn starts from it.
- **Campaign driver** (a script): sends the kickoff prompt, then waits on the Slurm queue itself (agents never poll),
  wakes the orchestrator when a watched job ends or a candidate has nothing running, cancels hung jobs, accounts
  core-hours, and asks an independent LLM completion judge (gpt-5.6-sol) to check milestone claims against evidence.
- **Coordinator** (Claude Code, supervising): handled operations the agent tools could not (parallel layouts and memory
  tests for 432–448-atom cells, Slurm array limits, dependent job chains), relayed PI decisions into the ledger, and ran
  the cross-salt analyses (fold scan, flat-ligand screen, sampling and linewidth analysis). It did not issue verdicts.
- **PI**: set scope and approved gates, extensions and analysis choices; decisions are recorded verbatim in the ledger.

## Activity (2026-10-16 → 2026-11-19)
280 orchestrator turns; 403 periodic-DFT delegations; 13,712 Slurm jobs; 673,419 CPU core-hours and 141 GPU-hours in
total (see `compute_summary.json`).
