From Inference Routing to Agent Orchestration: Declarative Policy Compilation with Cross-Layer Verification
arXiv cs.LG / 3/31/2026
💬 OpinionDeveloper Stack & InfrastructureSignals & Early TrendsIdeas & Deep Analysis
Key Points
- The Semantic Router DSL is a non-Turing-complete, declarative policy language that productionizes per-request LLM inference routing using content signals to select models and enforce privacy, while emitting structured audit traces.
- The paper extends this approach from stateless routing to multi-step agent orchestration, generating verified orchestration decision nodes for frameworks like LangGraph and OpenClaw.
- It further compiles the same policies into infrastructure and protocol artifacts, including Kubernetes NetworkPolicy/Sandbox CRD/ConfigMap, YANG/NETCONF payloads, and boundary gates such as MCP and A2A.
- By leveraging non-Turing completeness, the compiler guarantees properties like exhaustive routing, conflict-free branching, referential integrity, and structurally coupled auditability across layers.
- Shared signal and threshold definitions enable single-step recompilation that propagates changes from inference gateways through agent gates to infrastructure artifacts, aiming to prevent cross-team policy drift.


