// Toolkit for performing deep research on complex topics using multiple AI research providers (OpenAI, Falcon, Perplexity, Consensus). Emphasizes explicit speed vs depth trade-offs.
| name | run-deep-research |
| description | Toolkit for performing deep research on complex topics using multiple AI research providers (OpenAI, Falcon, Perplexity, Consensus). Emphasizes explicit speed vs depth trade-offs. |
Toolkit for performing deep research on complex topics using multiple AI research providers including OpenAI Deep Research, FutureHouse Falcon, Perplexity AI, and Consensus AI.
Use this skill when:
ALWAYS ask the user to be explicit about their approach preference:
sonar, sonar-pro, sonar-reasoning, sonar-reasoning-prouv run deep-research-client research "What is CRISPR?" --provider perplexity --model sonar-pro
sonar-deep-research (Perplexity), o3-deep-research-2025-06-26 (OpenAI)uv run deep-research-client research "What is CRISPR?" --provider perplexity --model sonar-deep-research
or
uv run deep-research-client research "What is CRISPR?" --provider openai
falcon provider for academic/scientific focusconsensus provider for peer-reviewed research (requires API approval)~/.deep_research_cache/ to avoid expensive re-queries# At least one of these is required:
export OPENAI_API_KEY="your-openai-key" # For OpenAI Deep Research
export FUTUREHOUSE_API_KEY="your-futurehouse-key" # For Falcon
export PERPLEXITY_API_KEY="your-perplexity-key" # For Perplexity AI
export CONSENSUS_API_KEY="your-consensus-key" # For Consensus AI (requires approval)
# Basic query (uses auto-detected provider)
uv run deep-research-client research "What is quantum computing?"
# With specific provider and model
uv run deep-research-client research "What is quantum computing?" --provider perplexity --model sonar-pro
# Save to file
uv run deep-research-client research "Machine learning trends 2024" --output report.md
uv run deep-research-client providers
Templates allow reusable research queries with variable substitution:
# Use template with variables
uv run deep-research-client research \
--template gene_research.md \
--var "gene=TP53" \
--var "organism=human" \
--var "tissue=brain tissue" \
--var "year=2020"
Template files use {variable} placeholders:
Please research the gene {gene} in {organism}, focusing on:
1. Function and molecular mechanisms
2. Disease associations in {tissue} tissue
3. Recent discoveries since {year}
# List cached research
uv run deep-research-client list-cache
# Clear all cache
uv run deep-research-client clear-cache
# Bypass cache for single query
uv run deep-research-client research "query" --no-cache
Research results are returned as markdown with YAML frontmatter:
---
provider: perplexity
model: sonar-pro
cached: false
start_time: '2025-10-18T17:43:49.437056'
end_time: '2025-10-18T17:44:08.922200'
duration_seconds: 19.49
citation_count: 18
---
## Question
What is machine learning?
## Output
**Machine learning** is a branch of artificial intelligence...
## Citations
1. https://www.ibm.com/topics/machine-learning
2. https://www.coursera.org/articles/what-is-machine-learning
| Provider | Default Model | Alternative Models | Speed | Depth | Best For |
|---|---|---|---|---|---|
| Perplexity | sonar-deep-research | sonar, sonar-pro, sonar-reasoning, sonar-reasoning-pro | Pro models: Fast | Deep Research: Comprehensive | Real-time web search |
| OpenAI | o3-deep-research-2025-06-26 | - | Slow | Very Comprehensive | Thorough analysis |
| Falcon | Default API | - | Medium | Scientific | Academic/scientific literature |
| Consensus | Default API | - | Medium | Academic | Peer-reviewed papers |
uv run deep-research-client research with appropriate provider and model--output flag to save to file if needed~/.deep_research_cache/ - use --no-cache to bypass--separate-citations to save to separate fileuv run deep-research-client research "overview of topic X" --provider perplexity --model sonar-pro --output quick-research.md
uv run deep-research-client research "comprehensive analysis of topic X" --provider openai --output deep-research.md
uv run deep-research-client research "scientific review of topic X" --provider falcon --output scientific-review.md
uv run deep-research-client research --template gene_research.md --var "gene=BRCA1" --var "organism=human" --output brca1-research.md
from deep_research_client import DeepResearchClient
# Initialize client (auto-detects providers from env vars)
client = DeepResearchClient()
# Perform research
result = client.research(
"What are the latest developments in AI?",
provider="perplexity",
model="sonar-pro"
)
print(result.markdown) # Full markdown report
print(f"Provider: {result.provider}")
print(f"Model: {result.model}")
print(f"Duration: {result.duration_seconds:.2f}s")
print(f"Citations: {len(result.citations)}")
print(f"Cached: {result.cached}")