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

# Version history

> Browse your agent's past states and restore any of them

Every change an agent makes to itself gets committed to its [git repository](/docs/agents/repo): persona edits, new tools, updated memory, MCP connections. Version history is the timeline of those commits. You can browse it and restore any past state with one click.

## Where to find it

Open the agent's profile page and click the **···** menu, then **Computer**. The **Version History** tab is always available there. You can also reach it directly from the **···** menu via **Manage version history**.

## Reading the timeline

Each row is one commit: what changed, when, and who made it. The newest commit is always marked **Current**. Older rows show a **Restore** button.

The agent makes most commits itself as it works: saving what it learned, wiring up a new tool, updating its persona. When you edit the agent's settings directly, your name appears as the author.

If the agent hasn't made any changes yet, the list shows a single **Initialized** entry with the agent's creation date.

## Restoring a past state

Click **Restore** on any row to roll the agent back to that commit. The agent's repo reverts to that point and its sandbox rebuilds from the result. The timeline keeps polling until the build settles, then updates to show the restored commit as Current.

<Warning>
  Restoring replaces the agent's current code, persona file, and tool configuration with the older version. The restore itself is recorded as a new commit, so you can restore again to any point in the list if you change your mind.
</Warning>

Conversations, memory files, and routines are not affected by a restore. Only the repo contents change.

## Cloning the repo

If you have edit access to the agent, a **Copy clone URL** button appears next to the timeline header. It mints a long-lived git token and copies the full clone URL to your clipboard.

```bash theme={null}
git clone <paste the URL here>
```

Editors get a read/write token. If you can view the agent but not edit it, the clone URL is read-only instead.

<Tip>
  The clone URL is the same repo the agent commits to. You can inspect memory files, review tool definitions, and push changes that the agent will pick up on its next run.
</Tip>

<Card title="Agent repository" icon="code" href="/docs/agents/repo">
  What's inside the repo and how the agent uses it.
</Card>
