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 C5+ — Decompilers + Capability Annotations

Phase C9 — LangGraph Compiler + DeerFlow Executor

Phase C10 — Atomic Skills Catalog

Phase C6 — Evaluation Harness

Phase C7 — Prompt Optimization + Workflow Generation

Phase C8 — Meta-Evolution (Phase A complete)

Evolves organism configurations (modes, models, thresholds) using biological primitives at the meta-level. Tests whether Operon’s abstractions generalize from running organisms to evolving them.

Key Findings

Abstraction quality: Genome mapping is lossless (~5 lines). EpiplexityMonitor generalizes across scales. DesignProblem wrapping is natural.

Ao et al. test: Rich context LLM proposer (0.49) slightly outperforms tournament (0.44) but does not dominate. Topology mutations improved tournament (0.60) but degraded LLM (0.36).

Conclusion: Biological abstractions generalize as code structure, not as optimization algorithms. The structural guarantee features (immune system, epiplexity, developmental gating) remain the core value proposition.

Search code lives in eval/meta/ (experimental). Only DistanceProvider remains in the library.

Related: de los Riscos et al. (ArchAgents category theory), Ao et al. (delegation bounds), Meta-Harness (filesystem-backed search).

Examples