# The AI panel

> Chat with your own AI beside any doc in the Desktop app: Claude Code, Codex, Grok Build and the rest, or an API key from Anthropic, OpenAI, Google and more.

The AI panel is a chat beside the doc you have open, in the Desktop app. The AI reads and changes the doc as you, and its changes show in History like yours.

You bring your own AI: an AI app you already use on your computer, or an API key from a provider. Dockito doesn't provide the AI.

## Your AI

### AI apps on your computer

The panel uses the app you've installed, signed in with its own account. Dockito never installs it; if it's missing, the panel shows where to get it.

- **Claude Code**
- **Codex**
- **Antigravity CLI**
- **Grok Build**
- **Gemini CLI**, shown only when it's installed

Your prompts and the doc go to that AI under your account with it.

### API keys

Paste a key in **Settings › API keys**. Dockito checks it, then keeps it in your computer's keychain; the app shows only its first and last few characters. The app calls the provider directly.

- **Anthropic API**
- **OpenAI API**
- **Google AI API**
- **xAI API**
- **OpenRouter**
- **Azure OpenAI**
- **Amazon Bedrock**
- **Google Vertex AI**
- **Other (OpenAI-compatible)**: any service that speaks OpenAI's API, at an address you give

You can name your own model for any of them.

## Each AI, as it is

Each AI tells the panel what it can do, and the panel shows only that. So the controls differ from one AI to the next:

- **Effort**: how hard it thinks, where the AI has levels.
- **Attach**: pictures and PDFs, where the AI takes them. Claude Code and API keys take both; Codex takes pictures.
- **Stop**: ends a reply partway, with Claude Code and API keys.
- **Messages while it works**: Claude Code takes them into the running reply; with the others, the panel holds them until it's done.
- **How full the chat is**, and **Compact** to make room.
- **Tokens** for each reply, an estimated cost with API keys, and your plan's limits with Claude Code, Codex and Antigravity CLI. Costs are estimates from list prices, not a bill.
- **`/` commands**, where the AI has its own.

## In a chat

- **@** names another doc to bring in.
- Attach files: pictures and PDFs where the AI takes them, and text and code files, up to 10 at a time.
- **Dictate** with the microphone, on a Mac. It's recognised on the Mac itself.
- The AI can look at the doc you have open, only while it's in front.
- Up to 3 chats on each doc, each with its own AI.
- In API docs, the AI can run saved requests and read the results. See [Requests for AI](/help/api-docs/for-ai).

## Changes that need your OK

Some changes wait for you to allow them: deleting a folder or a sheet tab, restoring a version, moving, making a doc private, publishing for anyone, replacing a doc, a large rewrite, and running API requests.

## In History

When a reply changes the doc, its changes are one entry in History, labelled with the AI's name, such as "Changed by Claude Code", so you can see them and restore an earlier version. Your messages and the AI's replies stay on your computer; Dockito never receives them.
