Skip to main content
Glama

Agente Autónomo de Investigación Web

Un proyecto educativo: un agente en Python que planifica, busca en la web, almacena notas en RAG, redacta un informe, luego se autoevalúa y repite el ciclo hasta que la respuesta sea suficientemente buena.

Stack: Python 3.11+ · LangChain · LangGraph · MCP · Chroma RAG · LangSmith

Lo que estás construyendo (mapa del aula)

Pieza

Archivo

Función

Config

src/research_agent/config.py

Lee .env

Capa LLM

src/research_agent/llm.py

Una función, múltiples proveedores

Herramientas

src/research_agent/tools.py

Buscar + obtener páginas

MCP

src/research_agent/mcp_server.py

Mismas herramientas sobre MCP

RAG

src/research_agent/rag.py

Almacena páginas en Chroma

Estado

src/research_agent/state.py

El cuaderno del grafo

Nodos

src/research_agent/nodes.py

Una función por paso

Grafo

src/research_agent/graph.py

Conecta el bucle

CLI

src/research_agent/cli.py

Ejecutar desde terminal

API

src/research_agent/api.py

Backend FastAPI

Lee TEACHING.md para la lección completa.

Related MCP server: Local-MCP-server

Configuración

cd ~/Projects/autonomous-web-research-agent
python3.11 -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]"
cp .env.example .env

Coloca al menos una clave de LLM en .env (OPENAI_API_KEY es la ruta predeterminada). La búsqueda funciona con DuckDuckGo gratis. Agrega TAVILY_API_KEY más adelante si deseas búsquedas de mayor calidad. Agrega LANGCHAIN_API_KEY para ver trazas en LangSmith.

Ejecutar un trabajo de investigación

python -m research_agent.cli "How does MCP differ from a normal LangChain tool?"

Ejecutar el backend

python -m research_agent.api
# POST http://127.0.0.1:8001/research  {"question": "..."}

Ejecutar el servidor MCP (para Cursor / otros hosts)

python -m research_agent.mcp_server

Ejemplo de configuración de MCP en Cursor:

{
  "mcpServers": {
    "research-tools": {
      "command": "/Users/YOU/Projects/autonomous-web-research-agent/.venv/bin/python",
      "args": ["-m", "research_agent.mcp_server"]
    }
  }
}

Pruebas (sin necesidad de clave API)

pytest
Install Server
F
license - not found
A
quality
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

View all related MCP servers

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.

View all MCP Connectors

Latest Blog Posts

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