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

# Spec History

> Track and restore previous versions of your agent's spec

## Spec History

Logic tracks every change made to your agent's spec, giving you a full audit trail of edits over time.

You can open spec history using the **Spec history** icon in the agent editor's top bar.

<img src="https://mintcdn.com/logic/JFme65otZYsTtNer/screenshots/agent_versions.png?fit=max&auto=format&n=JFme65otZYsTtNer&q=85&s=1a160c1fe5ab28528b99c71dfb321520" alt="spec history" width="3840" height="2160" data-path="screenshots/agent_versions.png" />

### Viewing Past Versions

The **Spec History** panel lists previous versions of your agent's spec in reverse chronological order. Click any entry to view that version of the spec alongside the current one.

### Restoring a Version

You can restore a previous version of your agent's spec directly from the Spec History panel. Logic will prompt you to confirm before applying the change.
