Skip to content
Integrations/Agent Harnesses

ForgeCode

Connect ForgeCode to AudioLab Router.

Configure ForgeCode

Create an AudioLab workspace key with llm.write and available credits. Use a model enabled for your workspace. Keep existing client permissions and tool approval settings.

Append this provider entry to ~/.forge/.forge.toml. Keep existing providers and select AudioLab with :provider and :model.

~/.forge/.forge.toml
[[providers]]
id = "audiolab"
url = "https://api.tryaudiolab.ai/v1/chat/completions"
models = "https://api.tryaudiolab.ai/v1/models"
api_key_vars = "AUDIOLAB_API_KEY"
response_type = "OpenAI"
auth_methods = ["api_key"]

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 ForgeCode.

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

Reference

ForgeCode Configuration — Official Documentation

AudioLab Setup Command