Undoing Agent State

SkillAI & models

Reverting agent state by undoing operations. Use when reverting invocations, rolling back agent state, or recovering from errors by undoing recorded operations.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the Undoing Agent State skill

What this skill tells your AI

The instructions your AI receives, as published by golemcloud/golem in golem-skills/skills/common/golem-undo-agent-state/SKILL.md and read by ahel’s review.

Both golem and golem-cli can be used — all commands below work with either binary.

The <AGENT_ID> format depends on the agent's language — refer to the language-specific invocation skills for the exact syntax.

agent revert — Undo Operations

Reverts an agent by undoing its last recorded operations. Useful for recovering from errors or unwanted state changes.

golem agent revert <AGENT_ID> [OPTIONS]

Flags

FlagDescription
--last-oplog-index <INDEX>Revert to a specific oplog index. Cannot be combined with --number-of-invocations.
--number-of-invocations <N>Revert the last N invocations. Cannot be combined with --last-oplog-index.

Examples

Revert the last invocation:

golem agent revert <AGENT_ID> --number-of-invocations 1

Revert to a specific oplog index (use agent oplog to find the index):

golem agent revert <AGENT_ID> --last-oplog-index 42

Signals

GitHub stars
2k
Forks
212
Last commit
Sep 2026
Advanced
Catalog kind
skill
Gateway key
golem-undo-agent-state
Source
github.com/golemcloud/golem