How to Connect OpenClaw to AgentPatch
OpenClaw is a self-hosted AI agent that talks to you through Telegram, Discord, or Signal. It’s flexible and runs entirely on your machine. AgentPatch extends what it can do — one config entry gives it access to web search, image generation, email, Google Maps, Google Trends, YouTube transcripts, and more from a single tool marketplace.
What You’ll Need
- OpenClaw installed and running (github.com/nicepkg/openclaw)
- An AgentPatch API key — sign up at agentpatch.ai and grab your key from the dashboard
Setup
Add AgentPatch to ~/.openclaw/openclaw.json:
{
"mcp": {
"servers": {
"agentpatch": {
"transport": "streamable-http",
"url": "https://agentpatch.ai/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}
}
Replace YOUR_API_KEY with your actual key from the AgentPatch dashboard. Restart OpenClaw and it discovers all AgentPatch tools automatically.
Verify It Works
Send this message to your OpenClaw bot:
“Search for the latest news about open-source AI and give me a quick summary.”
If OpenClaw returns news results, you’re all set.
Available Tools
Once connected, OpenClaw can call any tool on the AgentPatch marketplace. The current lineup includes:
- Google Search and Bing Search — search the web for docs, error messages, articles, or anything else
- Google News — find recent news about technologies, companies, or topics
- Google Maps — look up addresses, business listings, and location data
- Google Trends — check search interest data for keywords and topics
- Image Generation — generate images from text descriptions using Recraft
- Email — send emails with research results, summaries, or notifications
- YouTube Transcripts — pull transcripts from YouTube videos for reference
New tools are added to the marketplace and become available automatically — no config changes needed.
Example
You’re chatting with OpenClaw on Telegram and want a news roundup:
“What are people saying about Gemini 2.0 this week? Give me a quick summary.”
OpenClaw calls the Google News tool through AgentPatch, pulls recent articles, and sends you a summary right in your Telegram chat.
Or try something visual:
“Generate an image of a futuristic city skyline at night in a digital illustration style.”
OpenClaw calls the Recraft image generation tool through AgentPatch and sends the image back in your chat. Same connection, different tool.
Wrapping Up
One config block gives you the entire AgentPatch tool marketplace. Every new tool added becomes available to your agent automatically. Browse the catalog and get your API key at agentpatch.ai.