RuntimeRouter before model execution. The router is deterministic and local; it does not call a router model, embeddings, telemetry, analytics, or a network router.
Route output
RoutingDecision includes:
- Execution class.
- Effort estimate.
- Selected model and reason.
- Required capabilities.
- Risk tier.
- Tool policy allowlist and denial reasons.
- Tool requirement.
- Fallback plan.
- Redacted route trace.
Execution classes
| Class | Use |
|---|---|
TEXT_CHAT | Normal answer |
TOOL_ASSISTED_CHAT | Model-driven tools |
DIRECT_ACTION | Deterministic local action |
BACKGROUND_TASK | Long-running worker |
SCREEN_ANALYSIS | Screenshot plus vision model |
PDF_ANALYSIS | Local PDF text extraction |
FILESYSTEM_ACTION | File action through tools |
BROWSER_TASK | Network/browser work |
CODING_AGENT_TASK | Agent status or delegation |
CONNECTOR_TASK | Connector mentioned but no configured connector metadata |
CONNECTOR_LOCAL | Accepted local connector |
CONNECTOR_REMOTE | Accepted remote connector |
CONNECTOR_FILE_READ | Connector with file-read capability |
CONNECTOR_FILE_WRITE | Connector with file-write capability |
CONNECTOR_NETWORK | Connector with network capability |
CONNECTOR_UI_CONTROL | Connector with UI-control capability |
REALTIME_VOICE_TURN | Online Realtime path |
Capability examples
| Capability | Meaning |
|---|---|
TEXT | Text model response |
NATIVE_TOOLS | Function/tool calling |
VISION | Image processing |
SCREEN_CAPTURE | Local screenshot |
FILE_READ, FILE_WRITE | Sandboxed file access |
NETWORK, BROWSER_CONTROL | Remote web/browser work |
OS_AUTOMATION, SHELL | Local OS command/control |
MCP, AGENT_DELEGATION | External worker bridges |
CONNECTOR_TASK, CONNECTOR_LOCAL | Connector registry execution |
CONNECTOR_REMOTE, CONNECTOR_NETWORK | Connector leaves local-only boundary or uses network |
CONNECTOR_FILE_READ, CONNECTOR_FILE_WRITE | Connector file access |
CONNECTOR_UI_CONTROL | Connector controls browser or UI |
Model selection
When complexity routing is disabled, Eyra usesMODEL after policy routing. When enabled, ComplexityScorer estimates simple, moderate, or complex effort, and ModelRegistry chooses the matching tier.
Vision tasks use VISION_MODEL when set, otherwise MODEL.
Worker tasks use WORKER_MODEL when set, otherwise MODEL.
Tool policy
route_tool_policy() compares execution class, capabilities, risk tier, settings, and registered tool metadata.
Settings gates deny whole categories:
NETWORK_TOOLS_ENABLED=falseOS_TOOLS_ENABLED=falseAGENT_TOOLS_ENABLED=falseEXTERNAL_AGENT_TOOLS_ENABLED=falseMCP_TOOLS_ENABLED=falseCONNECTORS_ENABLED=false
ConnectorRegistry, not model-selected tools. Route traces include connector id, risk tier, capabilities, privacy boundary, approval requirement, and acceptance state after redaction.