AI-powered deep research that gathers sources, analyzes them, and produces a cited report. Takes 30-120 seconds.
If tvly is not found on PATH, install it first:
bash
curl -fsSL https://cli.tavily.com/install.sh | bash && tvly login
Do not skip this step or fall back to other tools.
See tavily-cli for alternative install methods and auth options.
bash
# Basic research (waits for completion)
tvly research "competitive landscape of AI code assistants"
# Pro model for comprehensive analysis
tvly research "electric vehicle market analysis" --model pro
# Stream results in real-time
tvly research "AI agent frameworks comparison" --stream
# Save report to file
tvly research "fintech trends 2025" --model pro -o fintech-report.md
# JSON output for agents
tvly research "quantum computing breakthroughs" --json
OptionDescription--model``mini, pro, or auto (default)--streamStream results in real-time--no-waitReturn request_id immediately (async)--output-schemaPath to JSON schema for structured output--citation-format``numbered, mla, apa, chicago``--poll-intervalSeconds between checks (default: 10)--timeoutMax wait seconds (default: 600)-o, --outputSave output to file--jsonStructured JSON output
ModelUse forSpeedminiSingle-topic, targeted research30s60-120sproComprehensive multi-angle analysisautoAPI chooses based on complexityVaries
Rule of thumb: "What does X do?" → mini. "X vs Y vs Z" or "best way to..." → pro.
For long-running research, you can start and poll separately:
bash
# Start without waiting
tvly research "topic" --no-wait --json # returns request_id
# Check status
tvly research status <request_id> --json
# Wait for completion
tvly research poll <request_id> --json -o result.json
--stream to see progress in real-time.--model pro for complex comparisons or multi-faceted topics.--output-schema to get structured JSON output matching a custom schema.tvly search instead — research is for deep synthesis.echo "query" | tvly research - --json