> ## Documentation Index
> Fetch the complete documentation index at: https://agno-v2.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Environment Variables

> Environment variables Agno reads: provider API keys, AgentOS security keys, CLI settings, and debug flags.

Agno reads configuration from environment variables. The ones you are most likely to need:

| Variable | Used by | Purpose |
| - | - | - |
| `OPENAI_API_KEY` | SDK | Key for the default model (`OpenAIResponses`) and the default `OpenAIEmbedder` |
| `ANTHROPIC_API_KEY`, `GOOGLE_API_KEY`, `GROQ_API_KEY`, ... | SDK | Each model provider reads its own key. See the provider's page in [Models](https://agno-v2.mintlify.site/models/overview.md) for the exact name |
| `OS_SECURITY_KEY` | AgentOS | Bearer token for security key authentication |
| `JWT_VERIFICATION_KEY` | AgentOS | Public key or shared secret for JWT verification |
| `JWT_JWKS_FILE` | AgentOS | Path to a JWKS file. Alternative to `JWT_VERIFICATION_KEY` |
| `AGENTOS_URL` | CLI | AgentOS URL for `agno connect`, `agno status`, and `agno tokens` |
| `AGNO_ADMIN_TOKEN` | CLI | Admin credential for `agno connect` and `agno tokens`. Falls back to `OS_SECURITY_KEY` |
| `AGNO_DEBUG` | SDK | Set to `true` to enable debug logging |
| `AGNO_TELEMETRY` | Agents, teams, workflows | Set to `false` to disable telemetry for these components. Configure AgentOS and eval telemetry per instance. |

## Setting a Variable

```shell macOS / Linux theme={null}
export OPENAI_API_KEY="sk-..."
```

```powershell Windows (PowerShell) theme={null}
$env:OPENAI_API_KEY = "sk-..."
```

```cmd Windows (Command Prompt) theme={null}
set OPENAI_API_KEY=sk-...
```

These last for the current shell session. To persist a variable, add the export line to your shell profile (`~/.zshrc`, `~/.bashrc`, or your PowerShell profile), or use `setx` on Windows.

## Next Steps

* [Models overview](https://agno-v2.mintlify.site/models/overview.md)
* [AgentOS security](https://agno-v2.mintlify.site/agent-os/security/overview.md)
* [Agno CLI](https://agno-v2.mintlify.site/cli/overview.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.