Skip to main content
ClaudeWave

Rewind any AI agent to point zero. Flight recorder and time machine for coding agents.

SubagentsOfficial Registry0 stars0 forks● TypeScriptApache-2.0Updated yesterday
ClaudeWave Trust Score
95/100
✓ Verified
Passed
  • ✓Open-source license (Apache-2.0)
  • ✓Actively maintained (<30d)
  • ✓Clear description
  • ✓Topics declared
  • ✓Documented (README)
Last scanned: 10/7/2026
Install as a Claude Code subagent
Method: Clone
Terminal
git clone https://github.com/zerostel/zerostel && cp zerostel/*.md ~/.claude/agents/
1. Clone the repository and copy the agent .md definitions into ~/.claude/agents (or .claude/agents inside a project).
2. Start a new Claude Code session to load the agents.
3. Delegate work to them with the Task/Agent tool or by name.
Use cases

Subagents overview

<div align="center">

<picture>
  <source media="(prefers-color-scheme: dark)" srcset="docs/assets/brand/zerostel-logo-dark.svg">
  <img src="docs/assets/brand/zerostel-logo-light.svg" alt="Zerostel" width="380">
</picture>

**Rewind any AI agent to point zero.**

Zero trust for AI agents: assume they'll break something, record every step, and rewind the files they touched.
A flight recorder and time machine for coding agents: every step on record, tests tied to the code they ran on, guardrails you set, and a handoff the next agent or person can check.

