reflexes

Enforce plain-English safety policies on AI agent decisions at inference time.

1|Updated Jul 16, 2026
One-click install
npx skills add https://github.com/zentropi-ai/reflexes --skill reflexes
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: reflexes
Source: https://github.com/zentropi-ai/reflexes/tree/main/skill
Command: npx skills add https://github.com/zentropi-ai/reflexes --skill reflexes

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires uv, yaml, pydantic, and includes scripts (resource) and references (resource) components.

What problem does it solve?

AI agents often drift, executing destructive commands or ignoring instructions. This Skill provides a safety net that checks agent decisions against plain-English policies in real-time, catching mistakes before they occur.

Core Features & Use Cases

  • Inference-Time Enforcement: Validates agent actions (tool calls, responses) against custom policies before they are finalized.
  • Self-Correction: When a policy is violated, the Skill denies the action and feeds the policy text back to the agent, enabling it to correct its own course.
  • Flexible Evaluators: Uses Zentropi's CoPE model by default, with support for OpenAI, Anthropic, and Gemini to score content against policies.

Quick Start

Ask your AI agent to install the reflexes skill and follow the numbered steps in the INSTALL.md file to wire the safety harness into your host environment.

Frequently Asked Questions about reflexes

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce safety policies on AI agents at inference time?

Agent self-correction works by denying actions that violate plain-English policies and feeding the policy text back to the AI agent. This real-time inference-time feedback loop enables the agent to correct its own course and retry the action safely.

Can I use OpenAI or Anthropic models to evaluate LLM agent guardrails?

CLI hosts and Python agent frameworks are supported through a configurable hook and middleware architecture. This allows the inference-time safety harness to validate agent actions across different agentic workflows and host environments.

What's the best way to stop AI agents from executing destructive commands?

The best way to stop destructive commands is implementing real-time inference-time guardrails that validate agent tool calls against plain-English safety policies. The action is denied before execution if it violates the defined compliance rules.

Do I need uv and pydantic to set up AI agent policy enforcement?

You need uv, yaml, and pydantic dependencies to set up AI agent policy enforcement. These tools support the configurable hook and middleware architecture that wires the safety harness into your host environment.