Skip to main content
OpenClaw connects directly to LithosAI through a custom OpenAI Chat Completions provider. You do not need a local proxy or protocol adapter. OpenAI Responses-only behavior is not available on this route.

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 ~/.openclaw/openclaw.json.
~/.openclaw/openclaw.json
Replace the model ID if you selected a different model in the LithosAI console.
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 a README.md, ask OpenClaw:
OpenClaw should read the local file and return its heading. This verifies both the model response and a basic local tool call.

Troubleshooting

Issues common to every agent are listed under Common issues.

Resources