OpenAIPatent applicationAI & softwareInterest 6/10

OpenAI patents tool that suggests fixes for code errors in generated apps

Patent drawing
Patent drawing from the official filing.

OpenAI has filed a patent for a system that helps fix bugs in applications created by generative AI. When an error occurs, the system sends the error details and specific code lines to the AI engine, which then suggests a fix to the user.

Why it mattersThis could make it easier for non-experts to build and maintain software by automatically suggesting corrections when code fails.

In the filing’s own words

Disclosed are systems, apparatuses, processes, and computer-readable media for assisted debugging using a generative response engine. The present technology relates to an online development environment and debugging with a generative response engine. A method of the present technology includes displaying a user interface at a client device configured to generate a bespoke application with a generative response engine; detecting an application error based on executing the bespoke application, wherein the application error includes a stack trace with line numbers identifying a call order of functions of the bespoke application; providing a debug prompt to a generative response engine that includes information associated with the application error; receiving a response from the generative response engine including a suggestion to resolve the application error; and displaying an interface including the suggestion to resolve the application error.

What exactly they claim (claim 1)

1. A method, comprising: displaying a user interface at a client device configured to generate a bespoke application with a generative response engine; detecting a runtime exception based on executing the bespoke application, wherein the runtime exception includes a stack trace identifying a call order of functions of the bespoke application and one or more line numbers corresponding to code lines of the bespoke application associated with the call order; providing a debug prompt to the generative response engine that includes information associated with the runtime exception, wherein the debug prompt includes a structured input comprising the one or more line numbers, the code lines of the bespoke application corresponding to at least one of the one or more line numbers, and corresponding features identified in the stack trace; receiving a response from the generative response engine including a suggestion to resolve the runtime exception; and displaying an interface including the suggestion to resolve the runtime exception.

Facts

Company
OpenAI (OpenAI OpCo, LLC)
Official title
ASSISTED DEBUGGING WITH GENERATIVE RESPONSE ENGINE
Publication number
US20260349913A1
Application number
19271308
Filed
Jul 16, 2025
Published
Nov 5, 2026
Inventors
4
Claims
20

Classified under

G06F 11/3698 Physics & computingG06F 8/75 Physics & computing

More from OpenAI in AI & software

Summaries are simplified from the filing’s own abstract and first claim. A patent filing is not a product announcement.
Patent data and drawings: U.S. Patent and Trademark Office (USPTO). Nebula is not affiliated with or endorsed by the USPTO.