---
title: "Baz for OpenAI Codex | One Independent Merge Standard"
description: "Baz reads AGENTS.md and Skills, plans Codex work with organization-wide context, and applies one independent review to every Change from local or cloud sessions."
canonical: "https://baz.ai/solutions/codex"
---

# Baz for OpenAI Codex | One Independent Merge Standard

Baz reads AGENTS.md and Skills, plans Codex work with organization-wide context, and applies one independent review to every Change from local or cloud sessions.

## One merge standard for everything Codex ships

Codex reads [AGENTS.md](https://baz.ai/docs/agents/skills-and-instructions) for durable project guidance and runs across local sessions and cloud tasks in parallel worktrees, under Read Only, Auto, or Full Access. Its own Review panel checks the diff inside the session that wrote it. Baz reviews the Change again [independently in GitHub](https://baz.ai/docs/capabilities/pull-requests), from the pushed commit rather than any worktree, applies the AGENTS.md rules that match the changed paths, and returns one merge verdict no matter which session or worktree produced the code.

- [Install Baz Planner](https://baz.ai/planner)
- [View the Baz plugin on GitHub](https://github.com/baz-scm/baz-plugin)

## OpenAI Codex tells the agent how to work. Baz keeps the standard.

Native customization tells an agent how to work. Baz turns the durable guidance already versioned in your repository’s tree into [scoped requirements](https://baz.ai/product/standards) it verifies on every Change, and Skill Maintainer opens a pull request when a rule stops matching the code.

### Native customization

AGENTS.md, Skills, plugins, MCP, subagents, memories, and task prompts

### Where instructions drift

A review inside the session that wrote the code shares its blind spots, parallel cloud tasks can each read AGENTS.md a little differently, and every worktree is a copy that can diverge from what lands.

### What Baz adds

Baz discovers AGENTS.md and Skills, then applies the matching requirements during an [independent review in GitHub](https://baz.ai/docs/agents/baz-agents), outside the session that produced the code.

## A plan OpenAI Codex can defend

Codex can run read-only while it explores. Baz turns that exploration into a [plan](https://baz.ai/docs/capabilities/planner) grounded in the whole organization, presented for approval before code.

1. Install the [Baz plugin](https://baz.ai/docs/basics/plugins/codex) and invoke the plan-with-baz Skill.
2. Codex runs read-only and searches across repositories through Baz while it explores.
3. The plan is checked against dependencies and risk before implementation.
4. Upload the approved plan to Baz for team review, with the relevant repositories, model, and usage recorded.

**Result:** A plan the team reviews and versions in Baz before implementation, linked to the PR that implements it.

## One independent merge standard

OpenAI Codex can produce work many ways: Local sessions, cloud tasks, parallel worktrees, Skills, plugins, and subagents. Baz reviews the result after the code exists, reading the pushed commit straight from your git server rather than the agent’s workspace, and decides one thing: Whether the final Change matches team requirements and passes an [independent review](https://baz.ai/docs/capabilities/sessions) outside the originating session.

| Baz capability | Evidence used | Decision supported |
| --- | --- | --- |
| [AI Coding Guidelines](https://baz.ai/product/standards) | AGENTS.md, CLAUDE.md, Cursor rules, and Skills matched to changed paths | Did the agent follow the team's durable instructions? |
| [Verification Agent](https://baz.ai/product/verification) | The approved plan, the ticket and designs, and the running application | Did the agent build what the team asked for? |
| [Code Correctness](https://baz.ai/product/agents) | Execution paths, API contracts, and consumers in this and other repositories, read at pinned commits | Does the Change work, and what does it break beyond the edited files? |
| [Security Review](https://baz.ai/product/security) | Advanced Security, SAST-inside signals, and the agent security reviewer | Does the Change introduce an exploitable risk, including in agent code? |
| [Sessions](https://baz.ai/docs/capabilities/sessions) | What every agent ran, read, found, and skipped | Can the team see how the verdict was reached? |
| [Merger](https://baz.ai/product/merger) | Findings, discussions, approvals, checks, and team merge requirements | Is the Change ready to merge, blocked, or waiting for a human decision? |

## Keep every agent’s strengths. Add one control layer.

Each agent keeps its own way to shape behavior. Baz adds the same evidence before code and the same independent verdict after, taken from the git objects themselves rather than any agent’s copy, so the toolchain can change without resetting the standard.

| Capability | [Claude Code](https://baz.ai/solutions/claude-code) | [OpenAI Codex](https://baz.ai/solutions/codex) | [Cursor](https://baz.ai/solutions/cursor) | [Devin](https://baz.ai/solutions/devin) |
| --- | --- | --- | --- | --- |
| Durable repo guidance | CLAUDE.md, imported AGENTS.md, .claude/rules | AGENTS.md | Project Rules, AGENTS.md | AGENTS.md |
| Baz before code | Packaged Planner plugin and plan capture | Packaged Planner plugin and plan capture | Baz Rule, MCP, and plan capture | Baz MCP with repo-held guidance |
| Baz after code | Independent review and merge verdict | Independent review and merge verdict | Independent review and merge verdict | Independent review and merge verdict |
| Where Baz verifies | The pushed commit, not the local session | The pushed commit, not the worktree or cloud container | The pushed commit, not the editor's working tree | The pushed commit, not Devin's machine |
| Agent setup reviewed for security | Hooks, Skills, plugins, and MCP servers | Skills, plugins, and MCP servers | Hooks, Skills, plugins, and MCP servers | Repo Skills and MCP servers |
| Guidance kept current | Skill Maintainer PRs to CLAUDE.md and Skills | Skill Maintainer PRs to AGENTS.md and Skills | Skill Maintainer PRs to rules and Skills | Skill Maintainer PRs to AGENTS.md and Skills |

## One control layer, whichever agent your team picks

### Claude Code

Baz discovers CLAUDE.md, its @-imported files, .claude/rules, and Skills, then loads only the [rules relevant to the changed paths](https://baz.ai/resources/blog/one-agent-to-control-all-rule-files) and verifies the Change against them.

[Baz + Claude Code](https://baz.ai/solutions/claude-code)

### Cursor

Baz discovers repo-held .cursor/rules, AGENTS.md, and Skills, scopes them to the changed paths, and [verifies the result](https://baz.ai/docs/agents/baz-agents) outside the editor.

[Baz + Cursor](https://baz.ai/solutions/cursor)

### Devin

Baz enforces repo-held AGENTS.md and Skills. Teams can move durable requirements out of Knowledge or Playbooks into [versioned repo guidance](https://baz.ai/docs/agents/skills-and-instructions) so every agent and reviewer works from the same contract.

[Baz + Devin](https://baz.ai/solutions/devin)

## Questions teams ask first

### Does Baz review Codex cloud tasks and local sessions the same way?

Yes. Baz reviews the resulting Change with the same standard regardless of whether it came from a local session, a cloud task, or a parallel worktree.

### Does Baz replace AGENTS.md?

No. Baz uses the [AGENTS.md and Skills](https://baz.ai/docs/agents/skills-and-instructions) your team maintains, normalizes them, and verifies the final Change against the parts that apply to the changed paths.

### Does Baz review the worktree or what gets pushed?

What gets pushed. Baz reads the commit from your git server by object id, so the verdict covers the exact code that will merge, not a copy that may still be changing.

### Can Baz tell which model produced a plan?

Planner records the coding agent and model when the host exposes that information, along with the relevant repositories and final plan.

## Let developers keep OpenAI Codex. Keep one standard for the code.

Connect Baz to your repositories and turn the guidance you already maintain into requirements verified at the commit on every Change, before code and again before merge.

- [Book a demo](https://baz.ai/book-a-demo)
- [View the Baz plugin on GitHub](https://github.com/baz-scm/baz-plugin)
