Product
Industries
Roles
Research
Resources

Research · 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.

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

Developers who used each coding agent in the past year

Coding agentShare of respondents
Claude Code65.5%
OpenAI Codex29.5%
Cursor25.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 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

The instructions sprawl too. Codex and Cursor read AGENTS.md, an open format now used by over 60,000 open-source projects.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 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.

AgentAdmin file on macOSOther deliveryWhat it governs
Claude Code/Library/Application Support/ClaudeCode/managed-settings.jsonServer-managed settings from the claude.ai admin console, or an MDM profileClaude Code sessions on that machine. No user or project setting overrides it.5
Codex/etc/codex/requirements.tomlA cloud config bundle from the ChatGPT admin console, or MDM under com.openai.codexCodex clients. Users cannot weaken the requirements with local configuration.6
Cursor/Library/Application Support/Cursor/hooks.jsonTeam hooks set in Cursor's web dashboard, on Enterprise plansCursor's agent. Enterprise hooks rank above team, project, and user hooks.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 Codex ranks its cloud requirements above the system file, and an MDM payload above both.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 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:

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 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.910

ControlClaude CodeCodexCursor
Record each tool callYesYes. Calls the hook skips are read from the rollout file afterwardYes
A rule allows or denies a tool callYesYes, for calls that fire the hookYes
A rule holds a call for a personClaude Code asks on the developer's machineRefused, with an approval opened in Oxagen. Once a person approves, the agent sends the call again and it runs onceSame as Codex
Record model calls and their cost as they happenYesYesNo. Cursor sends model calls to its own servers
Load the workspace's skills and steeringYesYesYes

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

#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 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 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.
Stagepayments team after the stage
Listlisted
Enrollenrolled
Observeobserved
Enforceenforced
Capcapped
Reviewreviewed
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 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
  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
  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 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 covers what belongs in those files, and the post on an 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

The coding agent control plane explainer covers the pattern behind this post. To see the three agents side by side on real runs, start with the Oxagen product page.

#References

  1. Stack Exchange (2026). AI coding agents. Stack Overflow Developer Survey 2026. https://survey.stackoverflow.co/2026/ai/data/ai-code-agent ↩

  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 ↩ ↩2 ↩3

  3. AGENTS.md (2026). AGENTS.md: a simple, open format for guiding coding agents. https://agents.md/ ↩

  4. Anthropic (2026). How Claude remembers your project. Claude Code docs. https://code.claude.com/docs/en/memory ↩

  5. Anthropic (2026). Deploy managed settings. Claude Code docs. https://code.claude.com/docs/en/managed-settings ↩ ↩2

  6. OpenAI (2026). Managed configuration. Codex enterprise docs, ChatGPT Learn. https://learn.chatgpt.com/docs/enterprise/managed-configuration ↩ ↩2

  7. Cursor (2026). Agents Window hooks. Cursor documentation, served at docs.grok.com. https://cursor.com/docs/agent/hooks ↩

  8. OpenAI (2026). Governance. Codex enterprise docs, ChatGPT Learn. https://learn.chatgpt.com/docs/enterprise/governance ↩

  9. Oxagen (2026). Wrap an agent. Oxagen docs. https://docs.oxagen.sh/docs/cli/wrap-an-agent ↩ ↩2 ↩3

  10. Oxagen (2026). Coverage statement. Oxagen docs. https://docs.oxagen.sh/docs/security/record-coverage ↩ ↩2 ↩3