# Agent credentials

![Agent credentials configuration showing Claude Code, Codex, Grok Build, Muse Code, Cursor, Pi, OpenCode, Amp, Factory Droid, and Gemini credential sections](</docs/_next/static/media/agent-credentials-overview.0gs_-dns44630.jpg>)

Superconductor primarily works on a BYOK (bring-your-own-keys) basis, meaning that coding agents use your own keys or connected plans.

## Connecting credentials [#connecting-credentials]

Add agent API keys in [Workspace Settings → Agent Credentials](https://www.superconductor.com/workspaces/default/api_keys) or in [Project Settings](/docs/projects) → **Agent Credentials**.

For Claude Code, Codex, Grok Build, and Muse Code agents, we additionally support individual users connecting their Claude, ChatGPT, SuperGrok, and Muse Code plans instead of using API keys. These agents show a **Connect your plan** badge in the credentials list.
This can be done either in [Workspace settings](https://www.superconductor.com/workspaces/default/api_keys), Project settings, or Account settings.

<Callout type="info">
See the [Usage dashboard](/docs/workspaces/usage) to track agent spend across your workspace and spot metered-API spend a connected plan could cover.
</Callout>

<Callout type="info">
**How do I track usage?** If an implementation uses an API key, the [implementation card's](/docs/implementations#the-implementation-dashboard) Cost value estimates the API spend for that run. If an implementation uses a connected Claude, ChatGPT, or Muse Code plan, use the [usage stats](/docs/implementations#usage-stats) shown next to the agent name instead. For plan-covered runs, the card shows **$0** followed by a faded **token value** in parentheses — an API-price estimate of the tokens used, not a charge on your plan.
</Callout>

<Callout type="info">
**How are Gemini API keys used?** Gemini API keys configured in Workspace or Project Settings are used only for [Superconductor skills](/docs/projects/mcp-and-skills/other-superconductor-skills), such as Video Understanding and Image Generation. To run coding agents and/or benchmarks with Gemini models, use OpenCode, Pi, Factory Droid, or Cursor.
</Callout>

## Deciding which credentials to use [#deciding-which-credentials-to-use]

If an implementation agent is launched through an integration (e.g. by an [external PR](/docs/projects#treatment-of-prs-created-outside-of-superconductor), [Slack](/docs/integrations/slack), [Linear](/docs/integrations/linear), [Email triage](/docs/projects/email), or the [Meeting assistant](/docs/projects/meetings)), Superconductor can use the associated user's connected plan when one is available for the selected agent. Otherwise, we use Project API keys, then Workspace API keys, then [workspace credits](/docs/workspaces#billing-and-credits).

If the agent is launched manually by a user, we follow this precedence order:

1. That user's connected plan (if any)
2. Project API key (if any)
3. Workspace API key
4. [Workspace credits](/docs/workspaces#billing-and-credits), if available and the agent supports them
5. Another workspace member's connected plan, for benchmark runs

<Callout type="info">
**What if my connected plan hits its usage limit?** Superconductor does **not** automatically fall back on an API key mid-run. The implementation will stop, and you'll see a message in the chat indicating that your plan's limit has been reached and when it resets. For future runs, you can disconnect your plan in your settings and use an API key instead until the limit resets.
</Callout>

## Best available credentials [#best-available-credentials]

Some features don't ask you which agent to use — they automatically run with the best coding agent you have credentials configured for. Superconductor tries them in this order and uses the first one with a working credential:

1. Codex (GPT-6.2 Sol, extra high reasoning)
2. Codex (GPT-6.2 Astra, extra high reasoning)
3. Claude Code (Opus 5.5, medium reasoning)
4. Amp
5. OpenCode (GPT-6.1 Sol, extra high reasoning)
6. Pi (Kimi K3, max reasoning)
7. Grok Build (Grok 4.7, high reasoning)
8. Muse Code (Muse Wonder 1.0, extra high reasoning)
9. Cursor (Composer 2.5)

Features that use this fallback:

- [QA Checks](/docs/implementations/qa-checks)
- [Email triage](/docs/projects/email) [Beta]
- [Personal assistants](/docs/workspaces/personal-assistants), if your [Default agent profile](/docs/account-settings#default-agent-profile) is unset or unavailable
- The fallback default selection in the [profile selector](/docs/implementations#launching-implementations) when you launch an implementation, if your [Default agent profile](/docs/account-settings#default-agent-profile) is unset or unavailable for the project

### Guided review and the meeting assistant pick differently [#guided-review-and-the-meeting-assistant-pick-differently]

[Guided review](/docs/implementations/review#guided-review) and the [meeting assistant](/docs/projects/meetings) [Beta] run at moderate reasoning effort instead of the highest one, so they try a shorter list first:

1. Codex (GPT-6.1 Terra, medium reasoning)
2. Claude Code (Sonnet 5.5, medium reasoning)
3. Amp
4. Grok Build (Grok 4.7, medium reasoning)
5. Muse Code (Muse Spark 1.3, medium reasoning)
6. Cursor (Composer 2.5)

OpenCode and Pi aren't on this list because they don't offer a moderate-effort profile. If you don't have a credential for any of these six, they fall back to the full order above.