> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Parallel CLI

> Command-line interface for Parallel web search

```mermaid theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
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 tool
```

# Parallel Web CLI

Use Parallel token-efficient web search from the command line.

## Prerequisites

```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
npm install @parallel-web/ai-sdk-tools
export PARALLEL_API_KEY=your-parallel-api-key
```

## Commands

### Basic Search

```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
praisonai-ts agent run \
  --tools parallel \
  --prompt "When was Vercel Ship AI?"
```

### With Options

```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
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

```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
praisonai-ts agent run \
  --instructions "You are a research assistant" \
  --tools parallel \
  --prompt "Research the latest LLM developments"
```

### Combining Tools

```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
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   |
