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

# Mistral Provider

> Use Mistral AI models with PraisonAI TypeScript

# Mistral Provider

Use Mistral AI's models including Mistral Large and Codestral.

## Environment Variables

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

## Supported Modalities

| Modality   | Supported |
| ---------- | --------- |
| Text/Chat  | ✅         |
| Embeddings | ✅         |
| Tools      | ✅         |

## Quick Start

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

const agent = new Agent({
  name: 'MistralAgent',
  instructions: 'You are a helpful assistant.',
  llm: 'mistral/mistral-large-latest'
});

const response = await agent.chat('Hello!');
```

## Available Models

| Model                   | Description     |
| ----------------------- | --------------- |
| `mistral-large-latest`  | Most capable    |
| `mistral-medium-latest` | Balanced        |
| `mistral-small-latest`  | Fast            |
| `codestral-latest`      | Code generation |

## Related

* [Mistral CLI Usage](/docs/js/providers/mistral-cli)
