local-openclaw automatically.
Prerequisites
- Docker Desktop installed and running
- LiteLLM Agent Platform repo cloned
1. Start the stack
- The LiteLLM Agent Platform web/API service
- A Postgres database
- The OpenClaw runtime bridge
- An OpenClaw Gateway configured to call the LAP gateway for model inference
- Registers
local-openclawin the UI automatically
sk-local by default).
2. Add model provider credentials
In Settings → Credentials, add a model provider API key. OpenClaw routes model calls through your LiteLLM gateway, so provider keys stay in LAP.3. Create an agent
In the UI, click New Agent, chooselocal-openclaw as the runtime, select
a model, and optionally set a system prompt.
Or via the API:
4. Run your agent
Select your agent in the UI and start a session. The bridge exposes OpenClaw through the same Anthropic Managed Agents-compatible event stream as the other template runtimes. Or via the API:Stop the stack
Hosted or custom bridge
Use the same OpenClaw bridge when OpenClaw runs outside the local Compose stack, for example on Render or another container host. Deploytemplates/openclaw as
a web service and point it at your LiteLLM Agent Platform gateway:
/data if you want bridge agent and session
state to survive restarts.
Then register the bridge as a custom runtime harness. Use the bridge root URL
as api_base, not its /v1 OpenClaw Gateway URL:
alias becomes the runtime ID for agents and sessions. Create agents with
"runtime": "render-openclaw" and LAP will drive OpenClaw through the existing
Claude Managed Agents-compatible event stream.
Configuration
OpenClaw runtime configuration lives in thecompose.yaml openclaw service
block and templates/openclaw.
By default, the template:
- Installs Chromium and starts OpenClaw browser tooling during container boot
- Uses FTS-only memory search so no embedding API key is required
- Seeds a small runtime memory file and indexes it on boot
- Sends OpenClaw model calls to the LAP gateway through the generated
litellmprovider config
OPENCLAW_AGENT_MODEL, and override the
registered model list with OPENCLAW_MODELS.