Routing ✦ 87outlineNot a production recipe — calibrate thresholds

Agent / Codex model router

Who: Agent harness authors. Steps: State=task → Choice which model/tier → code dispatches. Expected effect: Cheaper default path.

1

Treat this as an outline — adapt state and questions to your data.

2

Implement in code — call System One / Jev; compose answers yourself.

3

Gate on confidence — act, confirm, or escalate before side effects.

Outline sketch

Prompt
# Agent / Codex model router
State: relevant software state for this pattern.
Ask: Choice / Score / Noul questions that close the decision space.
Then: compose the route or action in code; escalate when confidence is low.

Needs access to: typesafe-sdk

Who it's for

Agent harness authors

Steps / how it's set up

Steps

  1. State=task.
  2. Choice which model/tier.
  3. code dispatches.

Sources

Metrics and demo claims are author-reported or cookbook-reported unless you measure them yourself. Calibrate on your data.

Expected effect

Cheaper default path

Unofficial outline for learning. Paraphrased from public docs and tutorials — not a production recipe. Review sources before you automate anything.