Playground
See the problem. Try the fix. Write your own guard rules.
Step 1 — See the problem
What happens without guardrails
An AI agent deletes your production database in 9 seconds. Click "Run" to watch it happen — then see how one import stops it.
Step 2 — Try it yourself
Live Code Editor
A browser demo of the Guard rule engine. Edit the rules and see what blocks. The engine your project runs is the npm package below — this editor reimplements its evaluator so it can run client-side.
Ready to add guardrails to your project?
npm install @savants.dev/guard Works with any AI framework Step 3 — Go deeper
📐
Guard rules use a simple DSL
when action contains 'delete' and env eq 'production' then block 17 operators, plain English syntax. Full DSL reference →