1

Show HN: AgentShield, The missing safety layer for Cowork and AI Agents

Hey, I'm Gong Chao, currently working at Zai.

Last weekend after playing football and heading home, an idea suddenly popped into my head. I got the urge to build it and spent the whole weekend hacking it out — *AgentShield* .

Nowadays everyone's using Cowork, Claude Code, or various AI agents to manipulate files and write code. It's awesome, but sometimes AI goes "crazy" and messes up your files, making it impossible to revert to the original state (don't ask me how I know... ).

For code, you have Git, but that requires commits, and it's not friendly for large files.

AgentShield puts a shield around your workspace, monitoring file changes in real-time. When things get messed up, you can *rollback with one click*, giving you a *"regret pill"*.

Under the hood, it uses zero-copy technology and takes up no space. This tool is dedicated to all the brothers who've been screwed over by AI. Welcome to try it out!

https://github.com/tomsun28/agentshield

PS: I've only tested it on macOS