OpenClaw
Install OpenClaw and leave your Link model serving. Test its API from the machine or container running the OpenClaw gateway.
Connect OpenClaw to Link
Slide 1 of 9: Deployment in Control.
Read the OpenClaw setup and copy JSON
Start serving and test the API on the machine running OpenClaw's gateway.
How the connection works
Add the provider
Open ~/.openclaw/openclaw.json, or your configured alternative path. Merge this fragment into the existing configuration and replace the port and model ID with your tested values. See OpenClaw's configuration guide for other ways to edit it.
{
"models": {
"mode": "merge",
"providers": {
"aventail": {
"baseUrl": "http://127.0.0.1:8100/v1",
"api": "openai-completions",
"apiKey": "aventail-local",
"models": [
{
"id": "Gemma 4 (X-Small)",
"name": "Aventail Gemma"
}
]
}
}
}
}
The provider uses baseUrl, an API adapter and a model catalogue, as described in OpenClaw's custom-provider reference. The example credential is a placeholder for the tested unauthenticated local endpoint; it is not your Control API key.
Select and test the model
Open the interactive setup wizard:
openclaw onboard
Follow the model-selection prompts and choose your local provider's model, aventail/Gemma 4 (X-Small) in this example. The screenshots show an earlier CLI wizard; follow the onboarding reference for your installed version. If you already configured OpenClaw, review its existing connection instead of starting a new configuration.
Send a short chat message and check the answer. The screenshot shows Slack; connecting a messaging channel is a separate step covered by OpenClaw's channel guides.
The gateway makes the request. If it runs in a container or on another host, change the address to one it can reach; 127.0.0.1 refers to the gateway's own environment.
A successful chat does not establish tool calling, structured output or long-context support. Test those capabilities with the chosen model before enabling an agent workflow. For connection problems, repeat the API test from the gateway's environment.