[Website](https://zerostel.com) · [English](README.md) · [繁體中文](README.zh-TW.md) · [简体中文](README.zh-CN.md) · [日本語](README.ja.md)

[![npm](https://img.shields.io/npm/v/zerostel)](https://www.npmjs.com/package/zerostel)
[![CI](https://github.com/zerostel/zerostel/actions/workflows/ci.yml/badge.svg)](https://github.com/zerostel/zerostel/actions/workflows/ci.yml)
![License: Apache-2.0](https://img.shields.io/badge/license-Apache--2.0-blue)
![Node 20+](https://img.shields.io/badge/node-%E2%89%A520-green)
![Platforms](https://img.shields.io/badge/platforms-Windows%20%7C%20macOS%20%7C%20Linux-lightgrey)
![Runtime dependencies: 0](https://img.shields.io/badge/runtime%20deps-0-brightgreen)

</div>

<p align="center"><img src="docs/assets/demo.gif" alt="npx zerostel demo: an agent turn deletes src/legacy with rm -rf and breaks the tests; npx zerostel checks shows the test passed before and fails since; npx zerostel undo brings it back" width="800"></p>

## Quick start

```bash
npx zerostel install
```

Want to see it first? `npx zerostel demo` makes a throwaway project, plays one agent turn that deletes a folder and breaks the tests, and lets you undo it. No agent needed, and none of your projects are touched.

Then use your agent as usual. When it breaks something:

```bash
zerostel log          # what happened, step by step
zerostel checks       # did the tests pass on the code as it is now?
zerostel undo         # put the files back to before the agent's last turn
zerostel rewind 0     # or all the way back to point zero, where the session started
zerostel handoff      # what the next agent or person needs to carry on
zerostel ui           # the same, clickable, in a local web page
```

## What it does

- **Record.** Every prompt, tool call, command, file change, duration and token count, in one timeline per session: `zerostel log` in the terminal, or `zerostel ui` in a local web page.
- **Rewind.** A snapshot before and after every tool call that can change files, shell commands included. Undo a turn, go back to any step, or all the way to point zero; every rewind can itself be undone.
- **Guard.** Your own rules block a tool call, or make the agent ask you first, before it runs. The same rules for every agent.
- **Check and hand over.** Every test, type check and build the agent runs is tied to the code it ran on, so `zerostel checks` tells a pass on today's code from one on code that has changed since. `zerostel handoff` gives the next agent or person your asks, where things stand and what was tried.
- **Verify and share.** A hash-chained log that shows if it was edited, and a one-page report with a privacy mode for sharing.
- **Stay local.** Nothing is uploaded, `~/.zerostel` is readable only by you, and your `.git` is never touched.

It's zero trust for AI agents: assume one can go wrong, see everything it does, and keep a way back ([in practice](docs/zero-trust.md)). It isn't a sandbox: network requests, deployments and database writes can't be taken back. See [Limits](#limits).

## Why

Agents edit dozens of files, run `rm`, `git checkout .`, migrations and build scripts. When something goes wrong you're left asking what it did and how to get back.

Some agents have checkpoints of their own, and they differ a lot. Claude Code's rewind skips changes made through Bash. Copilot CLI tracks shell commands. Cursor and Codex each have their own model. If you use more than one agent, you get a different answer to "what changed and can I get it back" in each.

Zerostel records every supported agent the same way: a snapshot of the project around each tool call that can change files, a timeline of prompts, commands, files, time and tokens, and a report you can hand to someone else. It never touches your `.git`.

| | Agent's own checkpoints | Commits / `git stash` | **Zerostel** |
|---|---|---|---|
| Changes made by shell commands | depends on the agent | only what you committed or stashed | ✅ inside the project, plus files you list |
| Go back to a specific step | usually per prompt | per commit or stash | ✅ per tool call |
| Timeline of commands, files, tokens, time | partial | ❌ | ✅ |
| Log that shows if it was edited afterwards | ❌ | ✅ (commit hashes) | ✅ |
| Your own rules: block or ask before a tool runs | per agent | ❌ | ✅ same rules for every agent |
| Same behaviour across agents | ❌ one each | ✅ | ✅ |
| Writes to your `.git` | some do | ✅ | ❌ never |
| Shareable report of the session | ❌ | ❌ | ✅ |

Details and sources: [docs/comparison.md](docs/comparison.md). The story behind it, with the incidents: [What your coding agent's checkpoints can't bring back](https://zerostel.com/blog/agent-checkpoints/).

## Compared with other tools

Agents keep adding checkpoints of their own, and there are good add-ons too: [Turnback](https://github.com/MFaizR77/turnback), [Turnal](https://github.com/AadiJo/turnal), [bashback](https://github.com/trouties/bashback), [logbook](https://github.com/sheeki03/logbook), [codex-rewind](https://github.com/extracurricular-ai/codex-rewind). What Zerostel adds:

- **Rewinds that don't lose work.** Nothing is deleted or overwritten without an exact copy, each file is looked at again right before it changes, `--keep-others` keeps what another agent or you changed since, and every rewind, even one cut short, can be undone.
- **More than the project folder.** Watched files like `~/.zshrc`, Windows user environment variables, and global installs (listed, with the commands that undo them).
- **Evidence tied to the code.** Tests and builds are recorded against the exact code they ran on, so a pass on code that has changed since shows as out of date, and a handoff can be checked against the folder.
- **One set of rules for every agent.** Guardrails that block or ask before a tool runs, and a log that shows if it was edited.
- **Your agents as they are.** Hooks into the official agents, no fork or wrapper; zero runtime dependencies, nothing sent anywhere.

Something else can fit better: the agents' own `/rewind` and codex-rewind bring the conversation back with the files, and Turnal can bisect the turn that broke the tests. [Each tool side by side, with sources](docs/alternatives.md).

## Supported agents and systems

| Agent | How | Status |
|---|---|---|
| Claude Code | hooks | ✅ tested on real sessions |
| Codex | hooks (approve once with `/hooks`) | ✅ tested on real sessions |
| Cursor | hooks | ✅ CLI tested on real sessions; the CLI sends no prompt events, so undo goes one change at a time there. On Windows, start it from PowerShell: from Git Bash its hooks don't run |
| Gemini CLI | hooks (trusted folders only) | ✅ tested end to end¹; for Code Assist Standard/Enterprise and paid API keys, since personal accounts moved to Antigravity in June 2026 |
| Antigravity (CLI, desktop, IDE) | hooks | ✅ tested end to end¹; it doesn't pass on the prompt text, so turns show as "New turn" |
| Copilot CLI | hooks (`~/.copilot/hooks`) | ✅ tested on real sessions |
| opencode | plugin | ✅ tested on real sessions |
| DeepSeek Harness | plugin | 🧪 experimental (dsh itself is a developer preview); tested end to end¹ |
| anything else (Aider, scripts…) | `zerostel run -- <command>` watches the files | ✅ coarser: no tool calls, tokens or guardrails |

¹ The real agent on Windows, with its model swapped for a scripted one: a prompt, a file write, a command, a call blocked by a rule, the end of the turn and an undo.

Experimental agents are installed only when you name them: `zerostel install --agent deepseek`. Reports from real sessions are welcome.

Agents don't all report the same things to their hooks (prompts, failed commands, tokens); [what each one tells Zerostel](docs/install.md#what-each-agent-tells-zerostel).

Zerostel doesn't care which model is behind the agent: Claude, GPT, Gemini, DeepSeek or a local one are all recorded the same way.

Windows, macOS and Linux (WSL too). CI runs every commit on all three with Node 20, 22 and 24.

## Install

```bash
npx zerostel install          # one-off, nothing installed globally
npm install -g zerostel       # or keep the `zerostel` command around
```

You need git, and Node 20 or newer. No Node? Every release has a single executable with Node inside for Windows, macOS and Linux: download it from [Releases](https://github.com/zerostel/zerostel/releases) and run `zerostel install`. Plugins for Claude Code, Codex, Antigravity and Gemini CLI, the agent skill, and how to check a download: [docs/install.md](docs/install.md).

## Documentation

| | |
|---|---|
| [Commands](docs/commands.md) | every command and option |
| [Guardrails](docs/guardrails.md) | how rules work, and tested recipes |
| [Configuration](docs/configuration.md) | `~/.zerostel/config.json` |
| [CI](docs/ci.md) | the GitHub Action |
| [MCP server](docs/mcp.md) | let the agent read its timeline and rewind when you ask |
| [How it works](docs/architecture.md) | hooks, the shadow repo, safe rewinds, the audit chain |
| [Zero trust](docs/zero-trust.md) | each principle, and what Zerostel does for it |
| [Security model](docs/security-model.md) | what it protects and what it doesn't |
| [Agents' own checkpoints](docs/comparison.md) | what each agent's undo brings back, with sources |
| [Other tools](docs/alternatives.md) | Turnback, Turnal, bashback and others, side by side |
| [FAQ](docs/faq.md) | speed, disk use, git, jj, sandboxes, tokens |

Something not
ai-agentsai-safetycheckpointclaude-codeclicodexcoding-agentcursordeveloper-toolsgemini-cligemini-cli-extensiongitmcprewindsnapshottime-travelundo

What people ask about zerostel

What is zerostel/zerostel?

+

zerostel/zerostel is subagents for the Claude AI ecosystem. Rewind any AI agent to point zero. Flight recorder and time machine for coding agents. It has 0 GitHub stars and its last recorded update is dated 2026-10-05.

How do I install zerostel?

+

You can install zerostel by cloning the repository (https://github.com/zerostel/zerostel) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.

Is zerostel/zerostel safe to use?

+

Our security agent has analyzed zerostel/zerostel and assigned a Trust Score of 95/100 (tier: Verified). See the full breakdown of passed checks and flags on this page.

Who maintains zerostel/zerostel?

+

zerostel/zerostel is maintained by zerostel. The last recorded GitHub activity is dated 2026-10-05, with 9 open issues.

Are there alternatives to zerostel?

+

Yes. On ClaudeWave you can browse similar subagents at /categories/agents, sorted by popularity or recent activity.

Deploy zerostel to your cloud

Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.

Maintain this repo? Add a badge to your README

Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.

Featured on ClaudeWave: zerostel/zerostel
[![Featured on ClaudeWave](https://claudewave.com/api/badge/zerostel-zerostel)](https://claudewave.com/repo/zerostel-zerostel)
<a href="https://claudewave.com/repo/zerostel-zerostel"><img src="https://claudewave.com/api/badge/zerostel-zerostel" alt="Featured on ClaudeWave: zerostel/zerostel" width="320" height="64" /></a>

More Subagents

zerostel alternatives