Parallel CLI
Command-line interface for Parallel web search
graph LR
U[Input] --> A[Agent]
A --> O[Output]
classDef agent fill:#8B0000,color:#fff
classDef tool fill:#189AB4,color:#fff
class A agent
class U,O toolParallel Web CLI
Use Parallel token-efficient web search from the command line.
Prerequisites
npm install @parallel-web/ai-sdk-tools
export PARALLEL_API_KEY=your-parallel-api-keyCommands
Basic Search
praisonai-ts agent run \
--tools parallel \
--prompt "When was Vercel Ship AI?"With Options
praisonai-ts agent run \
--tools "parallel:numResults=5" \
--prompt "Find recent AI developments"Tool Options
| Option | Type | Default | Description |
|---|---|---|---|
numResults | number | 10 | Number of results |
objective | string | – | Search objective |
Examples
Research Task
praisonai-ts agent run \
--instructions "You are a research assistant" \
--tools parallel \
--prompt "Research the latest LLM developments"Combining Tools
praisonai-ts agent run \
--tools "parallel,firecrawl:scrape" \
--prompt "Find and extract content about AI startups"Environment Variables
| Variable | Required | Description |
|---|---|---|
PARALLEL_API_KEY | Yes | Parallel API key |
OPENAI_API_KEY | Yes | OpenAI API key |