# Managing Claude Code, Codex, and Cursor in one place · Oxagen Research

Source: https://oxagen.sh/blog/manage-claude-code-codex-and-cursor-in-one-place

[Research](https://oxagen.sh/blog) · [Coding agents](https://oxagen.sh/blog/pillars/coding-agents)

# Managing Claude Code, Codex, and Cursor in one place

Manage Claude Code, Codex, and Cursor in one place: one inventory, one set of rules, one spend report, and one record beside each vendor's own settings.

Oxagen Research · November 30, 2026 · 7 min read

*   [Coding agents](https://oxagen.sh/blog/pillars/coding-agents)

Security asks the platform team for one change: no coding agent may read a `.env` file. The backend team runs Claude Code, so that rule goes in a managed settings file. Two people on the data team switched to Codex last month, so it goes in a `requirements.toml` as well. The frontend team works in Cursor, which reads its own `hooks.json`. Three files, three formats, three rollouts, and a fourth agent arrives next quarter.

To manage Claude Code, Codex, and Cursor in one place, add one layer beside all three that holds the inventory, the rules, the budgets, and the run records. Each vendor's admin settings still apply, but each one stops at the edge of its own agent.

## Why teams run three coding agents at once

Teams pick coding agents one at a time, and the picks add up. In the 2026 Stack Overflow Developer Survey, 12,255 people answered which coding agents they had used in the past year, and many named more than one.[1](https://oxagen.sh/blog/manage-claude-code-codex-and-cursor-in-one-place#user-content-fn-1)

Developers who used each coding agent in the past year

| Coding agent | Share of respondents |
| --- | --- |
| Claude Code | 65.5% |
| OpenAI Codex | 29.5% |
| Cursor | 25.5% |

Source: Stack Overflow Developer Survey 2026, 12,255 respondents to the coding agents question. Respondents could pick several agents, so the shares add to more than 100 percent.

Those three shares alone add up to 120.5 percent. That means at least one respondent in ten used two or more of them in the same year. Inside a company, one team's agent is often not the next team's agent.

## What coding agent sprawl looks like

Coding agent sprawl is the state where nobody can list which agents run, what each one carries, or what each one may touch. It rarely starts with a bad decision. Each engineer adds an MCP server, a tool server the agent reaches over the Model Context Protocol, because the task needed it. Each one writes instructions in the file their agent reads. Each one pastes a model key into their own shell.

A CIO.com contributor described one retailer where developers installed 23 MCP servers in one quarter, and security had approved none of them. Two of those servers could write to the CRM.[2](https://oxagen.sh/blog/manage-claude-code-codex-and-cursor-in-one-place#user-content-fn-2) The same piece argues that a coding agent is "bought as a seat and installed as a privileged integration." Its first job is an inventory of every agent, plugin, and MCP server, with who installed each one.[2](https://oxagen.sh/blog/manage-claude-code-codex-and-cursor-in-one-place#user-content-fn-2)

The instructions sprawl too. Codex and Cursor read `AGENTS.md`, an open format now used by over 60,000 open-source projects.[3](https://oxagen.sh/blog/manage-claude-code-codex-and-cursor-in-one-place#user-content-fn-3) Claude Code reads `CLAUDE.md`, and by default reads `AGENTS.md` only when no `CLAUDE.md` sits in the working directory or above it.[4](https://oxagen.sh/blog/manage-claude-code-codex-and-cursor-in-one-place#user-content-fn-4) A team that keeps both files keeps two copies of every rule, and the copies drift apart.

## Where each vendor's admin controls stop

Each vendor ships real controls for its own agent, and each set is worth turning on. The paths below come from each vendor's own documentation.

| Agent | Admin file on macOS | Other delivery | What it governs |
| --- | --- | --- | --- |
| Claude Code | `/Library/Application Support/ClaudeCode/managed-settings.json` | Server-managed settings from the claude.ai admin console, or an MDM profile | Claude Code sessions on that machine. No user or project setting overrides it.[5](https://oxagen.sh/blog/manage-claude-code-codex-and-cursor-in-one-place#user-content-fn-5) |
| Codex | `/etc/codex/requirements.toml` | A cloud config bundle from the ChatGPT admin console, or MDM under `com.openai.codex` | Codex clients. Users cannot weaken the requirements with local configuration.[6](https://oxagen.sh/blog/manage-claude-code-codex-and-cursor-in-one-place#user-content-fn-6) |
| Cursor | `/Library/Application Support/Cursor/hooks.json` | Team hooks set in Cursor's web dashboard, on Enterprise plans | Cursor's agent. Enterprise hooks rank above team, project, and user hooks.[7](https://oxagen.sh/blog/manage-claude-code-codex-and-cursor-in-one-place#user-content-fn-7) |

Each row also changes on its own schedule. Claude Code fetches server-managed settings at startup and polls for them hourly, checks an MDM profile every 30 minutes, and reloads a managed settings file when it changes.[5](https://oxagen.sh/blog/manage-claude-code-codex-and-cursor-in-one-place#user-content-fn-5) Codex ranks its cloud requirements above the system file, and an MDM payload above both.[6](https://oxagen.sh/blog/manage-claude-code-codex-and-cursor-in-one-place#user-content-fn-6) One rule change becomes three edits, in three formats, delivered three ways, and each lands at a different time.

Read across the rows and the gap shows. A rule written for Claude Code does nothing for Codex. A Codex requirement does nothing for Cursor. Each vendor's reports cover its own agent. OpenAI's governance page calls Codex analytics "interactive reporting surfaces, not raw audit logs."[8](https://oxagen.sh/blog/manage-claude-code-codex-and-cursor-in-one-place#user-content-fn-8) The question finance asks at the end of the month, what all of our agents cost by team and by task, takes data from all three vendors.

## How to manage all three in one place

Oxagen sits beside the agents a team already uses. On each machine that runs an agent, one command finds Claude Code, Codex, Cursor, and Stella. It writes Oxagen's hooks into each agent's own settings file and leaves entries it did not write alone:

```sh
npm install -g @oxagen/cli
oxagen agent enroll --all
```

Enrollment also adds Oxagen's MCP server to each agent, so every agent reads the same workspace steering through one entry.[9](https://oxagen.sh/blog/manage-claude-code-codex-and-cursor-in-one-place#user-content-fn-9) From then on, each session reports its steps to Oxagen's recorder on that machine, and the workspace's rules answer each governed call.

What each agent lets Oxagen see differs, and the differences matter for anyone writing a rule. This table comes from Oxagen's coverage statement and setup guide.[9](https://oxagen.sh/blog/manage-claude-code-codex-and-cursor-in-one-place#user-content-fn-9)[10](https://oxagen.sh/blog/manage-claude-code-codex-and-cursor-in-one-place#user-content-fn-10)

| Control | Claude Code | Codex | Cursor |
| --- | --- | --- | --- |
| Record each tool call | Yes | Yes. Calls the hook skips are read from the rollout file afterward | Yes |
| A rule allows or denies a tool call | Yes | Yes, for calls that fire the hook | Yes |
| A rule holds a call for a person | Claude Code asks on the developer's machine | Refused, with an approval opened in Oxagen. Once a person approves, the agent sends the call again and it runs once | Same as Codex |
| Record model calls and their cost as they happen | Yes | Yes | No. Cursor sends model calls to its own servers |
| Load the workspace's skills and steering | Yes | Yes | Yes |

The Cursor row has one more path. A workspace that stores a Cursor admin key gets each Cursor run's model requests from Cursor's usage report an hour or more later. Spend shows them as reported by the harness. Cursor's Admin API needs a Cursor Enterprise team.[10](https://oxagen.sh/blog/manage-claude-code-codex-and-cursor-in-one-place#user-content-fn-10)

What hooks on a laptop can and cannot do

Hooks on a developer's own machine are vouched for only by that machine. The person who owns the process can remove them, so the hook tier does not enforce against that person. Oxagen sets each run's enforcement tier from what it observed, so the record says which tier applied.

## Coding agent fleet management from one console

Once every agent reports to one workspace, the Runs page stops being a list of terminals. It counts what is live by agent, what is parked for a person, and what the workspace spent today. A run parked for approval holds its agent idle, so the waiting count is the first number to read.

The All tab of the Runs page with illustrative data for a large workspace: 412 runs live across Claude Code, Codex, Stella, and Cursor, 17 parked for a person, and the day's spend beside the workspace's budget for the month.

Live runs counted by coding agent

From a run's own page, a person sends a correction and sees whether it was queued, received, or applied. Oxagen delivers a correction at the agent's next turn, or sooner where the harness allows. When a release breaks, you can pause every live wrapped run in a workspace as one recorded decision, and each run stops at its next stopping point. The post on [running multiple Claude Code agents in parallel](https://oxagen.sh/blog/run-multiple-claude-code-agents-in-parallel) covers steering many runs at once.

Spend reads the same records. Each model call routed through Oxagen lands on the agent, the run, the person who started it, and the work item it served. The month's bill then splits by agent, person, and task. The [Spend page](https://oxagen.sh/product/spend) shows that split.

## Roll out coding agents across teams

A rollout that starts with blocking rules stops real work on day one. The order below starts with what you can see and adds control as the record shows what each team needs.

Rolling out one control layer across three coding agents

1.  ListEvery agent, MCP server, skill, and steering record the workspace holds.
2.  Enrolloxagen agent enroll --all on each machine that runs an agent.
3.  ObserveNew rules record what they would decide and let calls go ahead.
4.  EnforceRules that held up on real work start to allow, deny, or hold.
5.  CapAn enforced spend ceiling refuses the next metered call once reached.
6.  ReviewRead spend and held calls by agent, person, and work item.

| Stage | payments team after the stage |
| --- | --- |
| List | listed |
| Enroll | enrolled |
| Observe | observed |
| Enforce | enforced |
| Cap | capped |
| Review | reviewed |

The rollout order this post recommends for each team. Observe mode records a rule's decision without enforcing it.

1.  **List what exists.** The [Equipment page](https://oxagen.sh/product/equipment) lists every agent, runtime, MCP server, toolbelt, skill, and steering record the workspace holds, newest change first. Start there, then reconcile it against expense reports to find agents nobody enrolled.[2](https://oxagen.sh/blog/manage-claude-code-codex-and-cursor-in-one-place#user-content-fn-2)
2.  **Enroll each machine.** Run `oxagen agent enroll --all` where agents run. Running it again refreshes every detected agent and keeps each one's identity.[9](https://oxagen.sh/blog/manage-claude-code-codex-and-cursor-in-one-place#user-content-fn-9)
3.  **Write rules in observe mode.** Oxagen records what each rule would decide and lets the call go ahead. A rule that would block the wrong call shows up before it blocks anything.
4.  **Turn the rules on.** Move each rule to enforce once its record looks right. The rule's counts on the [Guardrails page](https://oxagen.sh/product/guardrails) show how often it approved a call and how often it held one.
5.  **Set ceilings.** Give the organization and each workspace an enforced spend ceiling, and give a busy agent a budget of its own.
6.  **Move shared rules into the workspace.** A skill or steering record written once in the workspace loads into every enrolled agent in whatever harness it runs. A change to it goes through a pull request like code.

The Equipment page in its List view with illustrative data: each record's name, type, state, and last update in one row, with agents, runtimes, MCP servers, toolbelts, skills, and steering records side by side.

Agents and their equipment in one list

The sixth step removes the copy-and-drift problem for rules that apply everywhere. A decision recorded once, such as that releases open as drafts, reaches the next Claude Code run, the next Codex run, and the next Cursor run. The companion post on [AGENTS.md and CLAUDE.md for teams](https://oxagen.sh/blog/agents-md-for-teams) covers what belongs in those files, and the post on an [MCP allowlist for Claude Code, Codex, and Cursor](https://oxagen.sh/blog/mcp-allowlist-for-claude-code-codex-and-cursor) covers the servers.

## What one control layer does not replace

Turn on each vendor's admin settings anyway. Claude Code's managed settings, Codex's requirements, and Cursor's enterprise hooks each enforce inside their own agent. Oxagen adds what each vendor's settings leave out: one inventory across agents, one set of rules, one spend report, and one record per run.

A layer beside the agents also misses what never passes through it. A command typed in another terminal, a network call a shell command makes on its own, and Cursor's model calls as they happen all stay outside the record. Oxagen's coverage statement lists each gap.[10](https://oxagen.sh/blog/manage-claude-code-codex-and-cursor-in-one-place#user-content-fn-10)

The [coding agent control plane explainer](https://oxagen.sh/blog/what-is-a-coding-agent-control-plane) covers the pattern behind this post. To see the three agents side by side on real runs, start with the [Oxagen product page](https://oxagen.sh/product).

## References

1.  Stack Exchange (2026). _AI coding agents_. Stack Overflow Developer Survey 2026. [https://survey.stackoverflow.co/2026/ai/data/ai-code-agent](https://survey.stackoverflow.co/2026/ai/data/ai-code-agent) [↩](https://oxagen.sh/blog/manage-claude-code-codex-and-cursor-in-one-place#user-content-fnref-1)
    
2.  Jain, V. (2026). _Claude Code, Codex and Cursor have become part of your software supply chain, without approval_. CIO.com, First Person opinion column. [https://www.cio.com/article/4245820/claude-code-codex-and-cursor-have-become-part-of-your-software-supply-chain-without-approval.html](https://www.cio.com/article/4245820/claude-code-codex-and-cursor-have-become-part-of-your-software-supply-chain-without-approval.html) [↩](https://oxagen.sh/blog/manage-claude-code-codex-and-cursor-in-one-place#user-content-fnref-2) [↩2](https://oxagen.sh/blog/manage-claude-code-codex-and-cursor-in-one-place#user-content-fnref-2-2) [↩3](https://oxagen.sh/blog/manage-claude-code-codex-and-cursor-in-one-place#user-content-fnref-2-3)
    
3.  AGENTS.md (2026). _AGENTS.md: a simple, open format for guiding coding agents_. [https://agents.md/](https://agents.md/) [↩](https://oxagen.sh/blog/manage-claude-code-codex-and-cursor-in-one-place#user-content-fnref-3)
    
4.  Anthropic (2026). _How Claude remembers your project_. Claude Code docs. [https://code.claude.com/docs/en/memory](https://code.claude.com/docs/en/memory) [↩](https://oxagen.sh/blog/manage-claude-code-codex-and-cursor-in-one-place#user-content-fnref-4)
    
5.  Anthropic (2026). _Deploy managed settings_. Claude Code docs. [https://code.claude.com/docs/en/managed-settings](https://code.claude.com/docs/en/managed-settings) [↩](https://oxagen.sh/blog/manage-claude-code-codex-and-cursor-in-one-place#user-content-fnref-5) [↩2](https://oxagen.sh/blog/manage-claude-code-codex-and-cursor-in-one-place#user-content-fnref-5-2)
    
6.  OpenAI (2026). _Managed configuration_. Codex enterprise docs, ChatGPT Learn. [https://learn.chatgpt.com/docs/enterprise/managed-configuration](https://learn.chatgpt.com/docs/enterprise/managed-configuration) [↩](https://oxagen.sh/blog/manage-claude-code-codex-and-cursor-in-one-place#user-content-fnref-6) [↩2](https://oxagen.sh/blog/manage-claude-code-codex-and-cursor-in-one-place#user-content-fnref-6-2)
    
7.  Cursor (2026). _Agents Window hooks_. Cursor documentation, served at docs.grok.com. [https://cursor.com/docs/agent/hooks](https://cursor.com/docs/agent/hooks) [↩](https://oxagen.sh/blog/manage-claude-code-codex-and-cursor-in-one-place#user-content-fnref-7)
    
8.  OpenAI (2026). _Governance_. Codex enterprise docs, ChatGPT Learn. [https://learn.chatgpt.com/docs/enterprise/governance](https://learn.chatgpt.com/docs/enterprise/governance) [↩](https://oxagen.sh/blog/manage-claude-code-codex-and-cursor-in-one-place#user-content-fnref-8)
    
9.  Oxagen (2026). _Wrap an agent_. Oxagen docs. [https://docs.oxagen.sh/docs/cli/wrap-an-agent](https://docs.oxagen.sh/docs/cli/wrap-an-agent) [↩](https://oxagen.sh/blog/manage-claude-code-codex-and-cursor-in-one-place#user-content-fnref-9) [↩2](https://oxagen.sh/blog/manage-claude-code-codex-and-cursor-in-one-place#user-content-fnref-9-2) [↩3](https://oxagen.sh/blog/manage-claude-code-codex-and-cursor-in-one-place#user-content-fnref-9-3)
    
10.  Oxagen (2026). _Coverage statement_. Oxagen docs. [https://docs.oxagen.sh/docs/security/record-coverage](https://docs.oxagen.sh/docs/security/record-coverage) [↩](https://oxagen.sh/blog/manage-claude-code-codex-and-cursor-in-one-place#user-content-fnref-10) [↩2](https://oxagen.sh/blog/manage-claude-code-codex-and-cursor-in-one-place#user-content-fnref-10-2) [↩3](https://oxagen.sh/blog/manage-claude-code-codex-and-cursor-in-one-place#user-content-fnref-10-3)
