Codeq is qBraid's branded version of opencode - the universe's most powerful coding agent for quantum software development.
Codeq is configured by qBraid's platform. The configuration file is placed at:
- Project-level:
.codeq/opencode.jsonin your project directory - Global:
~/.config/codeq/config.json
{
"model": "qbraid/claude-sonnet-4-5",
"provider": {
"qbraid": {
"options": {
"apiKey": "qbr_...",
"baseURL": "https://account.qbraid.com/api/ai/v1"
}
}
}
}Codeq provides access to the following models through qBraid:
| Model ID | Name | Features |
|---|---|---|
qbraid/claude-sonnet-4-5 |
Claude 4.5 Sonnet | Reasoning, attachments, tool calls |
qbraid/claude-haiku-4-5 |
Claude 4.5 Haiku | Fast, attachments, tool calls |
qbraid/gemini-3-flash |
Gemini 3 Flash | 1M context, attachments, tool calls |
qbraid/grok-4.1-fast |
Grok 4.1 Fast | Attachments, tool calls |
List available models:
codeq models# Start Codeq TUI
codeq
# Run with a message
codeq run "explain this quantum circuit"
# Start in a specific directory
codeq /path/to/projectCodeq uses the CODEQ_ prefix for environment variables:
| Variable | Description |
|---|---|
CODEQ_MODEL |
Default model to use |
CODEQ_DISABLE_TELEMETRY |
Disable usage telemetry |
CODEQ_LOG_LEVEL |
Log level (DEBUG, INFO, WARN, ERROR) |
QBRAID_API_URL |
Override qBraid API endpoint (e.g. staging) |
Codeq stores data in:
- Config:
~/.config/codeq/ - Cache:
~/.cache/codeq/ - Data:
~/.local/share/codeq/
For issues with Codeq, contact qBraid support at https://qbraid.com/support