Skip to content

feat(copilot-sdk): add OrcaRouter BYOK provider config - #420

Open
putraperdana1207-pixel wants to merge 1 commit into
microsoft:mainfrom
putraperdana1207-pixel:feat/orcarouter-byok-provider
Open

feat(copilot-sdk): add OrcaRouter BYOK provider config#420
putraperdana1207-pixel wants to merge 1 commit into
microsoft:mainfrom
putraperdana1207-pixel:feat/orcarouter-byok-provider

Conversation

@putraperdana1207-pixel

Copy link
Copy Markdown

This adds OrcaRouter as a first-class Bring Your Own Key provider option in the copilot-sdk skill, 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 provider config (the skill documents this for OpenAI, Azure AI Foundry, and Ollama), OrcaRouter plugs straight into that existing wiring as a named provider with a single provider block:

provider: { type: "openai", baseUrl: "https://api.orcarouter.ai/v1", apiKey: process.env.ORCAROUTER_API_KEY }

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/completions returns 200 with a completion).

Discord: discord.gg/YEubt8enRA · X: https://x.com/OrcaRouter

I'm an engineer on the OrcaRouter team.

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>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants