Set up Autark in the AI tools you already have.
npx @autarkai/cli initDetects what you have installed, writes the config where it can, and prints exact steps where it cannot.
| Tool | Action |
|---|---|
| Hermes Agent | Adds providers.autark to config.yaml (every profile) |
| OpenCode | Merges an autark provider into opencode.json |
| Cursor | Prints the Settings → Models walkthrough |
| Claude Code | Prints the Anthropic proxy setup |
Cursor and Claude Code are not automatable: Cursor's model settings live in its own state, not a config file, and Claude Code speaks the Anthropic API so it needs a translation proxy. The installer says so rather than pretending.
npx @autarkai/cli init # detect and configure
npx @autarkai/cli init --key <key> # use an existing key
npx @autarkai/cli status # show what was detectedIt never rewrites a config it does not understand.
- JSON is parsed, merged and written. Your existing providers and your chosen model are preserved.
- YAML is not parsed (no dependencies). The installer looks for a top-level
providers:block and appends one entry to it. If that block is missing, it refuses and prints the snippet instead of guessing where it belongs. - Every file it edits is backed up first, to
<path>.autark-backup-<timestamp>.
A corrupted config costs more trust than the install saves, so refusing is always an acceptable outcome.
The installer writes key_env: AUTARK_API_KEY into Hermes configs rather than
the key itself, so the secret never lands in a file you might commit:
export AUTARK_API_KEY=autark_sk_...OpenCode has no equivalent, so the key is written into opencode.json there.
That file is normally local-only; keep it out of version control.
- Humans: https://cloud.autark.ai
- Agents:
POST https://api.autark.ai/v1/agents/registerreturns a key and a USDC deposit address with no email required. See https://api.autark.ai/v1/agents/guide
autark-agent autark-pro autark-deep
autark-agent-private autark-pro-private autark-deep-private
The -private variants route only to providers that contractually never retain
or train on prompts.
MIT