techlist.io

Evals

2 posts

OpenAI2026-05-265 min readCurated summary

Building self-improving tax agents with Codex

# Building Self-Improving Tax Agents with Codex Thrive Holdings and OpenAI built Tax AI, a system that prepares 1040 and 1041 tax returns for Crete's network of 30+ accounting firms, and it improves itself from production use. Rather than relying on engineers to find and fix each failure by hand, the system turns practitioner corrections and production traces into structured signals that Codex uses to propose and validate changes. Over one tax season across 7,000 returns, the system became measurably better: the share of returns reaching 75% correct field completion rose from a quarter at launch to 86% within six weeks, and the team sees the approach as a blueprint for self-improving agents in domains where practitioner expertise drives quality. ## The Problem with Manual Iteration Tax preparation is a real bottleneck. Practitioners prepare tens of thousands of returns each season, and data entry alone can take eight hours for a medium- to large-complexity filing. Early versions of Tax AI handled simple W-2s and 1099s, but harder work such as K-1s, rental real estate schedules, and multi-source reconciliation exposed a deeper issue. Practitioners could correct errors, but the product did not record why a value changed. A correction might reflect a true extraction miss, a mapping gap, missing product support, or ordinary workflow noise. Engineers had to follow up on each case, and the team lacked the signal needed to know which problem to tackle next. ## A Three-Part Improvement Loop The team built the system around three pillars: - **Stay close to practitioners.** The people doing the work decide which errors matter and which parts of the workflow deserve attention next. - **Make production generate evidence.** The product records the full path from source documents, to extracted fields and their provenance, to downstream submission and expert correction. - **Run a Codex-driven improvement loop.** Once failures are structured, they become findings, targeted evals, and scoped engineering tasks that Codex can investigate, fix, and validate against regression suites. ## From Correction to Eval: The Rental Property Example Rental income on Schedule E is hard to extract reliably because the source material is messy: handwritten notes, emails, spreadsheets, and prior-year files. The system must extract only fields it can map confidently into the tax engine, and keep enough citation evidence for a practitioner to approve or correct the result. - **Capture the difference.** Predicted output is compared with the filed return, producing field-level review rows that record the expected value, the predicted value, and whether the gap is actionable. Some differences are not model errors at all, such as a practitioner preference or a value carried forward from the prior-year return. - **Group related failures.** Similar rows are clustered to separate recurring product failures from expected noise. Repeated corrections revealed that the system often missed "fair rental days," mishandled "other expenses," and confused multiple properties within one source package. - **Turn patterns into eval targets.** Once reviewed and measured, these clusters become targeted eval sets with representative source packages and expected outputs. ## Codex as the Engineering Engine With the "fair rental days" failure packaged as an eval, Codex investigates within the product scaffold rather than reacting to a bad final output alone. It inspects the production trace, eval set, repository, and skills together, and it can determine whether the root cause is an unsupported field, a missed extraction pattern, a source-selection problem, a mapper gap, or a flawed grader. - Codex makes targeted changes, such as extending the extraction schema, improving source selection, updating the tax-engine mapper, or refining the grader so that expected noise is not counted as failure. - It reruns the targeted eval, runs broader regression suites, and surfaces a candidate pull request for engineering review. - Ambiguous cases, or cases that cannot be safely automated, route back to the product team rather than being forced through the loop. The task environment separates a writable worktree, which holds the scoped product code, evals, and skills, from read-only production context, which holds traces, source documents, predictions, finalized returns, and tax-engine documentation. Codex can investigate failures without modifying the underlying evidence. ## Reusing the Pattern Rental properties took about six weeks and significant engineering oversight to reach 90% precision and recall, but the work produced reusable abstractions, eval conventions, and review artifacts that made similar schedules, such as Schedule C and Schedule A, faster to support. Because Thrive Holdings is both owner and operator, its engineers work directly with practitioners and production data, which lets the team replicate this environment in other domains. The same three-part design is now being applied to bookkeeping, audit, and IT help desk workflows. The broader takeaway is that practitioners generate high-value feedback as they deliver the service, the product preserves that feedback as structured evidence, and eval-backed engineering validates improvements before they ship. In one example, a senior accountant who spent 180 hours on tax prep last year spent only 15 this year, using the time saved to give clients more personal, high-touch service and to take on new work.

OpenAI2025-11-184 min readCurated summary

How evals drive the next chapter in AI for businesses

# How Evals Turn Business Goals into Reliable AI Results OpenAI argues that many organizations struggle to get the results they expect from AI because they never define what "good" looks like for their specific context. Evals, which are methods for measuring and improving how well an AI system meets expectations, make fuzzy business goals explicit and measurable. The post offers a cross-functional, three-step framework (Specify, Measure, Improve) for building contextual evals, and concludes that clear definitions of success are a core management skill in the AI era. ## Why Frontier Evals Aren't Enough - OpenAI uses frontier evals to measure model performance across domains, but these cannot capture the nuances of a specific workflow in a specific business setting. - Internal teams have therefore built dozens of contextual evals tied to particular products or internal workflows. - Contextual evals are still an emerging practice without settled processes, so the post presents a broad framework rather than a fixed method. ## Specify: Define What "Great" Means - Start with a small, empowered team mixing technical and domain experts. For example, a team building an inbound email assistant should include sales experts. - Write the system's purpose in plain terms, map the end-to-end workflow, and identify each key decision point. - For each step, define what success looks like and what to avoid. This produces a "golden set" of example inputs paired with desired outputs, serving as a living reference for expert judgment. - Avoid trying to solve everything at once. Reviewing 50 to 100 outputs from an early prototype reveals failure modes, and this error analysis yields a taxonomy of error types and their frequencies. - Defining success is cross-functional. Technical teams should not judge business outcomes alone, so domain experts, technical leads, and other stakeholders should share ownership. ## Measure: Test Against Real-World Conditions - Build a dedicated test environment that mirrors production conditions, not just a demo or prompt playground. - Use rubrics for concreteness, but beware of over-weighting superficial criteria at the expense of core goals. Some qualities are hard to measure, so teams may need traditional business metrics or new custom ones. - Include rare but costly edge cases in the test set. - LLM graders can scale evaluation by grading outputs as an expert would, but human experts must regularly audit their accuracy and review system logs directly. - Evals continue after launch. Monitor real outputs on real inputs, and build end-user feedback into the eval. ## Improve: Learn from Errors - Fixes can include refining prompts, adjusting data access, or updating the eval itself. - Add newly discovered error types to the error analysis. Each iteration surfaces new edge cases. - Build a data flywheel: log inputs, outputs, and outcomes; sample logs on a schedule; and route ambiguous or costly cases to expert review. Feed expert judgments back into the eval and into prompts, tools, or models. - Over time, this produces a large, context-specific dataset that is hard for competitors to replicate. - Evals must be maintained continuously as models, data, and business goals change. They complement, rather than replace, A/B tests and product experimentation. ## What Evals Mean for Business Leaders - Evals extend the tradition of measuring what matters (OKRs, KPIs) into the AI era. - Working with probabilistic systems requires deciding when precision is essential, when flexibility is acceptable, and how to balance speed against reliability. - Well-executed evals become a durable differentiator and build institutional know-how. - The post's central lesson is that management skills are AI skills: clear goals, direct feedback, and sound judgment matter more than ever. Practically, the post recommends identifying the problem to solve, naming a domain expert, assembling a small team, and starting to experiment. In its words: "Don't hope for 'great.' Specify it, measure it, and improve toward it."