langchain-deep-research
Run LangChain Open Deep Research agent for iterative web research and comprehensive reports. Requires LLM API keys and search API (e.g., OPENAI_API_KEY, TAVILY_API_KEY).
Best use case
langchain-deep-research is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Run LangChain Open Deep Research agent for iterative web research and comprehensive reports. Requires LLM API keys and search API (e.g., OPENAI_API_KEY, TAVILY_API_KEY).
Teams using langchain-deep-research should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/langchain-deep-research/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How langchain-deep-research Compares
| Feature / Agent | langchain-deep-research | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Run LangChain Open Deep Research agent for iterative web research and comprehensive reports. Requires LLM API keys and search API (e.g., OPENAI_API_KEY, TAVILY_API_KEY).
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# LangChain Open Deep Research Skill
This skill utilizes the LangChain Open Deep Research framework to perform iterative web research with reflection and knowledge gap identification, producing comprehensive reports with citations.
## Setup
1. **Dependencies:** Requires the `open-deep-research` package and LangGraph.
```bash
pip install open-deep-research langgraph-cli python-dotenv
```
2. **API Key Configuration:** Requires API keys for an LLM and a search provider.
```bash
# Set up your API keys
echo "# LLM Configuration" >> .env
echo "OPENAI_API_KEY=your_openai_key" >> .env
echo "# Search Configuration" >> .env
echo "TAVILY_API_KEY=your_tavily_key" >> .env
if [ -f .gitignore ] && ! grep -q ".env" .gitignore; then echo ".env" >> .gitignore; fi
echo "API keys saved to .env."
```
## Usage
Use the `scripts/research.py` script to run a research task.
### Command
```bash
python3 scripts/research.py --query "<research_query>" [--max-iterations <N>]
```
### Parameters
* `--query` (Required): The research question or topic.
* `--max-iterations` (Optional): Maximum number of research iterations (default: 3).
* `--output` (Optional): Output file path for the final report (default: stdout).
### Example
```bash
python3 scripts/research.py --query "What are the latest developments in quantum computing error correction?" --max-iterations 4 --output report.md
```
## Output
The script outputs a comprehensive research report with:
* Iterative search findings
* Knowledge gap analysis
* Final synthesized report with citations
* Source list
## Features
* **Iterative Research**: Performs multiple search cycles, reflecting on gaps
* **Configurable Models**: Supports OpenAI, Anthropic, Ollama, and other LLM providers
* **Multiple Search Engines**: Tavily (default), Brave, DuckDuckGo, SerpAPI
* **Citation Tracking**: All findings include source referencesRelated Skills
openai-deep-research
Use OpenAI's Deep Research API (o3 / o4 models) to automate multi-step, citation-backed research workflows.
gpt-researcher
Run the GPT Researcher autonomous agent to generate comprehensive deep research reports. Requires LLM and Search API keys (e.g., OPENAI_API_KEY, TAVILY_API_KEY).
exa-research
Use Exa AI for neural search, content retrieval, and automated deep research. Requires EXA_API_KEY.
xai-grok
Use xAI Grok API with Agent Tools for real-time web and X (Twitter) search and synthesis. Requires XAI_API_KEY.
tavily-search
Use Tavily Search API for optimized, real-time web search results for RAG. Requires TAVILY_API_KEY.
stanford-storm
Run Stanford STORM (knowledge-storm) to generate comprehensive, Wikipedia-style articles with citations. Requires LLM and Search API keys (Bing or You.com).
smolagents
Use Hugging Face Smolagents framework for code-based agentic research with tool support. Supports multiple LLM providers and web search.
perplexity-sonar
Use Perplexity Sonar API for real-time, citation-backed answers. Ideal for up-to-date information and quick synthesis. Requires PERPLEXITY_API_KEY
jina-ai
Use Jina AI APIs for converting URLs to LLM-friendly Markdown (Reader) and searching the web (Search).
market-research
Conduct market research, competitive analysis, investor due diligence, and industry intelligence with source attribution and decision-oriented summaries. Use when the user wants market sizing, competitor comparisons, fund research, technology scans, or research that informs business decisions.
deep-research
Multi-source deep research using firecrawl and exa MCPs. Searches the web, synthesizes findings, and delivers cited reports with source attribution. Use when the user wants thorough research on any topic with evidence and citations.
llm-application-dev-langchain-agent
You are an expert LangChain agent developer specializing in production-grade AI systems using LangChain 0.1+ and LangGraph.