Skip to main content

OpenClaw

OpenClaw is a proxy gateway that implements the Anthropic Messages API. Connect OpenClaw to local GoingMerry endpoints to translate Anthropic SDK requests into local completions.


1. Setup

Install OpenClaw in your local developer space:

npm install -g @openclaw/gateway

2. Setting Up Variables

Direct OpenClaw to translate and forward incoming Anthropic schema calls to the GoingMerry API:

export OPENCLAW_API_PROVIDER="merry"
export OPENCLAW_MERRY_URL="http://localhost:11434"
export OPENCLAW_MODEL_MAPPING="claude-3-5-sonnet:gemma4"

Start the OpenClaw gateway listener:

openclaw start --port 8080

Now, any coding agent calling the Anthropic API through port 8080 will execute models locally via GoingMerry.