Skip to content
Agents tracked: 258 Downloads (7d): 219M up 6.1% GitHub stars: 5.5M VS Code installs: 148M Releases (7d): 293 Agent status: 2 with issues Updated Oct 7, 2026
Showcase OpenAI

How an OpenAI team built a product with Codex writing all of the code

A small OpenAI team built an internal beta product starting from an empty repository, with Codex writing the code and humans steering. The post covers how they set up the repository and process for agents.

The problem

The team wanted to find out how far a codebase could go if humans only wrote prompts and reviewed work and never wrote code themselves. That required a repo, docs and checks the agents could navigate reliably.

How they did it

  1. Started from an empty repo and had Codex CLI generate the scaffold, structure and CI configuration.
  2. Gave high-level task prompts; Codex opened PRs and ran agent reviews both locally and in the cloud.
  3. Kept a short AGENTS.md as an entry point and treated a structured docs directory as the system of record.
  4. Enforced architecture rules with custom linters and ran recurring cleanup to manage technical debt.
  5. Escalated to humans only when judgment was needed.

Results

  • As reported by OpenAI: 'roughly 1,500 pull requests have been opened and merged with a small team of just three engineers'.
  • That averaged '3.5 PRs per engineer per day', and the repository grew to 'on the order of a million lines of code'.
  • The team estimates it built the product in 'about 1/10th the time' of writing the code by hand.

As reported by the source (OpenAI engineering blog); AgentGid did not measure these figures.

Takeaway. Treat repo docs, linters and a short agent instructions file as the main interface between your team and the agents.
AgentGid's take

This suits a small team of experienced engineers who can build the scaffolding agents depend on: a structured docs directory, custom linters and CI checks. Expect review and cleanup to take real effort, and the 1,500 PRs and 1/10th-time figures are OpenAI's own reports. Pi (Free, OSS) is a cheaper terminal alternative, though you'd pay your model provider directly.

The agent used here

Similar use cases

Guides