Shepherd puts AI agents under watch and rolls back their mistakes
The open-source Shepherd framework records AI agent actions, lets users inspect them, undo mistakes, and launch alternative branches. It is already available, but remains in early alpha.
AI news faster than on the site — on Telegram KARMAZIN MEDIA

AI agents can delete an inbox, hack a website, or launch a cyberattack when left to work without supervision. Shepherd adds an oversight layer that watches what agents do and sends questionable decisions to a human.
The framework stores every action, the agent’s state, and its environment as a sequence of changes. A supervising meta-agent can stop a faulty step, return to an earlier state, and create a separate branch to test another option.
Shepherd runs on Python and uses a sandbox. An agent may appear to send an email or change a file, but the action first enters an isolated environment. A human or meta-agent then decides whether the result should actually be applied.
The project works with Python 3.11 and newer. Run pip install shepherd-ai, then start an autonomous offline scenario without an API key. Claude requires the CLI and authentication, while Windows is not officially supported. The framework remains in early alpha.
Shepherd runs already, but production reliability is still far away.
AI agents
AI agents
Tools