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

# AI log and undo

> See every edit an agent made, by session, and undo one edit or a whole session's work.

The **AI log** lists every edit an agent makes to your project, newest first. It is a tab beside the **Inspector**. Show or hide it with the **AI log** button in the toolbar.

While the log is hidden, the **AI log** button shows a badge with the number of new AI edits.

Screenshot coming soon

AI log panel beside the Inspector
State: Several edits from Claude 1 and Codex 1, one undone
Highlight: Undo button on an entry

## Read an entry

Each entry shows:

* **What changed**, in plain words, for example "Add title".
* **Who** made it: the session name, such as `Claude 1` or `Codex 2`. A helper agent adds its label, for example `Claude 1 · chapter-2`. Agents connected outside the editor show their kind: "Claude", "Codex", "OpenCode", "Antigravity", or "AI agent" for an agent CoClip does not recognise.
* **When**, and which items it touched.

Click an entry to select the items it changed on the timeline.

The session name is the one the edit was made with. Renaming a tab later does not change old entries.

## Undo one edit

**1. Find the edit**

Open the **AI log** and find the entry.

**2. Click Undo**

Click **Undo** on that entry.

The edit is reverted and the entry is crossed out. If a later edit changed the same items, CoClip cannot undo that entry on its own; undo the later edit first.

You can also click **Undo** on the notice that pops up when an agent edits your project.

## Undo by asking the agent

Type the request in the agent's tab, for example:

* "Undo my last edit."
* "Undo the last three edits you made."

"Undo my last edit" is a phrase you say to the agent, not a button. Each session undoes only its own edits, so your edits and other sessions' edits stay.

## How undo is recorded

* Undo never erases history. CoClip records it as a new step.
* An agent can also redo its last undo if no new edit was made after it. Ask "redo that".
* The agent sees the same history, so it can tell you what it changed.

## Agents and export

Agents never export on their own. When a video is done, the agent asks whether to export and starts only after you say yes. See [Export](/docs/editing/export.md).

## Related pages

* [The AI dock](/docs/ai-agents/ai-dock.md)
* [Editor layout](/docs/interface/editor-layout.md)
* [Troubleshooting](/docs/reference/troubleshooting.md)


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