# Ask AI

> Chat with an assistant that reads your servers and sites and, with your approval, changes them. Included AI on every plan, or your own AI key.

Source: https://vantuly.com/docs/ask-ai

Ask AI is a chat panel inside Vantuly. Ask "which sites are down?" or "set the PHP version of acme.com to 8.4" and it looks things up and, for changes, shows you a card to approve first. It uses the same permissions and activity log as the rest of the panel.

Open it from **Ask AI** in the top bar. The panel can go full screen, keeps your past conversations (search, rename, delete; they are private to you), and understands the page you are on. Type `@` to tag a site, server, domain or database.

## Set it up

Ask AI works in two ways:

- **Included AI.** Every team gets a monthly AI allowance from Vantuly, with nothing to set up. Vantuly picks the model and pays for it.
- **Your own key.** Save your team's own AI key to pick the provider and model yourself, with no allowance limit. Your provider bills you.

A saved key always wins. If your key stops working, Ask AI stops: it never falls back to included AI, so your data never goes to a provider you chose not to use. Remove the key to go back to included AI.

### Included AI allowance

The allowance is counted in money, per calendar month (UTC), and resets on the 1st.

| Plan | Allowance a month | About |
|---|---|---|
| Free | $0.06 | 10 tasks |
| Pro | $0.60 | 100 tasks |
| Scale | $1.20 | 200 tasks |
| Fleet | $2.40 | 400 tasks |

Task counts are rough: a long conversation or a big lookup uses more. When the allowance is used up, Ask AI stops until next month. To keep going, move up a plan or save your own key. There are no top-ups.

### Use your own key

1. Go to **Settings → Team → AI assistant** (owners and admins).
2. Pick a provider, paste the key, and pick a model. Vantuly sends one tiny request to check the key before saving.
3. Choose a mode and, if you like, a monthly token cap.

Supported providers: Anthropic, OpenAI, Azure OpenAI, Google Gemini, Mistral, xAI, Groq, Cerebras, Together, Fireworks, DeepInfra, NVIDIA NIM, Cohere, OpenRouter, DeepSeek, Alibaba Qwen, Moonshot Kimi, Zhipu GLM, MiniMax, ByteDance Doubao, Tencent Hunyuan, Baidu Qianfan, StepFun, SiliconFlow, and any other OpenAI-compatible endpoint. A custom or Azure address must be `https://` and public: a model running on your own laptop (Ollama, LM Studio) cannot be reached from the panel.

The key is stored encrypted and never shown again (only its last four characters). Changing or removing it needs your password or passkey, and is written to the activity log. If the provider rejects the key later, Ask AI stops until you save a new one.

The first time you open the panel you are asked to enable it: for chosen teams, or all your teams. Behind the scenes each team gets an "Agent" token (Settings → API tokens) that you can revoke at any time.

## Modes

| Mode | What the assistant can do |
|------|---------------------------|
| Off | Nothing |
| Read only | Look things up. Never change anything |
| Ask | Look things up, and change things after you approve each change (default) |

## Approving changes

Every change appears as a card with the real request (method and path), what will change (before → after) and a **Destructive** badge when it runs a command or script on a server. Nothing happens until you click **Approve**. **Deny** tells the assistant no.

- A card waits for an hour, then expires. Reloading the page loses nothing.
- Changes that are easy to reverse (a label, a PHP setting) also offer **Allow similar for this conversation**. It auto-approves only those, only on a site or server you already approved a change on in that conversation, and at most 5 a turn. Team-wide changes always ask.
- Only you, in your browser session, can approve. An API token can never approve.
- The assistant has only the permissions your role has. A change you could not make yourself fails like it would anywhere else.

## Undo

Most changes the assistant made can be undone from its answer: settings are put back as they were, and cron jobs or DNS records it created are deleted. The undo is a change like any other: it shows its risks and waits for your approval. Undo data is kept for 30 days.

## What it will not do

It links you to the page instead of doing these: reveal secrets or environment values, read or write files, open a terminal or shell, run artisan, dump databases, change SSH keys, team members, roles or invitations, change API tokens or integrations, run the VPN, and delete servers, sites or teams. These need your own hands in the panel.

## Usage and cost

**Settings → Team → AI assistant → Usage** (owners and admins) shows tokens in and out, an estimated cost from public list prices, questions, changes made, denied and undone, ratings, tokens per day, and tables by member and model, for the last 7, 30 or 90 days. Costs are estimates; with your own key, your provider's bill is the real figure. The optional monthly cap stops the assistant when reached. With included AI, the **Included AI** card on Settings → Team → AI assistant shows how much of the month's allowance is used.

## Privacy

Your messages, and the results of the lookups the assistant makes, go to **your chosen provider** under your key, or with included AI to Vantuly's AI provider. Vantuly removes secret-looking values (passwords, tokens, keys, private keys) from results before sending them, but this is pattern matching and cannot catch everything. Scripts, cron commands and logs can reach the provider, so do not enable Ask AI for a team whose provider you do not trust with them.

Conversations are stored in Vantuly, visible only to their author, and removed after 180 days.
