Get the newsletter
OpenAI · AI / ML · Filed Sep 12, 2025 · USPTO published Dec 3, 2026 · This week's release

OpenAI Patents a Way to Show Coding AI What a Programmer Would See

AI coding assistants don't see a command window the way you do. They get a raw stream of characters, backspaces and all. OpenAI's patent filing turns that mess into a clean snapshot the AI can read.

A computer screen displaying software errors that an AI reviews just like a human programmer to fix mistakes. Drawing from patent filing US 2026/0386775 A1.
A computer screen displaying software errors that an AI reviews just like a human programmer to fix mistakes.All 12 drawings ↓
Publication number
US 2026/0386775 A1(US20260386775A1)
USPTO patent title:
Input and Output of Isolated Automated Software Development Environment with Generative Response Engine
Applicant
OpenAI OpCo, LLC
Filed · Published
Sep 12, 2025 · Dec 3, 2026
Inventors
Andrey Mishchenko, Thibault Sottiaux
Status when we published
Waiting for an examiner
Document
20 claims
US classification
717/106
Parent application
Claims priority from a provisional application 63806537 (filed May 15, 2025)

What OpenAI's coding-AI screen snapshot does

Imagine watching a progress bar fill up on your screen, then trying to describe it over the phone by reading out every character that was drawn and erased along the way. That is the mess an AI coding assistant faces today. The terminal, the plain text window where programmers type commands, shows a tidy picture to a human. The AI gets a raw stream of text full of hidden codes and half-finished lines.

OpenAI's patent filing fixes that by adding a go-between. After the AI types a command, the system waits a moment, takes a snapshot of what the screen would look like to a person at that instant, and hands that clean picture back. The AI reads it, decides what to type next, and the loop repeats.

The filing also covers how the AI can tell a command is still running, so it waits instead of barging ahead. It also describes numbering chunks of screen text so the AI can point back to earlier steps.

From the filing · CLAIM 1
… rendering a terminal emulator state of a terminal emulator at a discrete time based on the data, wherein the data illustrates input and output of the container over a duration of time …

Translation: It takes a snapshot of what happened in the terminal over time so the AI can see the results.

How OpenAI's terminal snapshot gets built

The claimed method begins when an AI model sends a first instruction to a container (a sealed, self-contained computer environment) as part of an agentic software development task (a coding job the AI carries out step by step on its own). The system collects data from the container's terminal interface (the text window for commands and results) over a stretch of time.

It then renders a terminal emulator state, a picture of the terminal at one discrete moment, and sends it to the AI, which returns a second instruction. The snapshot can take several forms:

  • Fixed region: a frozen view of the screen at one instant, like a screenshot made of text.
  • Chunks with line numbers: grouped lines, some repeated across chunks, so the AI can point back to earlier steps.
  • Cleaned-up content: hidden control characters (like the one that erases a line so a progress bar can redraw) are applied and removed.

Collecting data is asynchronous (it runs on its own clock without freezing anything else), triggered by the AI, a fixed timer, or a dynamic timer. If the container is still busy with the last instruction, the AI waits for more data before acting.

In the description's example, the AI runs a unit test, sees it fail in the snapshot, and fixes its code.

From the filing · THE ABSTRACT
obtain data from a terminal interface of a container after an AI model has provided a first instruction to the container …

Translation: The system grabs what the computer screen shows right after the AI runs a command.

Why this could matter for coding agents like Codex

If you use or build with an AI coding helper, this is about whether it reads its own results correctly. A model fed raw output can get confused by hidden codes and half-finished lines, and the filing says that leads to unpredictable responses. A clean snapshot gives it a clearer view of whether a command is still running or a test just failed.

The idea could fit Codex, OpenAI's coding agent, which can now run in the cloud away from your laptop. The description also says a developer could audit the sequence of commands the AI ran, which is useful when you are trusting software to work unsupervised. A patent application is not proof any of this ships.

OpenAI's 11th filing we've tracked since July in AI agents that act for you adds to a pattern that includes one that loops through tools and one coding in your own environment.

Source: US 2026/0386775 A1 at the USPTO (PDF). Full patent text and figures are in the official publication.

Get our take in your Top Stories

Liked this breakdown? Add Patentlyze as a preferred source on Google, and our plain-English take shows up more often in your Top Stories the next time OpenAI patent news breaks.

There are more where this came from

We read the new patents from Big Tech, carmakers and more and send you the ones worth knowing. Plain English, free, every week.

The drawings · 12 sheets

12 drawing sheets from US 2026/0386775 A1 · click any drawing to enlarge

Main parts of the coding assistant service, drawing sheet 1 from US 2026/0386775 A1
Sheet 1 Main parts of the coding assistant service
Connecting the AI model to isolated coding workspaces, drawing sheet 2 from US 2026/0386775 A1
Sheet 2 Connecting the AI model to isolated coding workspaces
How keystrokes and screen updates flow to the AI, drawing sheet 3 from US 2026/0386775 A1
Sheet 3 How keystrokes and screen updates flow to the AI
Steps for capturing command line results for the AI, drawing sheet 4 from US 2026/0386775 A1
Sheet 4 Steps for capturing command line results for the AI
Numbered lines showing test errors to the AI, drawing sheet 5 from US 2026/0386775 A1
Sheet 5 Numbered lines showing test errors to the AI
A raw text stream showing build progress updates, drawing sheet 6 from US 2026/0386775 A1
Sheet 6 A raw text stream showing build progress updates
Exchanging commands and screen views over time, drawing sheet 7 from US 2026/0386775 A1
Sheet 7 Exchanging commands and screen views over time
Guiding automated coding using simulated screen views, drawing sheet 8 from US 2026/0386775 A1
Sheet 8 Guiding automated coding using simulated screen views
Show the other 4 sheets
How the system trains and improves the coding AI, drawing sheet 9 from US 2026/0386775 A1
Sheet 9 How the system trains and improves the coding AI
Inside the AI that translates prompts into code, drawing sheet 10 from US 2026/0386775 A1
Sheet 10 Inside the AI that translates prompts into code
Detailed calculation steps the AI uses to process text, drawing sheet 11 from US 2026/0386775 A1
Sheet 11 Detailed calculation steps the AI uses to process text
Computer hardware parts that power the coding assistant, drawing sheet 12 from US 2026/0386775 A1
Sheet 12 Computer hardware parts that power the coding assistant
Patent filing page

More in AI assistant & agent

All 491 AI assistant & agent patents →

Watchlists this filing belongs to

All watchlists →
Reader comments

No comments yet

Start the discussion

Real name or a handle, either is fine. Comments are read by a person before they appear, so allow a little time. Keep it about the filing.