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

Write real TypeScript that imports @savants.dev/guard and runs in your browser. Edit the code — results update instantly.

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 16 operators, plain English syntax. Full DSL reference →