NewsCast Answers
Breaking News
#AIExplained

OpenAI uses AI agents to maintain ChatGPT speed

6 min read6 minLeah Morgan
OpenAI uses AI agents to maintain ChatGPT speed

OpenAI uses an internal autonomous system called the Performance Factory to maintain the speed and efficiency of ChatGPT. By using Codex coding agents to automate technical investigations, the company handles performance issues that would otherwise require constant manual work from human engineers. This system began managing these automated workflows to prevent software slowdowns from affecting users.

  • The system completed over 1,700 investigations in just over three months, according to VentureBeat.
  • OpenAI's agents identified the specific root causes for more than 600 cases during this period, as reported by CryptoBriefing.
  • The automated process averages 17 investigations every single day, according to Blockchain.news.

What is the Performance Factory?

The Performance Factory is an internal software optimization system that uses Codex to hunt down performance regressions. A performance regression is a change in code that makes a service slower or less reliable than it was previously. Instead of engineers manually digging through logs, the system uses AI agents to find and propose solutions to these problems.

The system functions through a task-based architecture. This means every performance alert becomes a specific task that moves through a predefined workflow. These workflows include investigation, finding the root cause, proposing a code fix, and verifying that the fix actually worked. This allows the company to manage a massive volume of technical alerts without overwhelming its staff.

OpenAI uses a specialized skill called perf-forensics to help the agents. This skill allows the AI to trace metrics and logs just as a human engineer would. By using these automated skills, the company can scale its ability to monitor the health of its most popular products.

How does the system work?

The architecture relies on four specific components to coordinate work between humans and AI. First, a task service stores the progress of every investigation and maintains records of what has been found. Second, a dispatch loop periodically checks these tasks and starts a new Codex session when an agent is ready to work.

The third component is an internal API that allows Codex to run in the cloud. This allows the agents to access code repositories and observability infrastructure, which is the data used to monitor how software is performing. Finally, a subscription mechanism connects the tasks to external events. For example, if an agent needs a human to review a code change on GitHub, the task will pause until that feedback arrives.

The system organizes information so that different agents can work on the same problem at different times. Instead of passing massive files of data, agents record high-level findings and specific queries. This keeps the information manageable while ensuring the next agent in the chain can still verify the evidence.

Why does OpenAI need AI to fix its own software?

Manual performance reviews have become a bottleneck for the company. As AI agents take on more of the burden of writing code, the sheer volume of changes makes it difficult for humans to inspect every single update. When a service slows down, engineers traditionally have to inspect metrics and trace requests across many different services to find the culprit.

The Performance Factory helps solve this by handling the "least glamorous" parts of engineering. According to CryptoBriefing, the system allows agents to handle the tedious forensics so that humans can focus on making the final decisions. This creates a division of labor where the AI does the heavy lifting of investigation while humans retain control over deployment.

This approach also acts as a continuous stress test. Every time the system investigates a problem, it tests how well the Codex model performs in a real-world, demanding environment. This helps OpenAI improve its underlying technology while simultaneously protecting its user experience.

How accurate are the AI's findings?

The system is not perfect and includes safety measures to catch errors. In a manual review of 100 cases, the root cause proposals made by the agents were found to be accurate 70% of the time. Because of this margin of error, the system is designed to verify diagnoses using separate sessions.

To ensure quality, OpenAI uses an adversarial peer review process. This means a separate Codex session is used to challenge the findings of the first agent. CryptoBriefing reported that approximately 25% of the diagnoses produced by the agents are challenged through this review process.

The data also shows that the AI is primarily an assistant rather than a replacement for engineers. While the system identified over 400 potential fixes, only 15 of those were exact pull requests written entirely by the machine. Most of the time, the AI's output serves to influence or point human engineers in the right direction.

Who is affected by this technology?

The primary beneficiaries are the engineers at OpenAI and the millions of people using their services. For engineering teams, the system reduces the expertise and time required to conduct complex investigations. It allows them to manage a workload that would otherwise be impossible to handle manually. A human team would struggle to keep up with 17 investigations every day, especially when many alerts turn out to be nothing.

For the end users, the impact is felt through increased stability. By catching and fixing regressions quickly, the system helps prevent the sudden slowdowns that can ruin a user experience. The goal is to maintain high performance even as the underlying models and codebases grow more complex.

The company is also looking toward the future of automation. While humans currently handle all reviews and deployments, OpenAI is considering a future where low-risk changes could be shipped without human intervention. This would represent a major shift in how software is maintained across the entire industry.

What can you expect next?

The Performance Factory is currently in an evolutionary stage. It has moved from simple manual debugging to a structured, task-based architecture. The next step involves refining the accuracy of the agents and potentially expanding the types of tasks they can handle autonomously.

The company is focused on moving from agents that solve single tasks to agents that can build entire automated workflows. This means the AI will not just find a bug, but will coordinate between different specialized agents to see a problem through to complete resolution. This evolution will likely continue to rely on the balance of AI speed and human judgment.

Frequently Asked Questions

Does the Performance Factory replace human engineers?
No, human engineers still provide the final approval for all code changes and deployments. The system is designed to accelerate human work by handling the initial investigation and diagnosis.

Can the AI fix bugs by itself?
The AI can propose fixes and even write some code, but humans currently review and implement the most important changes. Only a small fraction of the fixes are currently deployed as pure, machine-authored code.

What happens if the AI makes a mistake?
OpenAI uses an adversarial review process where a second AI session checks the first one's work. This helps catch incorrect diagnoses before they reach a human engineer.

SEO Meta Description: OpenAI's Performance Factory uses Codex AI agents to automatically investigate and fix performance issues to keep ChatGPT fast and reliable for users.

URL Slug: openai-performance-factory-chatgpt-speed

Sources

  1. 1.venturebeat.comExclusive: OpenAI reveals Performance Factory, a Codex-powered software optimization system that keeps ChatGPT fast
  2. 2.note.comProfessor Pugzo's 'Performance Factory': How ChatGPT Stays Fast with Codex Automatically Fixing Performance Degradation
  3. 3.cryptobriefing.comOpenAI’s Performance Factory uses Codex agents with adversarial peer review
  4. 4.blockchain.newsOpenAI's Performance Factory Automates ChatGPT Optimization

Read more →

AD

728×90

TAC

Advertisement

Learn more

//Related Articles_