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

# Patronus

> Use Patronus AI evaluation with PraisonAI TypeScript

# Patronus Observability

## Environment Variables

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

## Quick Start

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

const obs = await createObservabilityAdapter('patronus');
setObservabilityAdapter(obs);

const agent = new Agent({
  name: 'TracedAgent',
  instructions: 'You are helpful.',
  llm: 'openai/gpt-4o-mini'
});

await agent.chat('Hello!');
await obs.flush();
```

## Related

* [Patronus CLI Usage](/docs/js/observability/patronus-cli)
