Prerequisites
- GitHub Copilot CLI installed
- Active Orq.ai account
- Orq.ai API key
Model requirements
The selected model must support tool calling (function calling) and streaming. Copilot CLI returns an error for models missing either capability. For best results, choose a model with a context window of at least 128k tokens.Setup
Configure the provider with environment variables before launching Copilot CLI. Export the API key first:<orq-api-key> with the key from Workspace Settings → API Keys.
- OpenAI-compatible (recommended)
- Anthropic
The OpenAI-compatible router reaches the full AI Gateway catalog. This is the default provider type, so Replace
COPILOT_PROVIDER_TYPE can be omitted.openai/gpt-5.6-sol with any identifier from the AI Gateway catalog (e.g. anthropic/claude-sonnet-5, google/gemini-3.5-flash).Configuration Reference
Skills
Orq Skills add pre-built agentic workflows to Copilot CLI for the full Build, Evaluate, Optimize lifecycle.Installation
Orq Skills
The full catalogue of skills and slash commands.
Slash commands (
/orq:orq-quickstart, /orq:traces, and others) are only available in Claude Code.MCP Gateway
The MCP Gateway serves the tools, resources and prompts of the MCP Servers linked to it. Register the gateway with the Copilot CLI.- OAuth
- API key
/mcp auth <gateway-key> to sign in through the browser, and the same command to authenticate again later.Troubleshooting
400 invalid model format
400 invalid model format
Set
COPILOT_MODEL to the provider/model_id format (e.g. anthropic/claude-sonnet-5). Bare model IDs are rejected by the router.Model returns a capability error
Model returns a capability error
The selected model must support tool calling and streaming. Choose a different model from Workspace Settings → Models.
No Traces appearing in Orq.ai
No Traces appearing in Orq.ai
Confirm
COPILOT_PROVIDER_BASE_URL points to https://my.orq.ai/v3/router or https://my.orq.ai/v3/anthropic and the API key is a valid Orq.ai key. Requests sent to the wrong endpoint will not appear in Orq.ai Traces.Verification
Launch Copilot CLI with the provider variables set and send a prompt. The response appears in the session and the trace appears in Orq.ai Traces with the model identifier set inCOPILOT_MODEL.