AgoraHub — AI Agent Registry
AgoraHub is an open agent registry with 14+ verified demo agents you can use instantly — no signup required. For community agents, get an API key at https://agorahub.dev/dashboard/api-keys.
Base URL: https://agorahub.dev
1. Discover Available Agents
List all agents exposed as MCP tools:
CODEBLOCK0
Filter by Tags
CODEBLOCK1
Search by Name/Description
CODEBLOCK2
2. Call an Agent
All 14 demo agents work without an API key. For community agents, add -H "Authorization: Bearer $AGORAHUB_API_KEY".
General Call Format
CODEBLOCK3
3. Agent Quick Reference
Echo Agent
Echo back a message with a timestamp.
CODEBLOCK4
Hash Generator
Generate cryptographic hashes (md5, sha1, sha256, sha512).
CODEBLOCK5
Hash with all algorithms at once:
CODEBLOCK6
Password Generator
Generate secure passwords with customizable options.
CODEBLOCK7
JSON Formatter
Validate, pretty-print, or minify JSON.
CODEBLOCK8
Base64 Codec
Encode text to Base64:
CODEBLOCK9
Decode Base64 back to text:
CODEBLOCK10
UUID Generator
Generate UUIDs in v4 or v7 format.
CODEBLOCK11
Regex Tester
Test regex patterns against text.
CODEBLOCK12
JWT Decoder
Decode a JWT token (without verification).
CODEBLOCK13
Markdown to HTML
Convert Markdown text to HTML.
CODEBLOCK14
Text Stats
Analyze text for word count, reading time, and more.
CODEBLOCK15
Lorem Ipsum Generator
Generate placeholder text.
CODEBLOCK16
CSV/JSON Converter
Convert CSV to JSON:
CODEBLOCK17
Convert JSON to CSV:
CODEBLOCK18
Color Converter
Convert between Hex, RGB, and HSL.
CODEBLOCK19
Timestamp Converter
Convert between Unix timestamps, ISO 8601, and human-readable dates.
curl -s -X POST https://agorahub.dev/api/mcp/tools/call \
-H "Content-Type: application/json" \
-d '{"name":"agora_timestamp-converter_convert","arguments":{"timestamp":"now"}}' | jq
4. Error Handling
Check the HTTP status code and isError field in the response:
- - 200 — Success. Parse
content[0].text for the result. - 400 — Bad request. Check
error field for details (missing tool name, invalid format). - 401 — Authentication required. Only for non-demo agents. Set
AGORAHUB_API_KEY. - 404 — Agent or skill not found. Use the discover endpoint to list available tools.
- 429 — Rate limited. Check
Retry-After header. - 500 — Internal error. Retry or report at https://github.com/Codevena/AgoraHub/issues.
CODEBLOCK21
5. Using with API Key (Community Agents)
For non-demo agents, authenticate with your API key:
CODEBLOCK22
Get your API key at: https://agorahub.dev/dashboard/api-keys
AgoraHub — AI代理注册中心
AgoraHub是一个开放的代理注册中心,提供14个以上经过验证的演示代理,您可以立即使用,无需注册。对于社区代理,请访问 https://agorahub.dev/dashboard/api-keys 获取API密钥。
基础URL: https://agorahub.dev
1. 发现可用代理
列出所有作为MCP工具暴露的代理:
bash
curl -s https://agorahub.dev/api/mcp/tools | jq .tools[] | {name, description}
按标签筛选
bash
curl -s https://agorahub.dev/api/mcp/tools?tags=crypto | jq .tools[] | {name, description}
按名称/描述搜索
bash
curl -s https://agorahub.dev/api/mcp/tools?q=hash | jq .tools[] | {name, description}
2. 调用代理
所有14个演示代理无需API密钥即可使用。对于社区代理,请添加 -H Authorization: Bearer $AGORAHUBAPIKEY。
通用调用格式
bash
curl -s -X POST https://agorahub.dev/api/mcp/tools/call \
-H Content-Type: application/json \
-d {name:agora<代理标识><技能ID>,arguments:{...}} | jq
3. 代理快速参考
回声代理
返回带有时间戳的消息。
bash
curl -s -X POST https://agorahub.dev/api/mcp/tools/call \
-H Content-Type: application/json \
-d {name:agora
echo-agentecho,arguments:{message:hello world}} | jq
哈希生成器
生成加密哈希(md5, sha1, sha256, sha512)。
bash
curl -s -X POST https://agorahub.dev/api/mcp/tools/call \
-H Content-Type: application/json \
-d {name:agora
hash-generatorhash,arguments:{text:hello,algorithm:sha256}} | jq
一次性使用所有算法生成哈希:
bash
curl -s -X POST https://agorahub.dev/api/mcp/tools/call \
-H Content-Type: application/json \
-d {name:agorahash-generatorhash-all,arguments:{text:hello}} | jq
密码生成器
生成具有可自定义选项的安全密码。
bash
curl -s -X POST https://agorahub.dev/api/mcp/tools/call \
-H Content-Type: application/json \
-d {name:agora
password-generatorgenerate,arguments:{length:20,count:3,symbols:true}} | jq
JSON格式化器
验证、美化打印或压缩JSON。
bash
curl -s -X POST https://agorahub.dev/api/mcp/tools/call \
-H Content-Type: application/json \
-d {name:agora
json-formatterformat,arguments:{json:{\key\:\value\,\num\:42}}} | jq
Base64编解码器
将文本编码为Base64:
bash
curl -s -X POST https://agorahub.dev/api/mcp/tools/call \
-H Content-Type: application/json \
-d {name:agora
base64-codecencode,arguments:{text:hello world}} | jq
将Base64解码回文本:
bash
curl -s -X POST https://agorahub.dev/api/mcp/tools/call \
-H Content-Type: application/json \
-d {name:agorabase64-codecdecode,arguments:{text:aGVsbG8gd29ybGQ=}} | jq
UUID生成器
生成v4或v7格式的UUID。
bash
curl -s -X POST https://agorahub.dev/api/mcp/tools/call \
-H Content-Type: application/json \
-d {name:agora
uuid-generatorgenerate,arguments:{version:v4,count:5}} | jq
正则表达式测试器
测试正则表达式模式与文本的匹配。
bash
curl -s -X POST https://agorahub.dev/api/mcp/tools/call \
-H Content-Type: application/json \
-d {name:agora
regex-testertest,arguments:{pattern:\\d+,text:abc 123 def 456}} | jq
JWT解码器
解码JWT令牌(不进行验证)。
bash
curl -s -X POST https://agorahub.dev/api/mcp/tools/call \
-H Content-Type: application/json \
-d {name:agora
jwt-decoderdecode,arguments:{token:eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c}} | jq
Markdown转HTML
将Markdown文本转换为HTML。
bash
curl -s -X POST https://agorahub.dev/api/mcp/tools/call \
-H Content-Type: application/json \
-d {name:agora
markdown-to-htmlconvert,arguments:{markdown:# Hello\n\n
Bold and
italic}} | jq
文本统计
分析文本的字数、阅读时间等。
bash
curl -s -X POST https://agorahub.dev/api/mcp/tools/call \
-H Content-Type: application/json \
-d {name:agora
text-statsanalyze,arguments:{text:The quick brown fox jumps over the lazy dog. This is a sample text for analysis.}} | jq
Lorem Ipsum生成器
生成占位文本。
bash
curl -s -X POST https://agorahub.dev/api/mcp/tools/call \
-H Content-Type: application/json \
-d {name:agora
lorem-ipsumgenerate,arguments:{format:paragraphs,count:2}} | jq
CSV/JSON转换器
将CSV转换为JSON:
bash
curl -s -X POST https://agorahub.dev/api/mcp/tools/call \
-H Content-Type: application/json \
-d {name:agora
csv-json-convertercsv-to-json,arguments:{csv:name,age\nAlice,30\nBob,25}} | jq
将JSON转换为CSV:
bash
curl -s -X POST https://agorahub.dev/api/mcp/tools/call \
-H Content-Type: application/json \
-d {name:agoracsv-json-converterjson-to-csv,arguments:{data:[{name:Alice,age:30},{name:Bob,age:25}]}} | jq
颜色转换器
在Hex、RGB和HSL之间进行转换。
bash
curl -s -X POST https://agorahub.dev/api/mcp/tools/call \
-H Content-Type: application/json \
-d {name:agora
color-converterconvert,arguments:{color:#ff6600}} | jq
时间戳转换器
在Unix时间戳、ISO 8601和人类可读日期之间进行转换。
bash
curl -s -X POST https://agorahub.dev/api/mcp/tools/call \
-H Content-Type: application/json \
-d {name:agora
timestamp-converterconvert,arguments:{timestamp:now}} | jq
4. 错误处理
检查HTTP状态码和响应中的isError字段:
- - 200 — 成功。解析content[0].text获取结果。
- 400 — 错误请求。检查error字段获取详细信息(缺少工具名称、格式无效)。
- 401 — 需要身份验证。仅适用于非演示代理。设置AGORAHUBAPIKEY。
- 404 — 未找到代理或技能。使用发现端点列出可用工具。
- 429 — 请求频率限制。检查Retry-After头部。
- 500 — 内部错误。重试或在 https://github.com/Codevena