If you've been on X lately, you've likely seen Clawdbot. Even Andrej Karpathy is impressed. It's essentially "Open Source Siri on Steroids"—an AI assistant that runs on your machine and can chat with you on Telegram, WhatsApp, or Discord to perform real tasks (file reading, script execution, web browsing, etc.).
But there's a catch: Clawdbot defaults to the official Anthropic API. If you've ever tried to maintain an official Claude API account, you know the pain: random bans, payment hurdles, and geo-restrictions.
There is a better way. In this guide, we'll show you how to configure Clawdbot to use Wisdom Gate as your high-stability, ban-proof Claude provider.
The Bottleneck: Why Third-Party API?
Clawdbot is just the "body." It needs a "brain" (the LLM). Connecting it directly to Anthropic is like filling a Formula 1 car with gas from a sippy cup.
- Official API: Strict limits, requires a credit card, prone to bans.
- Wisdom Gate: High rate limits, crypto/easy payments, aggregation of multiple models (Opus 4.5, etc.), and no account maintenance headaches.
Step-by-Step Configuration Guide
This tutorial assumes you have already installed Clawdbot. If not, follow their official repo first.
Step 1: Locate the Config File
Clawdbot stores its configuration in a JSON file in your home directory.
Open your terminal and edit:
~/.clawdbot/clawdbot.json
Step 2: The Magic Configuration
Copy and paste the following configuration into your models section.
Key Change: We are defining a custom provider cc (Custom Claude) that points to Wisdom Gate.

{
"models": {
"providers": {
"cc": {
"baseUrl": "https://wisdom-gate.juheapi.com",
"apiKey": "sk-ant-***YOUR_WISDOM_GATE_KEY***",
"api": "anthropic-messages",
"models": [
{
"id": "claude-opus-4-5-20251101",
"name": "Claude Opus 4.5",
"reasoning": true,
"input": ["text", "image"],
"cost": {
"input": 0,
"output": 0,
"cacheRead": 0,
"cacheWrite": 0
},
"contextWindow": 200000,
"maxTokens": 4096
}
]
}
}
},
"agents": {
"defaults": {
"model": {
"primary": "cc/claude-opus-4-5-20251101"
}
}
}
}
Step 3: Critical Gotchas (Don't Skip This!)
I spent all night debugging this so you don't have to. Here are the 3 things that will break your bot:
- The
apiField: It MUST beanthropic-messages.- ❌
anthropic(Will fail) - ❌
openai-responses(Will fail) - ✅
anthropic-messages(This tells Clawdbot to use the specific Anthropic protocol expected by Wisdom Gate).
- ❌
- The
baseUrl: Do NOT include/v1.- Clawdbot automatically appends
/v1to the URL you provide. - ❌
https://wisdom-gate.juheapi.com/v1-> Becomes.../v1/v1(404 Error) - ✅
https://wisdom-gate.juheapi.com-> Becomes.../v1(Correct)
- Clawdbot automatically appends
- Model ID: Match the Gateway.
- Wisdom Gate supports
claude-opus-4-5-20251101. Ensure this ID matches exactly what's in your JSON.
- Wisdom Gate supports
Step 4: Restart and Verify
Once you've saved the JSON file, you need to restart the Clawdbot gateway to load the new config.
clawdbot gateway restart
Then, verify the connection:
clawdbot channels status --probe
If you see reachable, you are golden.
Troubleshooting
"403 Forbidden"
- Cause: Your API key might be invalid or has insufficient permissions.
- Fix: Check your Wisdom Gate dashboard. Ensure you have credits and the key is active.
"404 Not Found"
- Cause: You probably included
/v1in thebaseUrl. - Fix: Remove it.
Bot doesn't reply
Check the logs to see the actual error message:
find ~/.clawdbot/agents/main/sessions -name "*.jsonl" -exec ls -t {} \; | head -1
Use tail on the result file to see the last few lines.
Pro Tip: Test with curl First
Before tearing your hair out with Clawdbot config, verify your Key and URL work with a simple curl command:
curl -X POST https://wisdom-gate.juheapi.com/v1/messages \
-H "x-api-key: YOUR_KEY" \
-H "Content-Type: application/json" \
-H "anthropic-version: 2023-06-01" \
-d '{
"model": "claude-opus-4-5-20251101",
"max_tokens": 100,
"messages": [{"role": "user", "content": "hello"}]
}'
If this returns a JSON with content, the API is fine, and the issue is in your clawdbot.json.
Ready to unleash your Agent? Get your high-stability Wisdom Gate API Key now. Get Started Here