runs in your browser — no server callzero-dependencyApache-2.0isomorphic (edge + browser)

AI Model Routing Kernel — live demo

A deterministic routing policy engine: given a task and a BYOK provider config (no API keys here), it selects the best model from your fleet with ranked fallbacks and a signed rationale. Hard filters first — health, capability, privacy, token capacity — then weighted cost + latency scoring.

Scenarios

Provider config

Task request

This runs the kernel entirely in your browser — /kernel/flowdesk-route-kernel.js is loaded as a plain script (UMD). No request leaves this page. The same function runs server-side at /api/v1/agent/route and returns a signed attestation.

What this is: a policy RECOMMENDATION. Health, latency_tier, and cost_tier come from your config — the kernel doesn't measure live latency or call providers. Pair with a health-probe cron to keep the health flag current.

// the governed loopsimulateconstitutionexecutesignedverifyES256 · audit-chained