Agent Context Isolation
The English summary is being prepared. Showing the original description.
AI-powered web search, research, and reasoning via Perplexity
The English summary is being prepared. Showing the original description.
See how to installReview the instructions the agent will receive before you install.
Web search with AI-powered answers, deep research, and chain-of-thought reasoning.
| Model | Purpose |
|---|---|
sonar | Lightweight search with grounding |
sonar-pro | Advanced search for complex queries |
sonar-reasoning-pro | Chain of thought reasoning |
sonar-deep-research | Expert-level exhaustive research |
uv run python scripts/mcp/perplexity_search.py \
--ask "What is the latest version of Python?"
uv run python scripts/mcp/perplexity_search.py \
--search "SQLite graph database patterns" \
--max-results 5 \
--recency week
uv run python scripts/mcp/perplexity_search.py \
--research "compare FastAPI vs Django for microservices"
uv run python scripts/mcp/perplexity_search.py \
--reason "should I use Neo4j or SQLite for small graph under 10k nodes?"
uv run python scripts/mcp/perplexity_search.py \
--deep "state of AI agent observability 2025"
| Parameter | Description |
|---|---|
--ask | Quick question with AI answer (sonar) |
--search | Direct web search - ranked results without AI synthesis |
--research | AI-synthesized research (sonar-pro) |
--reason | Chain-of-thought reasoning (sonar-reasoning-pro) |
--deep | Deep comprehensive research (sonar-deep-research) |
| Parameter | Description |
|---|---|
--max-results N | Number of results (1-20, default: 10) |
--recency | Filter: day, week, month, year |
--domains | Limit to specific domains |
| Need | Use | Why |
|---|---|---|
| Quick fact | --ask | Fast, lightweight |
| Find sources | --search | Raw results, no AI overhead |
| Synthesized answer | --research | AI combines multiple sources |
| Complex decision | --reason | Chain-of-thought analysis |
| Comprehensive report | --deep | Exhaustive multi-source research |
# Find recent sources on a topic
uv run python scripts/mcp/perplexity_search.py \
--search "OpenTelemetry AI agent tracing" \
--recency month --max-results 5
# Get AI synthesis
uv run python scripts/mcp/perplexity_search.py \
--research "best practices for AI agent logging 2025"
# Make a decision
uv run python scripts/mcp/perplexity_search.py \
--reason "microservices vs monolith for startup MVP"
# Deep dive
uv run python scripts/mcp/perplexity_search.py \
--deep "comprehensive guide to building feedback loops for autonomous agents"
Requires PERPLEXITY_API_KEY in environment or ~/.claude/.env.
No reviews yet. Tell others what you thought.
No login needed. Share how it worked for you, ask a question, or note where it did not run.
No comments yet. Be the first to write one.
Agent Context Isolation
The English summary is being prepared. Showing the original description.
Agent Orchestration Rules
The English summary is being prepared. Showing the original description.
Agentic Workflow Pattern
The English summary is being prepared. Showing the original description.
Guide for integrating Agentica SDK with Claude Code CLI proxy
The English summary is being prepared. Showing the original description.
Reference guide for Agentica multi-agent infrastructure APIs
The English summary is being prepared. Showing the original description.
Write reliable prompts for Agentica/REPL agents that avoid LLM instruction ambiguity
The English summary is being prepared. Showing the original description.