OpenClaw
Connect OpenClaw to AudioLab Router.
Configuration
Install OpenClaw and Node.js 20 or later. Create an AudioLab workspace key with llm.write, available credits, and access to the selected model. Export it as AUDIOLAB_API_KEY in the terminal that launches the agent.
{
models: {
providers: {
audiolab: {
baseUrl: 'https://api.tryaudiolab.ai/v1',
api: 'openai-completions',
apiKey: '${AUDIOLAB_API_KEY}',
models: [
{
id: 'openai/gpt-6-astra',
name: 'openai/gpt-6-astra',
input: [
'text',
],
contextWindow: 128000,
maxTokens: 4096,
},
],
},
},
},
}Automatic Setup
The command previews the files and fields it changes. Confirm to apply; it stores a private backup and prints an undo command. It does not store the API key or change your shell profile. Automatic file setup supports macOS and Linux.
npx https://tryaudiolab.ai/cli/router-0.1.0.tgz setup --agent openclawIn OpenClaw, select audiolab/<model-id> as the model. Restart an existing gateway process so it inherits AUDIOLAB_API_KEY.
Launch
npx https://tryaudiolab.ai/cli/router-0.1.0.tgz run openclawSupported Configuration
This adds a provider without replacing existing agents or defaults. Choose audiolab/openai/gpt-6-astra in OpenClaw. A gateway running as a service needs the API key in its own service environment; a terminal export alone does not update it.
Verify the Connection
Send a short text prompt, then a read-only tool request in a disposable project. Check the model, request record, and usage in Router. Test streaming and a follow-up turn before using a longer workflow. Client-specific tools and permissions remain managed by OpenClaw.
The setup command can check authentication and model discovery without generating a response. See the protocol contracts for model and feature limits.