Skip to content
Integrations/Agent Harnesses

Grok Build

Connect Grok Build to AudioLab Router.

Configuration

Install Grok Build 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.

~/.grok/config.toml
[model.audiolab]
model = "openai/gpt-6-astra"
name = "AudioLab"
base_url = "https://api.tryaudiolab.ai/v1"
env_key = "AUDIOLAB_API_KEY"
api_backend = "chat_completions"
context_window = 128000
max_completion_tokens = 4096
supports_backend_search = false

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.

Terminal
npx https://tryaudiolab.ai/cli/router-0.1.0.tgz setup --agent grok-build

Launch

Terminal
npx https://tryaudiolab.ai/cli/router-0.1.0.tgz run grok-build

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 Grok Build.

The setup command can check authentication and model discovery without generating a response. See the protocol contracts for model and feature limits.

Reference

Grok Build Configuration — Official Documentation

AudioLab Setup Command