research-tools
自主网络研究智能体
一个教学项目:一个 Python 智能体,能够规划、搜索网络、在 RAG 中存储笔记、撰写报告,然后自我批评并循环直到答案足够好。
技术栈:Python 3.11+ · LangChain · LangGraph · MCP · Chroma RAG · LangSmith
你正在构建的内容(课堂地图)
组件 | 文件 | 职责 |
配置 |
| 读取 |
LLM 层 |
| 一个函数,多种提供商 |
工具 |
| 搜索 + 获取页面 |
MCP |
| 通过 MCP 协议提供相同工具 |
RAG |
| 在 Chroma 中记住页面 |
状态 |
| 图的笔记本 |
节点 |
| 每个步骤一个函数 |
图 |
| 连接循环 |
CLI |
| 从终端运行 |
API |
| FastAPI 后端 |
阅读 TEACHING.md 获取完整课程。
Related MCP server: Local-MCP-server
设置
cd ~/Projects/autonomous-web-research-agent
python3.11 -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]"
cp .env.example .env在 .env 中至少放入一个 LLM 密钥(OPENAI_API_KEY 是默认路径)。搜索功能使用免费的 DuckDuckGo。如果之后需要更高质量的搜索,可以添加 TAVILY_API_KEY。添加 LANGCHAIN_API_KEY 可在 LangSmith 中查看追踪。
运行研究任务
python -m research_agent.cli "How does MCP differ from a normal LangChain tool?"运行后端
python -m research_agent.api
# POST http://127.0.0.1:8001/research {"question": "..."}运行 MCP 服务器(用于 Cursor / 其他主机)
python -m research_agent.mcp_server示例 Cursor MCP 配置:
{
"mcpServers": {
"research-tools": {
"command": "/Users/YOU/Projects/autonomous-web-research-agent/.venv/bin/python",
"args": ["-m", "research_agent.mcp_server"]
}
}
}测试(无需 API 密钥)
pytestMaintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Related MCP Servers
- Alicense-qualityCmaintenanceA Model Context Protocol server that exposes powerful web search and scraping tools to AI agents and MCP-compatible clients.Apache 2.0
- Flicense-qualityDmaintenanceEnables tool-calling LLMs to search the internet, capture website images, extract webpage text, and more via a local MCP server.14
- Alicense-qualityDmaintenanceWeb search, page fetching, and research from the terminal or any MCP client — no API key required.1MIT
- Alicense-qualityBmaintenanceA minimal MCP server for agent-friendly web extraction and search. Offers two tools: fetching real pages with Playwright and Crawl4AI, and searching across 7 engines with automatic fallback.33AGPL 3.0
Related MCP Connectors
Jina AI Reader/Search MCP — turn any URL into clean LLM-ready markdown, plus web search.
Agentic search over your Dewey document collections from any MCP-compatible client.
Turn a GitHub repo or docs site into agent-ready context: pack it or search it, over MCP.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/aabGit/Autonomous-Web-Research-Agent'
If you have feedback or need assistance with the MCP directory API, please join our Discord server