Back to Agno

Parallel Tools

cookbook/91_tools/parallel/README.md

2.6.111.4 KB
Original Source

Parallel Tools

Web research and monitoring with Parallel.

APIs

APISpeedUse Case
Search1-5sQuick lookups, gather sources
Task10s-25minDeep research with structured output and citations
MonitorScheduledTrack topics over time, detect changes

Cookbooks

FileAPIDescription
news_search.pySearchFast web search for recent news
output_schemas.pyTaskAll 4 output schema types
company_enrichment.pyTaskEnrich CRM records with web data
market_research.pyTaskGenerate industry analysis reports
investment_monitor.pyMonitorTrack funding and M&A activity
competitor_tracker.pyMonitorWatch competitor announcements

Setup

bash
pip install parallel-web
export PARALLEL_API_KEY=<your-api-key>

Quick Start

python
from agno.agent import Agent
from agno.models.openai import OpenAIResponses
from agno.tools.parallel import ParallelTools

# Search API (default)
agent = Agent(
    model=OpenAIResponses(id="gpt-5.4"),
    tools=[ParallelTools()],
)

# Task API
agent = Agent(
    model=OpenAIResponses(id="gpt-5.4"),
    tools=[ParallelTools(enable_task=True)],
)

# Monitor API
agent = Agent(
    model=OpenAIResponses(id="gpt-5.4"),
    tools=[ParallelTools(enable_monitor=True)],
)