Skip to main content

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

  1. Receive user message + session from ingress
  2. Call intent router → route decision record
  3. On clarify / abstain → UX response; no tool schemas
  4. On route → load tool manifest for route_id; pin manifest_version on session
  5. Call LLM with messages + scoped schemas only
  6. 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

FailureSymptom
Tools from unselected routes in LLM payloadIntent bypass; manifest not scoped
Clarify path still loads payment manifestHigh-risk leak
No route decision in traceCannot debug misroutes

Plane handoff

FromTo
Plane ① Intent (this series)Plane ② PGAR orchestration
model_profile on route rowPlane ③ G.A.I.N LLM gateway per call

PGAR Agentic app →