Before you begin
Install OpenClaw, create a key on the API Keys page, and confirm the model ID you want to use on the Models page.1
Export your LithosAI key
Export the key in the environment that runs the OpenClaw Gateway.
The Gateway process itself must see
LITHOSAI_API_KEY. Exporting it in another shell
does not update a running service; restart the Gateway after changing it.2
Add LithosAI as a custom provider
Merge the following settings into Replace the model ID if you selected a different model in the LithosAI console.
~/.openclaw/openclaw.json.~/.openclaw/openclaw.json
3
Check and restart OpenClaw
Validate the configuration, then restart the Gateway so it reads the new provider.
Verify the connection
In a workspace that contains aREADME.md, ask OpenClaw:
Troubleshooting
Issues common to every agent are listed under Common issues.