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

# Azure OpenAI Provider

> Use Azure OpenAI Service with PraisonAI TypeScript

# Azure OpenAI Provider

Use Azure-hosted OpenAI models with enterprise features.

## Environment Variables

```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
export AZURE_API_KEY=...
export AZURE_RESOURCE_NAME=your-resource
export AZURE_DEPLOYMENT_NAME=your-deployment
```

## Supported Modalities

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

## Quick Start

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

const agent = new Agent({
  name: 'AzureAgent',
  instructions: 'You are a helpful assistant.',
  llm: 'azure/gpt-4o',
  llmConfig: {
    resourceName: process.env.AZURE_RESOURCE_NAME,
    deploymentName: process.env.AZURE_DEPLOYMENT_NAME,
  }
});

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

## Related

* [Azure CLI Usage](/docs/js/providers/azure-cli)
