{"repo":"eqtylab/cupcake","free":true,"listed":false,"github":"https://github.com/eqtylab/cupcake","clone":"git clone https://github.com/eqtylab/cupcake.git","description":"A native policy enforcement layer for AI coding agents. Built on OPA/Rego.","language":"Rust","stars":286,"topics":["claude-code","cursor","gemini-cli","hooks","coding-agents","factory-ai","opencode","agent-security","mcp","llm-as-a-judge"],"license":"Apache-2.0","category":"mcp-servers","readme_excerpt":"Cupcake Make AI agents follow the rules. Policy enforcement layer for AI agents; yielding better performance and security without consuming model context . - Deterministic rule-following for your agents. Interactive Examples - Better performance by moving rules out of context and into policy-as-code. - Trigger alerts and put bad agents in timeout when they repeatedly violate rules. Cupcake intercepts agent events and evaluates them against user-defined rules written in Open Policy Agent (OPA) Rego. Agent actions can be blocked, modified, and auto-corrected by providing the agent helpful feedback. Additional benefits include reactive automation for tasks you dont need to rely on the agent to conduct (like linting after a file edit). Updates 2025-12-10 : Official open source release. Roadmap will be produced in Q1 2026. 2025-04-04 : We produce the feature request for Claude Code Hooks. Runtime alignment requires integration into the agent harnesses, and we pivot away from filesystem and os-level monitoring of agent behavior (early cupcake PoC). Supported Agent Harnesses Cupcake provides lightweight native integrations for multiple AI coding agents: Harness Status Integration Guide --------------------------------------------------------------------------------- ------------------ ---------------------------------------------------------------------------- Claude Code ✅ Fully Supported Setup Guide Cursor ✅ Fully Supported Setup Guide Factory AI ✅ Fully Supported Setup Guide Open","default_branch":null,"files":null,"tree":[],"storefront":"/r/eqtylab","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/eqtylab/cupcake/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}