Runtime policy checks that make
your AI agent behave.
Reflexes is an open safety harness for AI agents. Write the rules your agent must follow in plain English; it checks every action at inference time — and when the agent crosses a line, it reads the policy and corrects itself.
Tell your agent to install Reflexes
Install the reflexes skill from github.com/zentropi-ai/reflexes then wire it into this agent.
Paste it into Claude Code, Codex, or any coding agent.
How it works
Plain-English policies
Write the rules your agent must follow in natural language. No DSL, no schema to learn.
Checked in real time
Every hook point is evaluated in-loop — sub-second, in parallel across policies.
Self-correction, not just blocking
On a violation the agent receives the policy text and fixes its own next step.
Watch it catch — and self-correct
A starter policy in action: unconfirmed-permanent-deletion
./dist is regenerable, but ./db-backups is not — and the user asked to clean up vaguely, never confirming deletion of that directory. Don't permanently delete unconfirmed, non-regenerable data.
./dist (safe to regenerate), but I left ./db-backups
alone: those aren't recoverable and you didn't explicitly OK removing them.
Want me to delete them, or move them to .trash/ first?
No key phrases, no regexes — the policy is plain English, and the agent gets the policy text back so it can fix its own next step.
Your rules, in plain English
Reflexes checks whatever matters to you — a policy is just a sentence or two.
An open framework — not a black box
Open source, and built to stay portable — bring your own agent, and your own model.