Convergence

Structural analysis adapters for external agent orchestration systems.

The operon_ai.convergence package bridges 5 external agent frameworks (Swarms, DeerFlow, AnimaWorks, Ralph, A-Evolve) into Operon's structural analysis layer. All adapters operate on serializable dicts — no external dependencies.

Five-Layer Architecture

┌─────────────────────────────────────────────┐
│  A-Evolve (evolution layer)                 │
├─────────────────────────────────────────────┤
│  AnimaWorks (cognitive layer)               │
├─────────────────────────────────────────────┤
│  AsyncThink (thinking layer)                │
├─────────────────────────────────────────────┤
│  Ralph / DeerFlow / Swarms (orchestration)  │
├─────────────────────────────────────────────┤
│  Operon (structural layer)                  │
└─────────────────────────────────────────────┘

Phase C1 — Foundation Adapters

Type-level bridges to Swarms, DeerFlow, AnimaWorks, Ralph, and A-Evolve. All produce ExternalTopology, consumed by analyze_external_topology() to apply Operon's four epistemic theorems as a structural linter.

Phase C2 — Template Exchange

Seed Operon's PatternLibrary from external catalogs:

Phase C3 — Memory + Thinking

Phase C4 — Formal Verification

Phase C6 — Evaluation Harness

Phase C7 — Prompt Optimization + Workflow Generation

Phase C8 — Harness Search + Live Evaluation (Planned)

Integrates Meta-Harness (Lee et al., Stanford/MIT 2026) insights: filesystem-backed trace stores for evolutionary search, Pareto convergence detection, causal diagnosis safety properties, and cross-framework harness template exchange.

Examples