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

# The AI dock

> Run Claude Code, Codex, OpenCode or Antigravity in a tab inside the editor, already connected to your project.

The AI dock runs agent sessions as tabs inside the editor. Each tab is the real agent CLI, started in your project folder with CoClip already connected. There is nothing to register.

Open it with the **AI** button in the editor header. The dock is expanded by default. Collapse it to a narrow strip when you need room; the sessions keep running.

Screenshot coming soon

AI dock with two session tabs
State: Claude 1 and Codex 1 open, Claude 1 active
Highlight: Tab strip and + button

## Start a session

**1. Open the AI dock**

Click **AI** in the editor header if the dock is collapsed.

**2. Add a tab**

Click **+** (**New AI session**) and pick **Claude**, **Codex**, **OpenCode** or **Antigravity**.

**3. Ask for an edit**

Type what you want in plain words, for example "Add captions to the voice-over in a bold white style", and press `Enter`.

The edit appears on the timeline and in the **AI log**. The first tab of a project uses the kind of agent you picked last.

If the agent is not installed or its version is not supported, the tab shows an install guide instead of a session. See **Install guide in the tab** below.

## Tabs and session names

* Tabs are named by agent and number: `Claude 1`, `Claude 2`, `Codex 1`.
* **Double-click** a tab to rename it. Press `Enter` to keep the name, `Esc` to cancel. An empty name restores the automatic one. Names are up to 60 characters.
* **Right-click** a tab for **Rename…**, **Restart (new session)** and **Close**.
* You can run any number of tabs, in any mix of agents.
* The session name is what you see in the **AI log** and in edit notices, so each edit shows which session made it.
* From the fifth running session, CoClip shows a notice: each running session uses memory, and every agent uses its own tokens. Close the tabs you no longer need.

## Show the agent what you mean

* **Select clips first.** Select items on the timeline, then say "fix this clip" or "make these shorter". The selection goes to every session. Claude sees it as selected lines; the other agents read it when they need it.
* **Drag things into the tab.** Drop a Library tile, a clip script line or files from Explorer (Finder on macOS) on the terminal. CoClip pastes a reference to it at the prompt. Nothing is imported or sent until you press `Enter`.

## Typing in the terminal

| Action | Windows | macOS |
| - | - | - |
| Copy selected text | `Ctrl+C` (with text selected) | `⌘C` |
| Paste | `Ctrl+V` | `⌘V` |
| New line in the prompt | `Shift+Enter` | `Shift+Enter` |
| Stop the agent's current step | `Ctrl+C` (no text selected) | `Ctrl+C` |
| Larger / smaller / reset text | `Ctrl+=` / `Ctrl+-` / `Ctrl+0` | `⌘=` / `⌘-` / `⌘0` |

Keys you type in the terminal never trigger editor shortcuts.

To change the terminal font, click **Terminal font** in the dock header. Set the **Size** with **-** and **+**, pick a **Font**, or click **Reset**.

## Restart, close and collapse

* **Restart** (dock header or tab menu) replaces the session with a new one of the same kind. A custom tab name is kept.
* When a session ends, its tab stays with **Restart** and **Close**.
* Collapsing or hiding the dock keeps every session running.
* Switching project or quitting CoClip ends all sessions of that project.

## What each session gets

* The CoClip tools, the CoClip skills and the five CoClip agent roles. See [Skills and agent roles](/docs/ai-agents/skills-and-agents.md).
* CoClip's own tools run without asking, for that session only. Other actions, such as shell commands and file edits, follow the agent's own approval prompts.
* By default a session uses only the CoClip setup. You can switch Claude, Codex and OpenCode to your own setup in **Settings** → **AI assistants**. See each agent page.

## Undo an agent's edits

Each edit has an **Undo** button in the **AI log**. You can also tell the agent "undo my last edit". This is a phrase you type in the tab, not a button. It undoes only that session's edits, not yours or another session's. See [AI log and undo](/docs/ai-agents/ai-log-and-undo.md).

## Install guide in the tab

When CoClip cannot start an agent, the tab explains why and how to fix it:

* **Not installed.** The guide shows the vendor's install command with a copy button. Run it in PowerShell (Terminal on macOS), run the agent once to sign in, then click **Open Claude again** (or the agent you picked).
* **Version too old or not supported.** The guide shows the version found and the version CoClip needs.
* **Still not found after installing.** Restart CoClip.

Fixes for each message are on the agent pages: [Claude Code](/docs/ai-agents/claude-code.md), [Codex](/docs/ai-agents/codex.md), [OpenCode](/docs/ai-agents/opencode.md), [Antigravity](/docs/ai-agents/antigravity.md).

Screenshot coming soon

Install guide in an AI dock tab
State: Codex not installed
Highlight: Install command and copy button

## Related pages

* [Example prompts](/docs/ai-agents/example-prompts.md)
* [Editor layout](/docs/interface/editor-layout.md)
* [Connect agents outside the editor](/docs/ai-agents/outside-the-editor.md)


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