
Custom Code Review rules for Codex | OpenAI Developers
7/20/2026
This post introduces custom repository rules for Codex Code Review, allowing developers to define project-specific guidance within `AGENTS.md`. This feature enhances the agentic execution environment by equipping coding agents with the ability to understand and enforce nuanced project invariants, compatibility requirements, and data boundaries during code reviews. This reduces the burden on human reviewers, accelerates the development cycle by automating context-aware checks, and enables agents to operate more effectively on complex, long-horizon coding tasks by internalizing team knowledge.













