Skip to main content
MIRA supports Anthropic’s Claude models for both the RLM and Native Agent engines. You can use any Claude model available on your Anthropic API account — not just the suggestions shown in the UI.

Setup

1

Get an API key

Log in to console.anthropic.com and create an API key.
2

Save the key in MIRA

Press ⌘, → API Tokens tab → click Add token.
FieldValue
LabelAnthropic API Key (or any name)
Env varANTHROPIC_API_KEY
ValueYour sk-ant-… key
Click Save. The key is encrypted with safeStorage and injected as an environment variable each time an engine starts.
3

Select Anthropic in the Engine tab

Press ⌘, → Engine tab → in the Provider & Model section, click the Anthropic button.
4

Enter a model ID

MIRA shows suggestion chips for common Claude models. You can also type any valid model ID directly into the Model ID field — any model your API key has access to works.
ModelIDBest for
Claude 3.5 Sonnetclaude-3-5-sonnet-20241022Balanced speed and quality
Claude 3.5 Haikuclaude-3-5-haiku-20241022Fast responses, lower cost
Claude 3 Opusclaude-3-opus-20240229Complex reasoning, long documents
5

Save

Click Save & restart bridge. The engine restarts automatically.

Suggested models

The following models appear as quick-select chips. You are not limited to these — type any valid Claude model ID into the Model ID field.
ModelIDNotes
Claude 3.5 Sonnetclaude-3-5-sonnet-20241022Strong reasoning, widely used
Claude 3.5 Haikuclaude-3-5-haiku-20241022Fast, cost-effective
Claude 3 Opusclaude-3-opus-20240229Highest capability, slower
Anthropic regularly releases newer Claude versions. Paste any model ID from the Anthropic models page directly into the Model ID field.

Streaming

MIRA streams Claude responses using Anthropic’s streaming API. All models support streaming.

Troubleshooting

ErrorFix
401 Authentication errorAPI key is incorrect — check it in the Anthropic console
529 OverloadedAnthropic API is under high load — retry in a few seconds
model_not_foundModel ID is invalid or your key does not have access to it
Edit this page — Open a pull request