OpenRouter Live Multi-Model Gateway & Failover Router
A unified multi-model routing gateway connecting DeepSeek Harness with hundreds of global LLM providers via OpenRouter. Features automated failover, latency routing, and unified billing.
A unified multi-model routing gateway connecting DeepSeek Harness with hundreds of global LLM providers via OpenRouter. Features automated failover, latency routing, and unified billing.
CLI one-click launch, package managers, and Cordis integration
$ pnpm add @openrouter/dsh-live-gatewayGuaranteed by TypeScript compile-time contracts, inter-plugin event bus calls enjoy zero-drift safety.
Supports dynamic runtime mounting and graceful unloading without restarting the primary host process.
Embeds multi-phase execution lifecycle guards, preventing context loss during long-horizon reasoning.
Designed for lightweight cross-platform environments, booting instantly across Node.js, Bun, and Deno.
Inspects outbound inference payloads, matching requirements with optimal providers.
Normalizes prompt, tool calling, and temperature parameters for downstream endpoints.
Samples live TTFT latencies across provider regions, steering traffic to healthy nodes.
Transparently triggers secondary fallback models upon HTTP 429/500 errors.
| Parameter | Type | Default | Description |
|---|---|---|---|
| primaryModel | string | deepseek/deepseek-chat | Primary model identifier |
| fallbackModels | string | deepseek/deepseek-r1,anthropic/claude-3.5-sonnet | Ordered fallback models comma-separated |
| maxRetryCount | number | 3 | Maximum retry attempts before throwing error |
Relies on microkernel lifecycle guards and fault-tolerant state machines for continuous reliability.
Native integration with SWE-bench workflows, automatically capturing diffs and verification metrics.
Separates reasoning from tool actions to independently locate and refactor multi-file codebases.
Safely orchestrates events across sandboxes to seamlessly link enterprise developer tooling.
Strictly isolate sub-process calls and network scope; deploy within Docker containers in production.
Configure adaptive exponential retries with strict timeouts to mitigate upstream model rate limits.
Persist state machine snapshots to survive hardware interruptions and resume instantly without loss.
Enable full trace logging, aggregating reasoning thought streams and tool I/O into your observability hub.
Increase the timeout parameter inside your YAML configuration and dispatch periodic heartbeat signals across the Cordis event bus. For long-running tool execution and model reasoning, configure persistent session snapshotting so suspended tasks can safely resume their exact context after interruptions, preventing the kernel from recycling active agent sessions prematurely.
The harness runtime natively provides end-to-end streaming hooks while its state machine automatically intercepts and strips <think> reasoning tags from model responses. Subscribe directly to the onThink event listener to consume live reasoning token streams in real-time, delivering typewriter animation to the user interface while persisting full trajectories for audit compliance.
Cordis microkernel uses directed acyclic graph topological sorting to dynamically resolve plugin dependencies. When shared services or runtime versions conflict, assign distinct isolated namespaces at the application entrypoint. Leveraging context injection alongside lazy activation ensures dependencies load strictly on-demand when tools are triggered, maintaining system stability and preventing memory bloat.
Combine isolated container sandboxing with fine-grained capability checks to prevent plugins from accessing sensitive files or unauthorized external networks. Enforce explicit runtime system call whitelisting through the microkernel, executing all third-party tool scripts inside isolated ephemeral containers to block arbitrary code execution and eliminate security privilege escalation risks entirely.
Official AGY Cloud dedicated inference driver for DeepSeek Harness. Features HTTP/2 multiplexed persistent connections, binary streaming protocols, and ultra-low latency cluster routing.
An adaptive task-complexity model router for DeepSeek Harness. Automatically routes lightweight tasks to fast small models while escalating deep logical reasoning to DeepSeek-R1, saving costs.
A production-grade asynchronous heartbeat and persistent daemon runtime for DeepSeek Harness agents. Features declarative cron scheduling, session state persistence, and event-driven wakeups for autonomous background workflows.