feat(copilot-sdk): add OrcaRouter BYOK provider config - #420
Open
putraperdana1207-pixel wants to merge 1 commit into
Open
feat(copilot-sdk): add OrcaRouter BYOK provider config#420putraperdana1207-pixel wants to merge 1 commit into
putraperdana1207-pixel wants to merge 1 commit into
Conversation
Add OrcaRouter as an OpenAI-compatible BYOK provider option in the copilot-sdk skill, mirroring the existing OpenAI configuration. Co-Authored-By: Claude <noreply@anthropic.com>
putraperdana1207-pixel
requested a review
from Govind Kamtamneni (thegovind)
as a code owner
August 29, 2026 04:56
Contributor
There was a problem hiding this comment.
Pull request overview
Adds OrcaRouter as a documented OpenAI-compatible BYOK option for the Copilot SDK skill.
Changes:
- Adds an OrcaRouter provider configuration using its API endpoint and environment-based API key.
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This adds OrcaRouter as a first-class Bring Your Own Key provider option in the
copilot-sdkskill, so Copilot SDK users can point the CLI at OrcaRouter without treating it as an anonymous custom base URL.OrcaRouter is an OpenAI-compatible AI gateway built for both models and agents. Like OpenRouter, it exposes a provider/model namespace across many models — but it also combines adaptive routing, automatic failover, zero-markup inference, observability, guardrails, and agent-tool governance behind the same endpoint. Because the Copilot SDK's BYOK mode already accepts an OpenAI-compatible
providerconfig (the skill documents this for OpenAI, Azure AI Foundry, and Ollama), OrcaRouter plugs straight into that existing wiring as a named provider with a singleproviderblock:It also runs gateway-level, zero-trust security for AI agents on the same endpoint — screening every prompt/response and governing every tool call on a default-deny basis, with no application code changes.
Verified locally against the live OrcaRouter endpoint (
GET https://api.orcarouter.ai/v1/chat/completionsreturns 200 with a completion).Discord: discord.gg/YEubt8enRA · X: https://x.com/OrcaRouter
I'm an engineer on the OrcaRouter team.