Parallel CLI
Command-line interface for Parallel web search
Parallel 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 |