AgentDB
AgentDB
面向 AI 智能体的实时精选知识 API。
AgentDB 是一个知识库,于每周一/三/五更新,内容来自 31 个精选来源,涵盖 AI/科技、初创企业、另类市场和新兴市场(非洲和亚洲)。将其连接到您的 AI 智能体,使其始终拥有最新的上下文——无需您亲自管理抓取、摘要或存储。
快速入门
1. 获取 API 密钥
curl -s -X POST https://agentdb-production-9ba0.up.railway.app/v1/auth/register \
-H "Content-Type: application/json" \
-d '{"email": "you@example.com", "name": "Your Agent"}'响应:
{
"api_key": "adb_xxxxxxxxxxxxxxxxxxxx",
"tier": "trial",
"trial_expires_at": "2026-04-21T07:00:00",
"message": "Welcome to AgentDB. Your 3-day trial has started."
}请妥善保存您的密钥——它仅显示一次。
2. 获取最新知识
curl https://agentdb-production-9ba0.up.railway.app/v1/knowledge/latest \
-H "X-API-Key: adb_xxxxxxxxxxxxxxxxxxxx"Related MCP server: alphai-news
MCP 服务器(推荐用于 Claude)
AgentDB MCP 服务器直接在 Claude Code 或 Claude Desktop 中提供两个工具:get_latest_knowledge 和 search_knowledge。
使用 uv 安装(推荐)
uv 会自动处理 Python 版本管理——无需手动安装 Python 3.10+。
curl -LsSf https://astral.sh/uv/install.sh | shClaude Code — 全局配置
添加到 ~/.claude.json(适用于所有 Claude Code 会话):
{
"mcpServers": {
"agentdb": {
"type": "stdio",
"command": "/path/to/uv",
"args": ["run", "/path/to/agentdb/mcp/server.py"],
"env": {
"AGENTDB_API_KEY": "adb_xxxxxxxxxxxxxxxxxxxx"
}
}
}
}使用 which uv 查找您的 uv 路径。使用本仓库中的 realpath mcp/server.py 查找服务器路径。
Claude Code — 项目配置
在项目根目录添加 .mcp.json:
{
"mcpServers": {
"agentdb": {
"type": "stdio",
"command": "uv",
"args": ["run", "/absolute/path/to/agentdb/mcp/server.py"],
"env": {
"AGENTDB_API_KEY": "adb_xxxxxxxxxxxxxxxxxxxx"
}
}
}
}Claude Desktop
添加到 ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"agentdb": {
"command": "uv",
"args": ["run", "/absolute/path/to/agentdb/mcp/server.py"],
"env": {
"AGENTDB_API_KEY": "adb_xxxxxxxxxxxxxxxxxxxx"
}
}
}
}手动运行 MCP 服务器(测试)
AGENTDB_API_KEY=adb_xxxxxxxxxxxxxxxxxxxx uv run mcp/server.py可用的 MCP 工具
工具 | 层级 | 描述 |
| 试用版 + 专业版 | 获取最近的 N 条项目,可选择按标签或内容类型过滤 |
| 专业版 | 语义向量搜索——查找与自然语言查询最相关的项目 |
REST API 参考
基础 URL:https://agentdb-production-9ba0.up.railway.app
所有端点(/health、/v1/auth/register 和 /v1/knowledge/sources 除外)都需要:
X-API-Key: adb_xxxxxxxxxxxxxxxxxxxx知识
方法 | 路径 | 层级 | 描述 |
|
| 试用版 + 专业版 | 最新项目;支持 |
|
| 专业版 | 语义搜索 |
|
| 试用版 + 专业版 | 按 ID 获取单个项目 |
|
| 公共 | 所有已抓取来源列表 |
查询参数 — /latest
参数 | 类型 | 默认值 | 描述 |
| int | 20 | 每页项目数 (1–100) |
| int | 1 | 页码 |
| string | — | 逗号分隔的标签过滤器,例如 |
| string | — |
|
示例响应项目
{
"id": "3e7c224c-...",
"title": "Quantum Jamming and the Search for Principles Deeper Than Quantum Mechanics",
"content_type": "article",
"summary": "Researchers are exploring whether cryptographic protocols...",
"body": {
"category": "science_research",
"key_points": ["...", "..."],
"source_name": "Quanta Magazine"
},
"tags": ["quantum-mechanics", "cryptography", "causality"],
"confidence": 0.92,
"relevance_score": 0.92,
"published_at": "2026-04-18T11:40:55+00:00"
}认证
方法 | 路径 | 描述 |
|
| 注册并获取试用 API 密钥 |
|
| 查看您的密钥(层级、使用情况、过期时间) |
来源
AgentDB 从 31 个来源获取数据,于每周一/三/五 07:00 UTC 更新。
重点:AI/科技、初创企业/IPO、另类市场和新兴市场(非洲和亚洲)。不包含传统通讯社。
播客 (8)
来源 | 分类 |
Lex Fridman Podcast | technology_ai |
Dwarkesh Podcast | technology_ai |
Hard Fork | technology_ai |
This Week in Tech | technology_ai |
Acquired | startups_ipo |
How I Built This | startups_ipo |
All-In Podcast | market_news_alternative |
Prof G Markets Podcast | market_news_alternative |
博客 (22)
来源 | 分类 |
MIT Technology Review | technology_ai |
Ars Technica | technology_ai |
IEEE Spectrum | technology_ai |
Hacker News | startups_ipo |
Y Combinator Blog | startups_ipo |
The Verge | startups_ipo |
Entrepreneur | startups_ipo |
TechCrunch | startups_ipo |
The Hindu Business Line | emerging_markets_asia |
Mint (India) | emerging_markets_asia |
Zero Hedge | market_news_alternative |
Wolf Street | market_news_alternative |
Econbrowser | market_news_alternative |
A Wealth of Common Sense | market_news_alternative |
The Big Picture (Ritholtz) | market_news_alternative |
Farnam Street | market_news_alternative |
Asymco | market_news_alternative |
The Daily Upside | market_news |
Rest of World | emerging_markets |
TechCabal | emerging_markets_africa |
Techpoint Africa | emerging_markets_africa |
How We Made It In Africa | emerging_markets_africa |
YouTube RSS (1)
来源 | 分类 |
Y Combinator | startups_ipo |
完整的机器可读列表:GET /v1/knowledge/sources
定价
层级 | 价格 | 速率限制 | 功能 |
试用版 | 免费 | 100 次请求/天 | 最新项目,3 天数据 |
专业版 | $20/月 | 1,000 次请求/天 | 最新项目 + 语义搜索 |
企业版 | $99/月 | 10,000 次请求/天 | 所有功能,批量访问 |
通过 /v1/payments/checkout 升级(支持 Stripe 或加密货币)。
自托管
git clone https://github.com/AgentBC9000/agentdb
cd agentdb
cp .env.example .env # fill in ANTHROPIC_API_KEY, DATABASE_URL, ADMIN_SECRET
docker-compose up抓取器独立运行——您可以手动触发或设置 cron 任务:
cd scraper
ANTHROPIC_API_KEY=... AGENTDB_API_URL=... ADMIN_SECRET=... python run.pyThis server cannot be deployed
Maintenance
Related MCP Connectors
Private company data, entity-resolved news, targeted lists, and alternative signals for AI agents.
Realtime financial context for AI agents: what changed, who is affected, and what to watch next. One suite covering news, events, guidance, filing changes, sentiment, stakeholders, and alerts. Information-efficient responses with evidence for every result. First-class point-in-time safety for backtests. Pairs well with web search and a market-data API. All data is our own.
Licensed, cited financial data for AI agents: news, filings, transcripts, research and tearsheets.
Real-time curated crypto news for AI agents with sentiment, recaps, and search.
Related MCP Servers
- AlicenseAqualityBmaintenanceReal-time web intelligence with freshness timestamps. Every extraction returns a dated envelope so AI agents know exactly how old the data is. Covers GitHub, HN, Scholar, arXiv, YC, jobs, finance, and package trends.22152 npm12MIT
- AlicenseAqualityBmaintenanceReal-time financial news for AI agents and trading bots — AI-enriched stories with per-ticker analysis, a 1–10 relevance score, SEC Form-4 insider transactions, plus trending and "actionable-now" feeds. Free tier, OAuth, no API key to paste.112MIT
- AlicenseNot gradedqualityDmaintenanceProvides live data API for AI agents with 51 REST endpoints across finance, travel, weather, news, and more, using USDC micropayments without API keys.54 npmMIT
- FlicenseNot gradedqualityCmaintenanceEnables AI agents to search and retrieve market signals, revenue ideas, and growth tactics from 2,000+ curated entries across 18 sources.-