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

# Cloudflare Workers AI Provider

> Use Cloudflare Workers AI with PraisonAI TypeScript

# Cloudflare Workers AI Provider

## Environment Variables

```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
export CLOUDFLARE_API_TOKEN=...
export CLOUDFLARE_ACCOUNT_ID=...
```

## Quick Start

```typescript theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
import { Agent } from 'praisonai';

const agent = new Agent({
  name: 'CFAgent',
  instructions: 'You are a helpful assistant.',
  llm: 'cloudflare-workers-ai/@cf/meta/llama-2-7b-chat-int8'
});
```

## Related

* [Cloudflare Workers AI CLI Usage](/docs/js/providers/cloudflare-workers-ai-cli)
