Back to OS

The MCP Hub

ROUTESWITCH

The universal Model Context Protocol hub. RouteSwitch acts as the central traffic director, replacing brittle static adapters with a single, high-speed standard I/O layer that normalizes, routes, and governs all external model interactions.

UNIVERSAL TRAFFIC ROUTING

A decoupled OS requires a unified abstraction layer. RouteSwitch isolates the ecosystem from external provider volatility, enforcing predictable schemas and handling catastrophic failures transparently before they derail critical workflows.

Provider Abstraction

Normalizes diverse provider API structures into a single, predictable internal result shape, strictly isolating provider-specific formatting quirks from the core OS logic.

Deterministic Policy

Dynamically selects the optimal model for a task based on explicit capability requirements, ELO scoring, active context-window limitations, and network latency.

Fallback Cascades

Monitors provider health actively. Transparently redirects traffic to fallback models upon catching 429 (Rate Limit), 402 (Payment Required), or outright offline responses.

Free-Mode Governance

Acts as the enforcement arm for quota limitations. Hooks directly into the Free Mode ledger to estimate usage, record limits, and execute hard stops before unauthorized spend.

MODULE OWNERSHIP CONTRACT

REF: DOC-03 / 07

ROUTESWITCH OWNS

  • >> The central provider registry and API dispatching
  • >> Model routing decisions based on deterministic policies
  • >> Transparent 429/402/Offline fallback cascades
  • >> ELO/context-window capacity monitoring and tracking
  • >> Normalizing all provider responses into one internal shape
  • >> Free-mode quota hook evaluation before processing calls

DOES NOT OWN

  • >> Execution Authority: Does not decide whether a workflow is allowed to execute (CoreExec's domain).
  • >> Persistence: Does not store memory or cache persistent results (BaseVault's domain).
  • >> Dashboard UI: Does not handle the visual presentation of quota usage or limits (PortGrid's domain).
  • >> Proposal Generation: Does not parse intent or generate DAGs (ScopeLogic's domain).