OpenClaw can be configured against the LinkHarbor Anthropic-compatible endpoint for Claude-style agent workflows. Use the same API key and endpoint conventions as the Anthropic-Compatible API page.
Configure OpenClaw with the LinkHarbor Anthropic-compatible base URL and an API key from your workspace. Verify the exact OpenClaw package or runtime option you use supports Anthropic-compatible settings.
Set the Anthropic-compatible API key and endpoint before starting your tool.
export ANTHROPIC_AUTH_TOKEN="YOUR_API_KEY"
export ANTHROPIC_BASE_URL="https://api.linkharbor.ai/anthropic"Point OpenClaw at the LinkHarbor Anthropic-compatible base URL and choose a model from the LinkHarbor catalog.
{
"provider": "anthropic",
"baseURL": "https://api.linkharbor.ai/anthropic",
"apiKey": "$ANTHROPIC_AUTH_TOKEN",
"defaultModel": "your-model-name"
}Before wiring it into an agent workflow, send a direct Anthropic Messages API request to verify the key, endpoint, and model name.
curl https://api.linkharbor.ai/anthropic/v1/messages \
--header "x-api-key: $ANTHROPIC_AUTH_TOKEN" \
--header "anthropic-version: 2023-06-01" \
--header "content-type: application/json" \
--data '{
"model": "your-model-name",
"max_tokens": 1024,
"messages": [{"role": "user", "content": "Hello"}]
}'