Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

OpenAI 11 min read Case study mediumAdept

Building self-improving tax agents with Codex

Thrive Holdings and OpenAI built Tax AI for Crete's accounting firms. Its improvement loop turns practitioner corrections into structured production traces, groups recurring field-level failures into targeted eval sets, and hands them to Codex as bounded engineering tasks with a writable worktree, read-only production context, and regression gates. Across a 7,000-return pilot, the share of returns reaching 75% correct field completion rose from about a quarter at launch to 86% within six weeks. A Schedule E rental-property example shows the full flow, and the abstractions it produced sped up support for Schedules C and A. Ambiguous cases are routed back to engineers, who still own architecture and shipping.

Related posts

  • Harness engineering: leveraging Codex in an agent-first world

    OpenAI mediumAdept

    A small OpenAI team built and shipped an internal product of roughly a million lines over five months with zero manually written code, merging about 1,500 Codex-authored PRs at around 3.5 PRs per engineer per day, an estimated 10x faster than writing it by hand. The engineers' job shifted to building the environment agents work in. Each git worktree boots its own app instance, the Chrome DevTools Protocol lets agents drive the UI, and a per-worktree ephemeral observability stack can be queried with LogQL, PromQL and TraceQL. A short AGENTS.md acts as a map into a structured, CI-validated docs/ directory instead of one giant instruction file. A rigid layered domain architecture is enforced by custom linters whose error messages carry remediation instructions for the agent.

  • Four minutes after midnight, Codex said the page was live

    Render mediumAdept

    OpenAI's Dominik Kundel argues that with agentic delegation, code is no longer the bottleneck. What matters is the harness around the agent: context, validation and verification. Codex reaches context through plugins (Slack, Notion, Drive, Linear), Memories and Chronicle. It validates its own work with fast tests, linters like Vale for docs, parallel app copies, CDP debugging and deployment-watching plugins. Changes get verified by a separate Codex review session tuned via AGENTS.md to flag only P0/P1 issues, plus deploy previews or videos. Recurring feedback should become skills, lint rules or tests rather than repeated corrections, illustrated by Codex shepherding a midnight docs deploy end to end.

  • Agent-driven development in Copilot Applied Science

    GitHub Engineering mediumAdept

    A Copilot Applied Science researcher built eval-agents, a set of Copilot SDK-based agents that automate analysis of coding-agent trajectories from benchmarks like TerminalBench2 and SWEBench-Pro, and developed it primarily through coding agents. Three principles made this work: conversational, verbose prompting in plan mode; continuous refactoring, documentation and dead-code cleanup so the repo is easy for agents to navigate; and a "blame process, not agents" approach backed by strict typing, linters, and human-only contract tests that prevent agents from rewriting regression tests. With this setup five contributors added 11 agents and four skills in under three days, using a loop of /plan, /autopilot, automated Copilot Code Review iterations, and human review, plus weekly agent-run audits for missing tests, duplication and doc gaps.

  • CoderForge-Preview: SOTA open dataset for training efficient coding agents

    Together AI hardMaster

    CoderForge-Preview is an open dataset of 258K test-verified coding agent trajectories (155K passing) covering 51K tasks across 1,655 repositories from R2E-Gym, SWE-Smith and SWE-Rebench. The trajectories were generated with Qwen3-Coder-480B in OpenHands Docker environments, filtered by rejection sampling and permissive-license audits, and cost about $130K to produce at a ~90% prompt cache hit rate. Fine-tuning Qwen3-32B on the passing trajectories, using Ulysses sequence parallelism, multipacking and token-level loss normalization at 128K context, reaches 59.4% pass@1 on SWE-Bench Verified, and a 4B model reaches 43.0%. Ablations show a repetition penalty helps only early checkpoints, so later checkpoints should be run without one.

  • Running Codex safely at OpenAI

    OpenAI mediumAdept

    OpenAI runs Codex internally inside a bounded environment. A sandbox limits where it can write and whether it can reach the network, approval policies make higher-risk actions stop for review, and an auto-review subagent approves routine low-risk requests so users are not constantly interrupted. Admin-enforced requirements files cover network allow/deny lists through a proxy, Starlark prefix rules for shell commands, and OS-keyring credential storage pinned to an enterprise ChatGPT workspace. OpenTelemetry export of prompts, approval decisions, tool results and proxy events feeds a SIEM and an AI security triage agent that explains why the agent did something, not just what happened.

The quest for software engineering knowledge.

Look:
Layout: