Skip to main content
Auriko connects to OpenClaw as a custom model provider. You can use multiple models through a single API key.

Prerequisites

Install OpenClaw

Install via npm:
Or use the installer script:
If you used the installer script, open a new terminal. Then confirm:
You need version v2026.1.30 or later. Start the gateway daemon:
The daemon runs on port 18789 and must be running for OpenClaw to process requests.

Set your API key

Export your API key:
Your key starts with ak_live_ (production) or ak_test_ (testing). To persist across terminal sessions, add this line to ~/.zshrc or ~/.bashrc. Reload your shell after saving:
Or open a new terminal. If you installed the daemon via openclaw onboard --install-daemon, also register the key with the daemon:
The daemon runs as a LaunchAgent and doesn’t inherit your shell’s environment variables. Without this step, the daemon can’t resolve ${AURIKO_API_KEY} from the config file.

Configure the provider

Create or update ~/.openclaw/openclaw.json with the Auriko provider:
The models array uses bare IDs (claude-sonnet-4-6) matching what Auriko’s API expects. The agents.defaults.models object uses prefixed IDs (auriko/claude-sonnet-4-6). OpenClaw doesn’t route to a model unless it appears in both places. models.mode: "merge" keeps OpenClaw’s bundled providers alongside Auriko. If you already have a config from openclaw onboard, merge the auriko provider into your existing models.providers object and add the auriko/ entries to your existing agents.defaults.models. ${AURIKO_API_KEY} reads your environment variable. Don’t paste your key into the config. agentRuntime: { id: "pi" } selects the embedded agent harness. Without it, OpenClaw defaults to codex which requires a separate binary.

Verify

Test that the connection works:

Use different models

Switch the active model from the CLI:
To switch models during an interactive session, type /model auriko/<id>. Models available through Auriko: To use a model not in this list, add its bare ID to models.providers.auriko.models and its prefixed ID to agents.defaults.models in your config. To list all Auriko models:
OpenClaw includes a diagnostic command:
This checks daemon connectivity, provider configuration, and model availability. Run openclaw doctor --fix to auto-resolve common problems.

Control routing

Configure routing in the Auriko dashboard. See routing options for details.

Uninstall

Remove the auriko provider block from ~/.openclaw/openclaw.json and delete any auriko/ entries from agents.defaults.models. Remove AURIKO_API_KEY from your shell profile (~/.zshrc or ~/.bashrc).

Troubleshoot