OpenAI Automates Performance Diagnostics With New AI Factory

In the rapidly evolving landscape of high-scale software, the pressure to maintain peak performance is relentless. Dominic Jainy, an IT professional with deep expertise in artificial intelligence and machine learning, has spent his career at the intersection of complex system architecture and automated intelligence. Today, the challenge isn’t just writing code—it’s managing the massive telemetry and performance regressions that emerge when AI agents begin writing code at a pace humans can no longer manually audit. The “Performance Factory” represents a paradigm shift in this space, moving from reactive, manual troubleshooting to a sophisticated, agent-driven assembly line that identifies and fixes bottlenecks before they impact the end user. This interview explores the mechanics of this internal system, the nuances of “adversarial review” in AI workflows, and the future of self-optimizing software.

The following discussion centers on the transformation of performance engineering through task-based architectures and specialized AI skills. We explore how automating 1,700 investigations in just three months has redefined the role of the human engineer, moving them from the grueling front lines of log-searching to a more strategic, judicial role. We also delve into the technical hurdles of automated remediation, specifically why diagnosing a problem is significantly easier for an agent than authoring a perfect, production-ready fix. Finally, the conversation highlights the critical lessons for enterprise teams looking to avoid “AI fatigue” and the transition from responding to alerts to proactive, continuous system optimization.

Automating over 1,700 investigations in just three months represents a massive shift in how we handle system health; how has this volume of automated scrutiny changed the day-to-day rhythm of the engineering team?

The shift has been nothing short of transformative for the engineering team’s collective sanity and focus. Before we reached this level of automation, the rhythm of work was often dictated by the “fire of the day,” where senior engineers would spend hours staring at dashboards, manually tracing requests across a tangled web of services. By offloading over 1,700 investigations to the Performance Factory—averaging about 17 automated sessions every single day—we have effectively reclaimed thousands of hours that would have been spent on repetitive triage. It’s no longer about the white-knuckle stress of finding the “needle in the haystack” during a live slowdown; instead, the team arrives each morning to a prioritized list of findings where the heavy lifting of log analysis and metric correlation is already done. This allows our human experts to reserve their mental energy for high-level judgment calls and architectural decisions that truly require a human touch. There is a palpable sense of relief when you realize the system identified the root cause of 600 cases without a single person having to manually grep a log file at three in the morning.

Transitioning from manual debugging to using the perf-forensics skill seems like a pivotal moment in this journey; can you describe the process of “bottling” human expertise into a reusable Codex skill?

The development of the perf-forensics skill was born out of the realization that our performance engineers were essentially following a repeatable, albeit complex, script every time an alert fired. We spent years developing more than 30 specialized internal tools for telemetry, and the initial hurdle was that only humans knew exactly when and how to deploy them. By creating perf-forensics, we essentially taught Codex how to navigate our internal observability infrastructure, moving it from a passive assistant to an active investigator. It wasn’t just about providing the AI with access; it was about capturing the intuition of our most seasoned veterans—how they look for the start of a deterioration, which metrics they prioritize, and how they cross-reference traces with code changes. Watching the system evolve from an engineer manually typing questions into a prompt to a cloud-based session that handles the entire diagnostic workflow autonomously was like seeing a digital shadow of our best work finally come to life.

The task-based architecture you’ve implemented treats every regression as a distinct unit of work; why is this independent state management so critical for multi-agent collaboration?

When you are dealing with complex performance regressions, information overload is the primary enemy, and task-based architecture is our primary defense. By ensuring each task maintains its own independent state, including high-level findings and specific metadata like exactly when a regression began, we allow different agents to step in at various stages without losing the thread. We specifically avoid the trap of dumping massive amounts of raw profiling data into the task record, which would quickly overwhelm any agent’s context window and lead to “hallucinations” or confusion. Instead, agents record their queries and key metrics in a free-form field, creating a clean, manageable handoff. This structure means that if one agent identifies a root cause and another is tasked with proposing a fix, the second agent can rerun specific queries to verify the evidence rather than starting from scratch. It’s the difference between a chaotic group chat and a well-organized surgical chart; everyone knows exactly what has been done and what needs to happen next.

OpenAI discovered that agents sometimes settle for the “first plausible explanation” rather than the true root cause; how does the “adversarial review” process specifically correct for this cognitive shortcut?

The adversarial review is perhaps the most intellectually satisfying part of the Performance Factory because it introduces a layer of healthy skepticism into the automated workflow. We found that, much like humans under pressure, an agent might see a spike in image download errors and immediately blame a failing file service, even if that’s only a symptom of a deeper issue. To combat this, we spin up a separate Codex session with a completely fresh context and a single mission: find the gaps in the first agent’s logic. This “devil’s advocate” agent is explicitly instructed to challenge the diagnosis and test alternative explanations, which has proven vital in catching nuanced failures. In one instance, the reviewer noticed that while image requests were still failing, the internal service the first agent blamed had already recovered, forcing the investigation to reopen. Currently, this adversarial layer sends back about 25% of diagnoses for further work, which has drastically improved the accuracy of our final reports and saved us from countless “false fix” deployments.

The data shows that while over 600 investigations reached a root cause, only about 15 exact pull requests were authored by Codex and shipped; what does this gap tell us about the “last mile” of automated software remediation?

