Wire Agentic App
Blueprint · ← Layered classifier · Wire app
The router sits outside plan → act → observe. The agentic app consumes the route contract and enters Plane ② Orchestration (PGAR).
THE CLAIM
On clarify or abstain, do not call the LLM with tools. On route, load manifest for route_id only, then enter the loop.
Request sequence
- Receive user message + session from ingress
- Call intent router → route decision record
- On
clarify/abstain→ UX response; no tool schemas - On
route→ load tool manifest forroute_id; pinmanifest_versionon session - Call LLM with messages + scoped schemas only
- On tool proposal → validate against manifest → PEP
Session pin
Pin both route_table_version and manifest_version at session open (or at route decision). Mid-session promote of either artifact must not change an in-flight session without explicit policy.
Failure classes
| Failure | Symptom |
|---|---|
| Tools from unselected routes in LLM payload | Intent bypass; manifest not scoped |
| Clarify path still loads payment manifest | High-risk leak |
| No route decision in trace | Cannot debug misroutes |
Plane handoff
| From | To |
|---|---|
| Plane ① Intent (this series) | Plane ② PGAR orchestration |
model_profile on route row | Plane ③ G.A.I.N LLM gateway per call |