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

# theo complete

> Run a quick AI completion from the terminal.

```bash theme={null}
theo complete "<prompt>"
```

Sends a prompt to the Theo API and prints the response.

```bash theme={null}
$ theo complete "Write a regex to validate email addresses"

^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$

---
Model: Theo Flash | Mode: code | Cost: 0.03¢
```

Uses `mode: "auto"` by default. The model selection, cost, and mode are displayed below the response.
