What problem does it solve? Codex-flow duplicates thousands of lines of orchestration logic (swarm coordination, agent lifecycle, task scheduling) that already exist in agentic-flow@alpha, creating maintenance burden and missing upstream performance gains. ## Core Features & Use Cases - Adapter Layer Migration: Extends agentic-flow@alpha Agent classes with backward-compatible wrappers, replacing SwarmCoordinator, AgentManager, and TaskScheduler implementations. - Feature Integration: Wires in SONA learning modes, Flash Attention (2.49x-7.47x speedup), AgentDB HNSW search (150x-12,500x), and 213 MCP tools with 19 hook types. - Phased Rollout: Supports dual-operation, feature-by-feature migration with parity validation, then deprecation of legacy code. - Use Case: A platform team reducing a 15,000+ line orchestration codebase to under 5,000 lines while gaining RL algorithms (PPO, DQN, MCTS) and sub-0.05ms SONA adaptation. ## Quick Start Ask the agent to design the agentic-flow@alpha adapter layer and plan the phased migration of swarm coordination, agent management, and task execution.