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.

- 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.
… 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.
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.
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

No comments yet