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

# Authentication

# Authentication

> Datzi runs on Ollama (qwen3-coder:14b). No external API keys required.

Datzi supports local model providers via Ollama. No external API keys or OAuth are needed.

## Checking model auth status

```bash theme={null}
datzi models status
datzi doctor
```

> Datzi runs on Ollama (qwen3-coder:14b). No external API keys required.

## Controlling which credential is used

### Per-session (chat command)

Use `/model <alias-or-id>@<profileId>` to pin a specific provider credential for the current session (example profile
ids: `anthropic:default`, `anthropic:work`).

Use `/model` (or `/model list`) for a compact picker; use `/model status` for the full view (candidates + next auth
profile, plus provider endpoint details when configured).

### Per-agent (CLI override)

Set an explicit auth profile order override for an agent (stored in that agent’s `auth-profiles.json`):

```bash theme={null}
datzi models auth order get --provider anthropic
datzi models auth order set --provider anthropic anthropic:default
datzi models auth order clear --provider anthropic
```

Use `--agent <id>` to target a specific agent; omit it to use the configured default agent.

## Requirements

* Ollama installed and running locally
* Model pulled: `ollama pull qwen3-coder:14b`
