Expand description
Phase-aware model routing (PSP-8 System 3).
Exploration is read-only orientation and should use a low-cost model without
weakening acceptance gates. Routing therefore resolves a ModelRoute per
AgentPhase: an explicit explorer_model wins; otherwise exploration
defaults to the cheapest tier (Speculator). --model sets all tiers unless
a phase-specific override is provided.
Structs§
- Model
Budget - Per-route budget.
- Model
Route - A resolved model route for one phase (PSP-8
ModelRoute). - Model
Tier Config - The configured models per tier, plus optional explorer overrides.
- Portfolio
Models - The per-tier fully qualified routes from the
[models]table. - Portfolio
Route - A resolved portfolio route: fully qualified, with a failover chain.
- Route
Objective - What a route resolution optimizes (PSP-9 system 3).
Enums§
- Agent
Phase - Agent phases that request a model.
- Model
Tier - Model capability tiers, cheapest to most capable.
Functions§
- resolve_
portfolio_ route - Resolve a portfolio route for a phase (PSP-9 system 3).
- resolve_
route - Resolve the model route for a phase.