Codex · Integration

Codex integration: workspace usage and cost in Oobeya

Oobeya reads OpenAI Codex usage and cost from a ChatGPT Enterprise workspace and shows them beside pull request, rework, SonarQube, and DORA metrics for the same teams. Blamely adds the lines Codex CLI wrote.

CodexCodexOobeya

Integration available

Messages · Cost · Lines from Codex CLI

Codex in the AI Impact, Cost & Credits, AI Usage, and Team Health screens

AI Impact Overview

How AI-assisted development relates to engineering outcomes

Coding Efficiency67.7%↑ 7.3%

Higher AI adoption coincided with improved coding efficiency.

Coding EfficiencyExplore the trend
Security
A
Maintainability
A
Reliability
C
Technical debt
86d

Example data. Codex cost is on Cost & Credits, the lines attributed by Blamely are on AI Usage, and the team scorecard is in Team Health.

Definition

What is Codex analytics in Oobeya?

Codex analytics in Oobeya is the measurement of how much a ChatGPT Enterprise workspace uses OpenAI Codex and what that use costs. Oobeya sets both against review, rework, quality, and delivery for the same teams. It connects to the workspace with an admin key and the workspace ID.

Codex reports activity as messages. It does not report suggestions, acceptances, suggested lines, or programming languages, so Oobeya has no acceptance rate for Codex. The lines Codex wrote come from Blamely, which supports Codex CLI and records AI or human origin for each line in Git notes.

Connection
ChatGPT Enterprise workspace, admin credentials
Usage unit
Codex messages
Cost data
Yes, on Cost & Credits
Not reported by Codex
Suggestions, acceptances, languages
Line attribution
Blamely, with Codex CLI

Data sources

What Oobeya reads from Codex

Usage and cost come from the ChatGPT workspace. Line-level attribution comes from Blamely. Codex leaves three fields empty, and Oobeya shows which ones.

Usage in the ChatGPT workspace

Oobeya connects to the organization’s ChatGPT Enterprise workspace with administrator credentials. Codex activity is counted in messages and shown for each team and over time on the AI Impact page.

Cost

Codex is one of the three assistants with cost data in Oobeya, together with Claude and GitHub Copilot. Spending appears on the Cost & Credits tab for the same teams and dates as the usage.

What Codex does not report

Codex sends no suggestion or acceptance data, no suggested lines, and no language breakdown. When Codex is selected with other assistants, those metrics come from the others and a note on the page says so. With Codex alone, the language widgets are hidden.

Lines Codex wrote

Blamely supports Codex CLI. It records AI or human origin for each line on the developer’s machine and stores it in Git notes. The AI Usage screen then shows the Codex-attributed lines that reached a commit, which the workspace data cannot show.

Compared with

What Codex usage and cost are compared with

Codex has no acceptance rate, so the comparison starts from cost and from the lines Blamely attributed to Codex. The other side is the review, rework, quality, and delivery data of the same teams.

  • Codex cost per team
  • AI-attributed lines and commits
  • Time to merge and PR size
  • Churn in the team scorecard
  • SonarQube findings
  • DORA tier per metric
Cost against committed code
Codex spending for a team is shown for the same period as the AI-attributed lines and commits that Blamely recorded for that team. Rising cost with a flat count of committed AI lines is visible in one comparison.
Review: the Pull Requests tab
Cycle time, time to merge, pickup and review time, and PR size are measured for each repository. The unreviewed pull requests Symptom is raised when more pull requests than the threshold were merged without a review.
Rework: the team scorecard
The scorecard splits work into new work, refactor, help others, and churn. The recurring high rework rate Symptom is raised when a team’s rework rate stays above the threshold for several periods in a row.
Quality: SonarQube
Quality & Security shows vulnerabilities, bugs, code smells, ratings, technical debt and debt ratio, and unit test coverage from SonarQube. Oobeya reads the scan results and does not scan code itself.
Delivery: DORA tiers
Deployment frequency, lead time for changes, change failure rate, and time to restore are calculated from the pipelines marked as production. Each metric carries a tier: Elite, High, Medium, or Low.

What the Codex data source needs

A workspace administrator of the ChatGPT Enterprise workspace creates the credentials, and an Oobeya administrator adds them as a Codex data source. Usage and cost are then refreshed on a schedule.

Pages for the other assistants

New Oobeya MCP

Oobeya data inside Codex

Codex connects to your Oobeya instance through Oobeya MCP. A user asks “what is the change failure rate of the Checkout team this quarter?” in Codex. The answer comes from Oobeya’s DORA, pull request, sprint, and quality data, with that user’s permissions.

Explore Oobeya MCP

Common questions

Codex analytics questions

Need to discuss your team or technical setup? Contact us.

How does Oobeya connect to Codex?

Oobeya connects to OpenAI Codex through the organization’s ChatGPT Enterprise workspace, with credentials created by a workspace administrator. An Oobeya administrator adds them as a Codex data source, and the setup guide lists the exact values.

Which Codex metrics does Oobeya show?

Oobeya shows Codex activity in messages, by team and over time, and Codex cost. With Blamely it also shows the lines Codex CLI wrote: AI-attributed lines, AI share of new code, and AI percentage per commit.

Does Oobeya show Codex cost?

Yes. Codex is one of the three assistants with cost data in Oobeya, together with Claude and GitHub Copilot. Spending is on the Cost & Credits tab of the AI Impact page.

Why is there no acceptance rate for Codex?

Codex does not report suggestions, acceptances, or suggested lines, so there is nothing to divide. When Codex is selected together with GitHub Copilot, Cursor, or Claude Code, acceptance figures come from those assistants only and a note on the page says so.

Can Oobeya tell which code Codex wrote?

Yes, with Blamely. Blamely supports Codex CLI, records AI or human origin for each line when the code is written, and stores it in Git notes under refs/notes/blamely. Workspace usage and line attribution are two separate data sources.

Can Oobeya run on our own infrastructure with Codex?

Oobeya runs in the cloud, on-premise, or air-gapped. Codex usage and cost are read from OpenAI, so the Oobeya server needs outbound access for that data source. Blamely attribution runs locally and needs no outbound access.

Does more Codex usage mean a productivity gain?

Not by itself. Messages and cost show that Codex is used. Oobeya shows them beside time to merge, churn, SonarQube findings, and DORA metrics for the same teams. Team changes and task mix also move those metrics, so a correlation is a reason to look closer, not proof.

Can Codex query Oobeya data?

Yes. Oobeya MCP connects Codex to your Oobeya instance. Each user signs in with their own Oobeya account, and Codex answers questions about delivery, pull requests, sprints, and quality with that user’s permissions.

See Oobeya in practice

Codex cost and delivery results for your workspace

The demo covers the Codex data source, the Cost & Credits tab, Blamely attribution for Codex CLI, and the pull request, quality, and DORA metrics of the same teams.