Empryoempryo.beta
← Providers
provider

Anthropic (Claude) with Empryo

Anthropic is the maker of Claude, the model family Empryo defaults to and the one its own benchmarks are run on. It's a first-class built-in provider: one `--set-key` and every Claude model is available for chat, code, search, and every task-router slot. If you only set up one provider with Empryo, this is the one to pick.

Popular models

claude-opus-4-8claude-opus-4-7claude-opus-4-6claude-sonnet-4-6claude-sonnet-4-5claude-haiku-4-5

Setup

Quick start

Anthropic is one of Empryo's 21 built-in providers, so there is nothing to install or configure beyond a key.

  1. Get a key at console.anthropic.com (it starts with sk-ant-).
  2. Save it:
empryo --set-key anthropic sk-ant-...
  1. Launch Empryo, press Ctrl+L, and pick a Claude model.

The key is written to your OS keychain when one is available (Login Keychain on macOS, libsecret on Linux, DPAPI on Windows), with a ~/.empryo/secrets.json file fallback otherwise. Inspect what's stored with empryo --list-providers.

Verify and browse models

empryo --list-providers          # confirm anthropic shows a key
empryo --list-models anthropic   # list available Claude models

Pass a key per-launch

For a one-off session or CI, export the env var instead of storing it — nothing is persisted:

ANTHROPIC_API_KEY=sk-ant-... empryo

Empryo's default lookup order is env var → keychain → file. If a shell-exported key keeps overriding a stored one, flip the order in ~/.empryo/config.json:

{ "keyPriority": "app" }

Make Claude the default

Model strings are anthropic/<model>. Set a default in ~/.empryo/config.json (or .empryo/config.json for one project):

{
  "defaultModel": "anthropic/claude-opus-4-8",
  "thinking": { "mode": "adaptive" }
}

Route Claude tiers per task

Empryo's task router lets you assign a different model to each kind of job — a cheap, fast model for read-only research and a strong one for code:

{
  "taskRouter": {
    "spark":     "anthropic/claude-haiku-4-5",
    "ember":     "anthropic/claude-opus-4-8",
    "webSearch": "anthropic/claude-haiku-4-5",
    "verify":    "anthropic/claude-haiku-4-5",
    "compact":   "anthropic/claude-haiku-4-5"
  }
}

spark runs read-only research agents, ember runs code-writing agents, and the rest cover web search, adversarial review, and context compaction. Tune slots live in the TUI with /router.

Remove a key

Run /keys inside the TUI to list providers with delete shortcuts, or remove it from the keychain directly (e.g. security delete-generic-password -a empryo -s anthropic-api-key on macOS).