# Airweave
> Airweave is an open-source platform that makes any app searchable for your agent. Sync and search across 35+ data sources (Notion, Slack, Google Drive, databases, and more) with semantic search. Add unified search across all your connected data to your AI applications in just a few lines of code.

- **Package:** @airweave/vercel-ai-sdk
- **Author:** Airweave
- **Tags:** search, rag, data-sources, semantic-search

## Environment Variables
- `AIRWEAVE_API_KEY`

## Included Tools
- **airweaveSearch:** Search across 35+ connected data sources with semantic search

## Installation
```bash
npm install @airweave/vercel-ai-sdk
```

## Usage
```typescript
import { generateText, stepCountIs } from 'ai';
import { airweaveSearch } from '@airweave/vercel-ai-sdk';

const { text } = await generateText({
  model: 'anthropic/claude-sonnet-4.5',
  prompt: 'What were the key decisions from last week?',
  tools: {
    search: airweaveSearch({
      defaultCollection: 'my-knowledge-base',
    }),
  },
  stopWhen: stepCountIs(3),
});

console.log(text);
```

## Links
- [Documentation](https://docs.airweave.ai)
- [npm](https://www.npmjs.com/package/@airweave/vercel-ai-sdk)

---
[Full Library Index](/library.md)