---
title: "Building self-improving tax agents with Codex"
description: "Thrive Holdings and OpenAI built Tax AI for Crete's accounting firms."
url: "https://swe.quest/articles/building-self-improving-tax-agents-with-codex-a8aaa617e7e9cdeb"
canonical: "https://openai.com/index/building-self-improving-tax-agents-with-codex"
source: "OpenAI"
published: "2026-05-27"
difficulty: "medium"
kind: "Case study"
reading_minutes: 11
tags: ["ai-agents","evals","ai-coding","llms"]
---

# Building self-improving tax agents with Codex

A post on [OpenAI](https://swe.quest/sources/openai.md), published 2026-05-27, 11 min read, Case study. Original: [https://openai.com/index/building-self-improving-tax-agents-with-codex](https://openai.com/index/building-self-improving-tax-agents-with-codex)

## Summary

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.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [AI agents](https://swe.quest/tags/ai-agents.md) (AI & ML)
- [Evaluation](https://swe.quest/tags/evals.md) (AI & ML)
- [AI for coding](https://swe.quest/tags/ai-coding.md) (AI & ML)
- [LLMs](https://swe.quest/tags/llms.md) (AI & ML)

## Prerequisites

- LLM agents ([easy posts on LLMs](https://swe.quest/tags/llms.md?difficulty=easy))
- evaluation suites ([easy posts on Evaluation](https://swe.quest/tags/evals.md?difficulty=easy))

## Keywords

Codex, Tax AI, Thrive Holdings, Crete, AGENTS.md

## Related posts

- [Harness engineering: leveraging Codex in an agent-first world](https://swe.quest/articles/harness-engineering-leveraging-codex-in-an-agent-first-world-2c11ac81997bc6aa.md): OpenAI · 2026-02-11 · Medium · 14 min read · AI for coding, AI agents, Developer productivity, Static analysis, Observability
  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.
- [Four minutes after midnight, Codex said the page was live](https://swe.quest/articles/four-minutes-after-midnight-codex-said-the-page-was-live-25ae19da11733480.md): Render · 2026-08-16 · Medium · 9 min read · AI for coding, AI agents, Code review, Developer productivity
  OpenAI's Dominik Kundel argues that with agentic delegation, code is no longer the bottleneck.
- [Agent-driven development in Copilot Applied Science](https://swe.quest/articles/agent-driven-development-in-copilot-applied-science-57df9b7433878456.md): GitHub Engineering · 2026-03-31 · Medium · 9 min read · AI for coding, AI agents, Developer productivity, Evaluation, Testing
  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.
- [CoderForge-Preview: SOTA open dataset for training efficient coding agents](https://swe.quest/articles/coderforge-preview-sota-open-dataset-for-training-efficient-coding-agents-83e1f3c7a7bdb67a.md): Together AI · 2026-02-25 · Hard · 14 min read · Model training, AI for coding, AI agents, Evaluation, LLMs
  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.
- [Running Codex safely at OpenAI](https://swe.quest/articles/running-codex-safely-at-openai-ba7fb69d40cdeaed.md): OpenAI · 2026-05-08 · Medium · 5 min read · AI agents, Sandboxing & isolation, AI for coding, Configuration management, Observability
  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.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
