AI & Agent Systems

Agent Routing and Lifecycle System

Role-aware routing from the cheap workhorse to frontier help, with A2A as a discovery capability.

Diagram of the agent routing lifecycle showing role-aware models and A2A discovery.
Diagram of the agent routing lifecycle showing role-aware models and A2A discovery. Download the editable Excalidraw source.

What it is

A thin routing layer decides which model and which agent handle each request: GLM-5.3-Flash as the workhorse, frontier models for genuinely hard work, and A2A endpoints so agents can discover each other without custom plumbing.

Codex stays the primary operator, OpenCode handles fast execution, and a bounded escalation rule moves genuinely hard work to frontier models. A2A agent cards and JSON-RPC complete the discovery path between loopback agents.