Perplexity Deep Search
Deep search via Perplexity API. Three modes: search (quick facts), reason (complex analysis), research (in-depth reports). Returns AI-grounded answers with c...
Deep search via Perplexity API. Three modes: search (quick facts), reason (complex analysis), research (in-depth reports). Returns AI-grounded answers with c...
Real data. Real impact.
Emerging
Developers
Per week
Open source
Skills give you superpowers. Install in 30 seconds.
AI-powered web search with three modes for different depth levels.
# Quick search (sonar) - facts, summaries, current events {baseDir}/scripts/search.sh "latest AI news"Reasoning (sonar-reasoning-pro) - complex analysis, multi-step
{baseDir}/scripts/search.sh --mode reason "compare React vs Vue for enterprise apps"
Deep Research (sonar-deep-research) - full reports, exhaustive analysis
{baseDir}/scripts/search.sh --mode research "market analysis of AI in healthcare 2025"
| Mode | Model | Best For | Cost |
|---|---|---|---|
(default) | | Quick facts, summaries, current events | Low |
| | Complex analysis, comparisons, problem-solving | Medium |
| | In-depth reports, market analysis, literature reviews | High |
| Flag | Description | Default |
|---|---|---|
| , , | |
| , , , | — |
| Comma-separated domain filter | — |
| Language code (, , , etc.) | — |
| Raw JSON output | off |
# Search with recency filter {baseDir}/scripts/search.sh --recency week "OpenAI latest announcements"Search restricted to specific domains
{baseDir}/scripts/search.sh --domains "arxiv.org,nature.com" "transformer architecture advances"
Search in Portuguese
{baseDir}/scripts/search.sh --lang pt "inteligência artificial no Brasil"
Deep research with JSON output
{baseDir}/scripts/search.sh --mode research --json "enterprise AI adoption trends"
Set
PERPLEXITY_API_KEY env var, or store it in a file:
mkdir -p ~/.config/perplexity echo "your_key_here" > ~/.config/perplexity/api_key chmod 600 ~/.config/perplexity/api_key
The script checks the env var first, then falls back to the file.
Use
search for everyday queries. Reserve research for when you truly need exhaustive analysis.No automatic installation available. Please visit the source repository for installation instructions.
View Installation Instructions1,500+ AI skills, agents & workflows. Install in 30 seconds. Part of the Torly.ai family.
© 2026 Torly.ai. All rights reserved.