Infrastructure · Primitives
Route
Classify input and direct to specialized handler
Definition
Mechanism
A classifier that examines a Task input and directs it to a specialized downstream handler. Enables separation of concerns—different query types get different prompts, tools, or models. Routes based on type tags, metadata fields, token weight, or configurable dispatch rules (simple queries to small models, complex to large).
Preconditions
- Input query
- Router logic configured
Postconditions
- Query dispatched
Invariants
- Input directed to best-fit handler
- No dropped requests
Risks
Failure modes
Misrouting
Input sent to wrong specialist, causing errors.
Ambiguous Classification
Input matches multiple routes or none.
Routing Bottleneck
Classifier becomes slower than just handling directly.
Relationships
Builds on
Accepts
The atomic unit of intent
Used by
References
Mind
Flag a one-label classification forced onto an object whose relevant properties point to several categories
Mind
Test a candidate carve by routing a few concrete tasks through it before it is kept
Mind
High-confidence classification from minimal data
Reference
