Install
Initializing protection surface

Roll back what your AI agent broke.

Aegis asks before a destructive command runs and snapshots your git tree or database first. If the agent breaks something anyway, one command brings it back.

Install Aegis — free
npm i -g @iliasalmerekov/aegis

One unchecked AI command can delete files, reset commits, or drop tables.

Aegis asks first and saves a snapshot, so one command can roll the damage back.

A terminal session: the agent runs rm -rf ~/project/src. Aegis stops the command and asks for a decision. Allow is pressed; Aegis saves a snapshot before the command runs. A single command, aegis rollback a4f1c9, restores the deleted folder.

One session, three steps.

aegis — zsh
watching
you $npm i -g @iliasalmerekov/aegis
aegis — zsh
watching
you $aegis setup-shell
managed shell block installed
commands via $SHELL -c now route through aegis
aegis — zsh
waiting for you
agent $DROP TABLE users;held

Aegis stopped this command.

DB-001 — the table is gone for good.

safe alt: ALTER TABLE users RENAME TO users_retired

Y  allowN  deny

The “my AI deleted everything” club is getting crowded.

Seven public posts. Files lost, codebases reset, production databases wiped—all by agents with shell access.