> ## 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.

# Airweave CLI

> Command-line interface for Airweave unified 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
```

# Airweave CLI

Search across connected data sources from the command line.

## Prerequisites

```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
npm install @airweave/ai-sdk
export AIRWEAVE_API_KEY=your-airweave-api-key
```

## Basic Search

```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
praisonai-ts agent run \
  --tools airweave \
  --prompt "Find documents about Q4 planning"
```

## Filter by Source

```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
praisonai-ts agent run \
  --tools "airweave:sources=notion|slack" \
  --prompt "Find discussions about the new feature"
```

## Environment Variables

| Variable           | Required | Description      |
| ------------------ | -------- | ---------------- |
| `AIRWEAVE_API_KEY` | Yes      | Airweave API key |
| `OPENAI_API_KEY`   | Yes      | OpenAI API key   |
