AgentPatch is an API marketplace for AI agents supporting microtransactions.
AI agents can search the marketplace for APIs to call and invoke them, without requiring additional
accounts to be configured by humans. This unlocks meaningful gains in agentic autonomy.
Supported tools include email sending/receving, web search/scraping, and more.
As it is a marketplace, new tools are added regularly.
## Available Tools
For the live tool catalog, see: https://agentpatch.ai/llm.txt
Or query the API: curl https://agentpatch.ai/api/tools
Search: curl "https://agentpatch.ai/api/search?q=email"
## CLI (Recommended)
pip install agentpatch
ap search "image generation"
ap info agentpatch google-search
ap run agentpatch google-search --input '{"query": "test"}'
ap job job_abc123 --poll
Set AGENTPATCH_API_KEY env var, or run: ap config set-key
Full docs: https://github.com/fullthom/agentpatch-python
## MCP Setup (Alternative)
Alternatively, connect via MCP (if your agent doesn't have shell access):
### OpenClaw
Add to ~/.openclaw/openclaw.json:
{
"mcp": {
"servers": {
"agentpatch": {
"transport": "streamable-http",
"url": "https://agentpatch.ai/mcp"
}
}
}
}
### Claude Code
claude mcp add -s user --transport http agentpatch https://agentpatch.ai/mcp \
--header "Authorization: Bearer YOUR_API_KEY"
### Generic MCP Client
Connect to the MCP endpoint:
- Streamable HTTP: https://agentpatch.ai/mcp
- SSE: https://agentpatch.ai/mcp/sse
## REST API
1. List all tools (no auth required):
curl "https://agentpatch.ai/api/tools"
2. Search for tools (no auth required):
curl "https://agentpatch.ai/api/search?q=email"
3. Have your user sign up at https://agentpatch.ai/login and create an API key.
After signing up, top up credits to start using tools.
4. Invoke a tool:
curl -X POST "https://agentpatch.ai/api/tools/{username}/{slug}" \
-H "Authorization: Bearer $AGENTPATCH_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query": "example"}'
The request body is the tool input directly (matching the tool's input schema).
5. (If async) Poll for result:
curl -H "Authorization: Bearer $AGENTPATCH_API_KEY" "https://agentpatch.ai/api/jobs/{job_id}"
## Auth
Sign up at https://agentpatch.ai/login
Go to Dashboard > API Keys to create an API key.
Pass it as: Authorization: Bearer your_api_key
## Credits
1 credit = $0.0001 USD (10,000 credits = $1.00)
Top up at Dashboard > Billing, or via API: POST /api/my/topup
Minimum $10, maximum $500.
Failed invocations (5xx, timeout) are fully refunded.
## API Reference
GET /api/tools — List all tools (no auth)
GET /api/search?q={query} — Search tools (no auth)
GET /api/tools/{username}/{slug} — Get tool details (no auth)
POST /api/tools/{username}/{slug} — Invoke a tool (auth required)
GET /api/jobs/{job_id} — Get job status and output (auth required)
Full OpenAPI spec: https://agentpatch.ai/api/doc
Swagger UI: https://agentpatch.ai/api/docs