Add OrcaRouter as an optional model provider for DeepZero
DeepZero is an automated vulnerability research pipeline engine that lets researchers turn a large corpus of Windows kernel drivers into an overnight hunt for exploitable IOCTLs. Stages such as Ghidra decompile, semgrep scan, and LLM assessment are described in YAML and orchestrated with parallel execution and resumable per-sample state, which directly tackles the impracticality of triaging thousands of drivers by hand, as the bundled BYOVD/loldrivers pipeline shows.
That automation is only as good as the model behind the LLM assessment stage, and DeepZero already treats providers as interchangeable: a model: string in pipeline.yaml resolves to a backend, with the default LiteLLM backend reading OpenAI-style keys such as OPENAI_API_KEY or OPENROUTER_API_KEY from .env. I'm an engineer on the OrcaRouter team, and I'd like to propose adding OrcaRouter as an optional provider in that same model-selection path.
Proposed Solution
Add OrcaRouter as an optional, opt-in provider. It would not replace or change any existing provider: the Claude Code CLI backend and all LiteLLM-routed endpoints keep working as they do today. OrcaRouter exposes an OpenAI-compatible API and uses standard API-key authentication, so the natural integration point is DeepZero's existing provider abstraction - an ORCAROUTER_API_KEY in .env alongside the current keys, selectable per pipeline via the model: field with no engine change. Nothing here is implemented or tested yet; this issue is to confirm the approach before I open a PR.
Capabilities most relevant to an unattended research pipeline:
- Automatic model routing and provider failover - one key can route assessment calls across multiple chat and reasoning models and fall back to another provider on rate limits or outages, which matters most when a run executes overnight with no one watching.
- Prompt caching - repeated driver-analysis prompts across many samples become cheaper and faster.
- Usage tracking and budgets - per-run visibility into token spend keeps metered, CI-driven analysis within predictable budgets.
OrcaRouter is already entering the open-source ecosystem, with projects such as RAGFlow, Dify, and CAMEL surfacing it as a provider option; see https://www.orcarouter.ai/built-with for examples of current integrations.
Disclosure
OrcaRouter runs an optional open-source partner program: approved OSS projects can receive a 5% revenue share from OrcaRouter usage attributed to their integration. Participation is not a prerequisite for integration, and I'm happy to follow whatever disclosure or governance expectations DeepZero's maintainers have.
Would OrcaRouter be of interest as an optional provider? I'm glad to take feedback on naming, docs placement, or scope, and to submit an implementation PR for review once you've given the go-ahead.
Thanks for the detailed write-up and the disclosure.
DeepZero's LLM layer delegates to [LiteLLM](https://docs.litellm.ai/), which already supports any OpenAI-compatible endpoint. Since OrcaRouter exposes that API, it works today with no engine change:
# pipeline.yaml
model: openai/your-model-name
# .env
OPENAI_API_KEY=your-orcarouter-key
OPENAI_API_BASE=https://api.orcarouter.ai/v1
That's the same mechanism every other OpenAI-compatible provider uses — there's no per-provider code path to add. If LiteLLM adds a native orcarouter/ prefix in the future, it'll work here automatically.
Closing this since there's nothing to change on the DeepZero side, but feel free to reopen if you hit something that doesn't route correctly through LiteLLM.