Copied to clipboard

OpenClaw Setup

Point OpenClaw's Anthropic base URL at the tapes proxy to capture every conversation.

This guide assumes you've installed tapes and are running OpenClaw on exe.dev with an Anthropic API key. For OpenClaw itself, see the official setup guide.

Start the proxy

Run tapes configured for Anthropic:

tapes serve \
  --provider anthropic \
  --upstream "https://api.anthropic.com" \
  --proxy-listen "0.0.0.0:8080" \
  --postgres "postgres://tapes:tapes@localhost:5432/tapes?sslmode=disable"

Point OpenClaw at the proxy

Edit ~/.openclaw/openclaw.json to route the Anthropic provider through tapes:

{
  "providers": {
    "anthropic": {
      "baseUrl": "http://localhost:8080"
    }
  }
}

Start chatting with your OpenClaw agent through its configured channel. Each exchange is captured with full context and token usage.

Verify It's Working

After a message, confirm the session was captured:

tapes sessions

Your conversation appears in the list.

Troubleshooting

"disconnected (1008): pairing required"

A device needs approval. List pending requests and approve the device:

openclaw devices list
openclaw devices approve <request-id>
openclaw health

Refresh the dashboard — the connection should now show as healthy. See the channels documentation for details.

Next Steps

Everything you capture is queryable the same way:

Last updated: