Agents & Automation

Codex Goal Mode is now generally available, and Appshots brings live app context to your threads

OpenAI ships Goal Mode GA across Codex app, IDE, and CLI, plus Appshots for macOS to capture any window as instant thread context.

agents automation category

OpenAI shipped two meaningful Codex updates on May 21, 2026. Goal Mode has graduated from experimental to generally available across the Codex app, VS Code and JetBrains IDE extensions, and the CLI. At the same time, Appshots arrived in the macOS Codex app, letting you attach any open window to a thread with a keyboard shortcut. The two features solve different problems, but together they move Codex closer to something that runs alongside your actual work rather than sitting in a separate tab you have to manually feed information.

Goal Mode: Codex keeps working, you check back in later

The basic idea behind Goal Mode is that you give Codex an objective rather than a single instruction, and it keeps working toward that objective across multiple turns until it hits a stopping condition, pauses, or needs your input.

You trigger it with /goal in the Codex app composer, or via the same flag in the CLI (version 0.128.0 or later). If the command doesn’t appear in your slash menu, you can enable it by setting features.goals in your config.toml. Once active, the goal sits above the composer and you can pause, resume, or edit it at any time. You can also keep sending follow-up messages while it runs, so it’s not a black box.

A good goal for this mode sits somewhere between a single prompt and a sprawling backlog item. OpenAI’s own guidance is to define what Codex should achieve, what it should leave alone, how it should validate its progress, and when it should stop. That framing is useful: if you can’t describe the stopping condition, the goal probably needs more scoping before you hand it off.

The use cases that fit naturally here are things like a package migration with a clear test suite to pass, a refactor with defined scope, overnight performance profiling with a patch target, or a test coverage threshold you want to reach before a release. Codex will loop through plan, act, test, review, and iterate until the condition is met. You can leave it running and come back.

What this means for you: Goal Mode going GA is OpenAI removing the “experimental” caveat. That matters for anyone using Codex in a professional context, because it sets a bar. If your team is evaluating autonomous coding agents, the GA status means you can reasonably hold OpenAI to a reliability and consistency standard you couldn’t before. The flip side is worth flagging: multi-hour autonomous loops can produce large, hard-to-audit diffs. Engineering teams using Goal Mode in shared codebases will want to think carefully about review gates before those changes land anywhere near production.

Appshots: your Mac screen becomes instant context

Appshots solve a specific friction point that anyone who has used a coding assistant alongside other work will recognise. You’re looking at an error in your terminal, or an API spec in a browser tab, or a design note in Notion, and to get help from Codex you have to either copy everything manually or write a long descriptive prompt explaining what you’re looking at. Appshots remove that step.

Press both Command keys (or a custom hotkey you configure) and Codex captures the frontmost window on your Mac. Crucially, it captures more than a screenshot. It also reads the structured text that macOS exposes through the Accessibility API, which means it can pull in content that’s off-screen and outside the visible scroll area. You’re not limited to what fits in the frame.

After the capture, the appshot behaves like any other attachment in a Codex thread. If you’ve interacted with a thread in the last 60 seconds, the appshot goes into that conversation automatically. Otherwise it opens a new thread.

Two macOS permissions are required for this to work: Screen and System Audio Recording (for the image capture) and Accessibility (for the text extraction). Both need to be granted in System Settings before the feature will function.

A few practical limits to know: Appshots are macOS-only for now, with no Windows or Linux equivalent announced. For Google Docs, Sheets, Gmail, and Slides, you may only get the visible screenshot rather than the full document text; the matching Google Workspace plugin is the path to full access in those apps. Appshots also land in build 26.519 of the Codex app, so if you’re not seeing the feature, check your app version first.

What this means for you: The value is in the reduction of friction, not in any single dramatic capability. If you’re a developer who regularly switches between tools, the ability to fire off context with a hotkey rather than constructing a description prompt will add up quickly over a day. The accessibility and screen recording permissions required may raise questions in enterprise environments with strict data handling policies. OpenAI has not published explicit guidance on whether window captures are stored beyond the session or used for model training, and that’s worth clarifying with your security team before rolling this out widely.

A quick note on what else shipped alongside these two features

The same release also included Locked Computer Use (keeps Codex working on macOS Computer Use tasks after the machine locks, with safeguards including short-lived authorisation and automatic relock on local input) and some Business-tier additions including plugin sharing within a workspace and a Codex analytics view in the admin console.

Those are worth noting if you’re on a Business plan, but the two features with the broadest relevance to individual developers are Goal Mode GA and Appshots.

The model underneath

OpenAI’s recommended model for Codex tasks right now is gpt-5.5, which is positioned as the current frontier option for complex coding, multi-step planning, and tool use. That’s the model you’ll want running under Goal Mode for anything non-trivial.


Both features are available now for ChatGPT Plus, Pro, Business, Edu, and Enterprise subscribers. Appshots for Enterprise accounts is listed as coming soon; Edu accounts have access today. The Codex developer changelog and the Goal Mode use case docs have the full technical details if you want to go deeper.