This gap is a very honest reflection of how incredibly difficult performance engineering remains, even with world-class AI. It is one thing to identify that a code change is causing redundant serialization—which Codex handles brilliantly—but it is a much more complex beast to propose an architectural change or a caching strategy that doesn’t introduce stale data or new latencies. Out of the 400 cases that progressed to a proposed fix, the 15 that were merged exactly as written represent the “low-hanging fruit” where the fix was contained and the logic was clear. However, we also saw about 50 fixes that were heavily influenced by agent suggestions, meaning the AI did 90% of the work and a human provided the final, surgical touch. This “last mile” is where the nuances of feature intent and system-wide side effects reside, and it’s where we are focusing our evaluation suites now. We aren’t discouraged by the 15 exact PRs; we see it as a baseline that we intend to grow as our models become better at understanding complex architectural dependencies.

In an era where “AI slop” can easily overwhelm human operators, how does the Performance Factory ensure that engineers are getting high-signal insights rather than just more noise?

Avoiding “AI fatigue” was one of the first major design challenges we faced after the system went live, as we quickly realized that a UI overflowing with thousands of investigation logs is just as useless as no logs at all. To solve this, we moved away from showing every raw step of the investigation and instead focused on grouping related incidents and ranking them by their estimated impact on the system. The Performance Factory now generates concise reports that prioritize the most pertinent graphs and metrics, allowing an engineer to understand the “why” and “how” of a regression in seconds rather than minutes. We also treat the agents’ own output as a data source that needs constant monitoring; we actually run a daily agent specifically to audit the logs of other agents to find recurring tool failures or permission bottlenecks. By treating the quality of AI-generated summaries as a first-class citizen in our development process, we ensure that when an engineer finally gets a notification, it’s because there is something truly significant that requires their unique expertise.

You’ve mentioned moving from reactive alerts to “continuous optimization”—what does that look like in a world where agents are proactively hunting for inefficiencies?

The transition to proactive optimization is where the Performance Factory moves from being a specialized tool to an omnipresent layer of our infrastructure. Instead of waiting for a high-priority alert to fire, we are beginning to have agents continuously compare CPU profiles, memory usage, and request traces across every single release. This allows the system to detect “silent” slowdowns—those tiny, incremental latencies that don’t trigger a major alarm but degrade the user experience over time. We are also looking into “service rightsizing,” where agents can look at autoscaling configurations and identify where we are over-provisioned or inefficiently utilizing resources. The goal is to create a self-healing loop where, eventually, low-risk fixes for things like redundant work or inefficient queries can be deployed by agents without human approval. By 2027, we hope to see a system that doesn’t just tell us when something is broken, but constantly reshapes itself to be faster and leaner than any human-managed system could ever be.

What is your forecast for the role of the performance engineer over the next few years as these agentic workflows become standard in the enterprise?

Looking at the 2026-2028 window, I forecast that the performance engineer will evolve from a “diagnostician” into a “workflow architect.” The days of manually tracing logs will be viewed as a relic of a more primitive era, much like we now view manual memory management in high-level languages. Instead, engineers will spend their time designing the evaluation suites and adversarial constraints that govern how these AI agents operate. We will see a shift where the “knowledge” of the organization isn’t just stored in documentation, but is codified into reusable, agentic workflows that can be applied across different services instantly. The primary skill of the future won’t be knowing how to use a debugger, but knowing how to prompt and supervise a fleet of agents to maintain a complex, distributed system at peak efficiency. Ultimately, this will lead to a higher standard of software quality across the industry, as even smaller teams will be able to leverage the kind of sophisticated performance scrutiny that is currently only available to the giants of the tech world.

Explore more

New Zealand Teacher Aides Fight for Pay Equity in Court

The Employment Court in Wellington must now determine if the Ministry of Education still holds a binding obligation to uphold previous agreements despite new restrictive legislation. This high-stakes legal battle centers on the sudden reversal of a landmark pay equity settlement originally established to correct decades of gender-based wage discrimination for approximately 22,000 teacher aides. While the initial 2020 agreement

Mobile Growth and AI Drive Digital Retail in Southeast Asia

The rapid fusion of high-speed mobile connectivity and sophisticated artificial intelligence is currently reshaping the digital retail landscape of Southeast Asia into a global powerhouse. This evolution is spearheaded by the strategic integration of mobile-first architecture and artificial intelligence, which serve as the primary engines for regional growth. As consumers increasingly bypass desktop computing in favor of smartphone-centric lifestyles, the

Can AI Humanize the Insurance Industry With Empathy

A legacy of cold interactions and dense administrative hurdles has long defined the insurance industry, leaving policyholders to navigate their most vulnerable moments against a wall of automated indifference. For decades, the relationship between an insurer and the insured has been characterized by a profound emotional disconnect, where individuals seeking support are met with complex legal jargon and slow, mechanical

How Can AI and CRM Architecture Drive Small Business Growth?

Navigating the complexities of the modern commercial landscape requires more than just grit and a good product because the sheer volume of digital signals generated by every customer interaction can quickly drown an unprepared entrepreneur. In the current market, the difference between a thriving enterprise and a stagnant one often comes down to how effectively a company manages its invisible

Can Recognition Solve Employee Engagement at Credit Unions?

A sincere and heartfelt expression of gratitude carries significant professional weight in a high-pressure lending environment, but it cannot offset the crushing weight of an unmanageable loan queue that grows every hour. While appreciation serves as a vital leadership tool, relying on it as a universal fix for morale risks ignoring the systemic pressures that staff face during the current

Fill out the form below