How Does Codex Use a Computer? Three Entry Points and Permission Boundaries

marsbitОпубліковано о 2026-06-21Востаннє оновлено о 2026-06-21

Анотація

This article explains the three primary methods for Codex to interact with a computer, each with distinct use cases, permission boundaries, and trust levels. **1. Computer Use:** This offers the broadest access, allowing Codex to visually control and interact with the graphical user interface of authorized macOS/Windows apps, system settings, and even iOS simulators. It's ideal for tasks lacking APIs or structured tools, such as operating legacy software or multi-app workflows. However, it's the slowest method and has the widest permission scope, requiring careful supervision for sensitive actions. **2. Chrome Extension:** This grants Codex access to the user's logged-in Chrome browser state, including cookies, profiles, and open tabs. It's best for tasks requiring user identity across websites like Gmail, LinkedIn, Salesforce, or internal dashboards. Its key advantage is multi-tab control for complex workflows. While more powerful for browser-based tasks than Computer Use, it carries higher sensitivity as actions are performed under the user's identity. **3. In-App Browser:** This is a browser isolated within the Codex thread, separate from the user's personal browsing data. It excels in web development and debugging scenarios—previewing local servers, testing responsive layouts, or annotating designs directly on the page. Its isolation is a strength for development but a limitation for tasks requiring login sessions. The core principle is to choose the narrowest, safest...

Editor's Note: This article outlines three entry points for Codex to operate external environments: Computer Use, Chrome Extension, and In-App Browser. While all three appear to address the problem of "letting Codex use a computer," they correspond to different task scenarios, permission boundaries, and levels of trust.

Among them, Computer Use has the broadest coverage, allowing direct operation of authorized native apps, system settings, iOS simulators on macOS/Windows, and even workflows spanning multiple apps. It's suitable for GUI processes without API, plugin, or structured tool support, but the trade-offs are slower speed and the widest permission boundaries. The Chrome Extension is suitable for tasks reliant on login state, cookies, multiple tabs, and browser identity, such as Gmail, LinkedIn, Salesforce, internal dashboards, or logged-in research across multiple websites. The In-App Browser leans more towards development and debugging scenarios, especially for local services, visual bugs, responsive layouts, and design annotations; it does not inherit the login state from the user's normal browser, has narrower capabilities, but also stronger isolation.

The core judgment of the article is that Codex does not have only one way to "use a computer." What's truly important is choosing the narrowest, safest, most structured operational interface based on the task. If a plugin or MCP can be used, visual control shouldn't be the first resort. For tasks only involving web development, prioritize the In-App Browser. When user browser identity and login state are needed, then switch to Chrome. Only when structured tools cannot cover it, and the task must rely on the desktop graphical interface, is Computer Use the last mile.

Appshots, however, are not a fourth way to control the computer, but a tool to "point" the current screen context "for Codex to see." It solves the context input problem, while Browser, Chrome, and Computer Use solve the action problem. Viewed together, this layering actually reveals the key to AI Agent productization: not granting the model unlimited permissions, but continuously narrowing permissions, clarifying boundaries for specific tasks, and allowing users to retain review rights for critical actions.

The following is the original text:

Codex has three ways to use a computer: Computer Use, Chrome Extension, and In-App Browser.

There is some overlap between them, just enough to be confusing.

After reading this article, you'll know how to install and trigger these three methods, when to use each in different scenarios, how Appshots and Developer mode connect them, and what to write in AGENTS.md so Codex can choose the appropriate operational interface itself.

The simple version is:

That said, whenever possible, prioritize using plugins or MCP. For example, a Slack plugin can more precisely search a thread than clicking around in Slack; operations generated by a GitHub plugin are also easier to check than letting Codex drive the webpage. Visual control is best used where the capabilities of structured tools reach their limits.

Everything Can Be @Computer

Computer Use is the broadest among these three operational interfaces. It allows Codex to view and operate the graphical interface on macOS and Windows, including windows, menus, keyboard input, and the clipboard within apps you authorize.

It's also usually the slowest. Structured plugins can directly call APIs; Computer Use needs to observe the interface, decide where to click, wait for the app to respond, and then check the next state. This visual loop consumes time but also means Codex can operate apps that have no available API at all.

On macOS, slow doesn't necessarily mean it will disturb you. Computer Use can operate your authorized apps in the background while you can still use other parts of the computer. Often, I open an app while using Codex only to find that Codex has already quietly completed a workflow in the background.

Depending on which apps you have installed and authorized on your computer, these operational targets can include Spotify, Xcode, System Settings, iOS Simulator, or even controlling your iPhone via iPhone Mirroring. It can also switch between multiple apps, handling workflows that span different applications.

Use it when a task relies on:

Native desktop applications, like Spotify or financial apps;

iOS Simulator, iPhone Mirroring, or other processes only operable via GUI;

System or application settings;

Data sources without plugins or APIs;

Workflows requiring switching between multiple apps;

The missing final step in a structured integration.

How to install: Open Codex's Settings > Computer Use, then click Install.

How to trigger: Mention @Computer, or explicitly ask Codex to use Computer Use. As model capabilities improve, it may also invoke it automatically when needed in the future.

Try a few examples first:

One of my favorite examples started when a package was stolen. Amazon told me it would take about 25 minutes to reach a customer service agent. I gave a Codex thread to Computer Use, telling it to check the chat window every five minutes, switch to checking every minute once an agent appeared, and try its best to get me a refund. When I returned from a shower, the refund was completed.

I also use Computer Use as the "last mile" in structured workflows. In one video launch, Codex could read feedback from Slack, modify code, and render a new video, but the Slack integration in that thread couldn't upload files. So Computer Use clicked Add file, filling in that missing step.

It also has the widest trust boundary among the three. Only give it one specific app or process at a time. Keep sensitive apps closed when they're not part of the task; carefully check permission prompts; for financial, account, payment, credential, privacy, and system security changes, it's best to supervise in person.

Use @Chrome for Multi-Tab and Login State Tasks

The Codex Chrome Extension gives Codex access to your already logged-in Chrome state. Use it when tasks depend on accounts, cookies, browser profiles, or tabs you have opened and authenticated.

This operational interface is suitable for work in tools like:

Gmail or LinkedIn;

Salesforce or customer service backends;

Internal dashboards;

Logged-in research across multiple websites;

Forms that rely on your account or browser extensions.

How to install: Open Codex's Plugins, add Chrome, and follow the setup process. Codex will guide you to install the Codex Chrome extension and approve Chrome permissions. When the extension shows Connected, start a new thread.

How to trigger: Mention @Chrome, or explicitly ask Codex to use your logged-in Chrome browser:

Chrome tasks run in tab groups, which helps keep tabs related to a specific Codex thread together. Unlike the In-App Browser, this interface carries your browser identity. This makes it more powerful and also more sensitive.

Another main advantage is multi-tab control. Chrome can associate multiple tabs with the same task, reading context in one page, cross-referencing information in another, and continuing the workflow in a third. Computer Use can also drive the browser visually, but Chrome treats the task as a browser workflow, not a series of screen coordinate operations.

Recently in a thread, I gave Codex an already open Strudel Composer tab and asked it to make the music more interesting. Chrome gave it the selected tab and the WebMCP tools exposed by that page. Codex examined the song structure, rewrote the harmony and the overall four-minute form, modified the tempo, saved the track, and let it play. It didn't need to visually hunt for every control in the interface because Chrome can combine tab context with the structured capabilities the page provides.

I also use it to run a long-term Twitter thread. The general instruction was:

The interesting part isn't that Codex can open Twitter, but that this thread can long-term return to the same logged-in working environment, connect discovered content to local files, and leave a result for me to review.

The trust boundary here is important. Websites may treat Codex's clicks, form submissions, and message sending as actions taken by you personally. Webpage content itself is also untrusted input. Clearly separate higher-consequence steps: research, navigation, and drafting can be automated; sending, posting, purchasing, or submitting require your review first.

If the entire task is completed within the browser, prioritize Chrome over Computer Use. Chrome has the browser-native context needed for this type of task without extending access to the entire desktop.

Use the In-App @Browser for the Website You're Developing

The In-App Browser is a browser that exists inside a Codex thread. You and Codex share the same rendered page, making it particularly suitable for building and debugging web applications.

I usually start here when dealing with:

Local development servers;

File-based preview pages;

Public pages that don't require login;

Reproducing visual bugs;

Checking responsive layouts;

Leaving design feedback on page elements.

Its most important constraint is isolation. The In-App Browser does not use your normal browser profile, cookies, extensions, login sessions, or existing tabs. When a task requires account identity, this is a limitation; but when a task doesn't need an account, this is a useful boundary.

How to set up: Open Codex's Plugins, add the Browser plugin and enable it.

How to trigger: Mention @Browser in the prompt, or explicitly ask Codex to use the In-App Browser:

This creates a tight feedback loop: Codex can edit code, operate the page, check rendering status, take screenshots, and then revalidate the same process after fixes.

My favorite part is annotation. When reviewing a local application, I can directly click on an element or select an area and leave a comment. Style controls also let me preview and give feedback on text, fonts, spacing, and color more precisely. I usually combine it with voice input and process guidance: I review the page, leave comments, and continue queuing more feedback while Codex processes the current batch. The page itself becomes the specification.

This is especially useful for design work. I often ask Codex to organize an idea, a research package, or a project status into a single-file index.html, then open it in the In-App Browser. Instead of trying to describe an entire design in another prompt, I can directly annotate on the real page: "This hierarchy is reversed," "Make this less card-like here," "These controls need more space," or "Use this font size ratio sitewide." Codex receives comments with relevant screenshots and element context, modifies the file, and reopens the same page for the next round.

This loop feels closer to working with a designer on the same canvas than exchanging screenshots and text descriptions.

The In-App Browser is also suitable as a starting point for hybrid workflows. In another thread, I opened an X post in the In-App Browser and asked Codex to investigate related discussions. The visible page helped it confirm which post I was referring to; then Codex switched to the Twitter CLI, retrieving 38 replies, including nested replies hidden from the browser view. This is the practice of the "use the narrowest operational interface" principle: use the browser to confirm on-screen context, then use structured tools for deeper retrieval.

There are trade-offs here too. The isolation of the In-App Browser makes it a great development interface, but also means it's not suitable for handling Google logins, passkeys, or websites that rely on browser extensions. When identity is important, switch to Chrome.

Appshots

Appshot is not a fourth way for Codex to control the computer. It's a method to point Codex at the context in front of you.

On Mac, press the CMD key twice to capture the frontmost window. Codex will attach an image with all available text to the thread. You can take an Appshot of an error, an email, a design, a settings panel, or an unfamiliar form, and then directly say:

This is the mental model I find easiest to remember: Appshots are how you point at something on your computer; Browser, Chrome, and Computer Use are how Codex takes action.

Appshots are currently created via the Codex app on macOS. They capture the frontmost window, not the entire desktop. This makes it a useful way to provide focused context without granting control over that application.

How to Follow These Developments

These operational interfaces change quickly. If you want practical details rather than waiting for a massive release summary:

Follow Ari Weinstein (@AriX) for Computer Use and Appshots;

Follow James Sun (@JamesZmSun) for Browser-related content;

Follow Andrew Ambrosino (@ajambrosino) for Codex app releases and the broader desktop product narrative;

Follow OpenAI Developers (@OpenAIDevs) for broader Codex and OpenAI Platform news.

Пов'язані питання

QWhat are the three ways Codex can operate on a computer, as mentioned in the article?

AThe three ways are: Computer Use, the Chrome extension, and the in-app Browser.

QAccording to the article, which method should be prioritized when structured tools (like plugins or MCP) are available?

AWhen available, plugins or Model Context Protocol (MCP) should be prioritized over visual control methods. Structured tools provide more precise, faster, and easier-to-audit operations.

QWhat is the primary purpose of the Appshot feature, and is it considered a method for Codex to control the computer?

AThe primary purpose of Appshot is to provide context by allowing the user to point at something on their screen (capturing the frontmost window). It is not a method for Codex to control the computer; it solves the input/context problem, whereas Browser, Chrome, and Computer Use solve the action problem.

QIn which scenario is the in-app Browser most suitable, and what is its key constraint?

AThe in-app Browser is most suitable for building and debugging web applications, such as working with local development servers, visual bugs, responsive layouts, and design annotations. Its key constraint is isolation—it does not inherit the user's normal browser profiles, cookies, extensions, or login sessions.

QWhat is the core judgment of the article regarding how Codex should interact with a computer?

AThe core judgment is that Codex does not have just one way to 'use the computer.' The important principle is to choose the narrowest, safest, and most structured interface for the specific task. Use plugins or MCP first, use the in-app Browser for web development, switch to Chrome for logged-in browser identity, and use Computer Use only as the last mile when structured tools cannot cover a task that depends on the desktop GUI.

Пов'язані матеріали

a16z Crypto: Marc Andreessen and Chris Dixon Explain Why the 'CLARITY Act' Is Urgently Needed

The CLARITY Act proposes a critical federal regulatory framework for the U.S. crypto market. Currently, a lack of clear rules creates uncertainty, hinders innovation, and leaves consumers exposed. The Act would clearly divide regulatory jurisdiction between the SEC and CFTC, mandate disclosures and insider restrictions for projects, and bring exchanges and other intermediaries under a comprehensive oversight system akin to traditional finance. This clarity is urgently needed as crypto has evolved from a niche interest into a major industry with institutional involvement. Clear, lasting rules would protect consumers by requiring proper audits, custody of client assets, and anti-fraud measures for registered platforms, helping prevent failures like FTX. Regulatory ambiguity currently punishes compliant U.S. firms with high costs while rewarding offshore competitors who bypass rules, creating a race to the bottom. The Act addresses national security by applying existing anti-money laundering rules to crypto intermediaries and distinguishes between legitimate privacy and illicit concealment. It also resolves banking sector concerns by prohibiting interest payments on stablecoin balances while permitting transaction-based rewards. For developers, it establishes liability based on intent and direct assistance to crime, not for unforeseeable downstream misuse of open-source software. Regarding securities law, the Act introduces a risk-based framework. Assets begin under SEC oversight when a network is centralized, transitioning to CFTC commodity regulation if it becomes sufficiently decentralized, with clear definitions to avoid constant litigation. Without the Act, regulatory uncertainty driven by shifting agency interpretations will persist, discouraging long-term investment in the U.S. and pushing development offshore, reducing American oversight and economic leadership. Support for the bipartisan bill comes from lawmakers, law enforcement (like the Fraternal Order of Police), and major financial institutions. Ultimately, the CLARITY Act is essential to establish a stable, sensible regulatory environment that fosters responsible innovation, enhances consumer protection, and ensures U.S. leadership in shaping the future of financial technology.

marsbit50 хв тому

a16z Crypto: Marc Andreessen and Chris Dixon Explain Why the 'CLARITY Act' Is Urgently Needed

marsbit50 хв тому

Citi's Interpretation: Why Does Citi Still Give SanDisk a Target Price of $2500 After Earnings Report Despite a Significant Stock Price Drop?

Citi maintains a "Buy" rating on SanDisk with a $2500 price target despite a post-earnings stock drop. This target, implying an 85.1% upside from the August 5th close of $1350.50, hinges on the firm's view that SanDisk merits a higher valuation than traditional NAND cyclical stocks. Although SanDisk reported strong Q4 FY26 results with revenue up 51% sequentially and robust full-year data center growth (+437%), its stock fell sharply on August 6th. Investors are concerned about potential NAND price growth moderation and guidance that failed to meet elevated market expectations. Citi's bullish thesis centers on SanDisk's new long-term "New Business Model" (NBM) agreements. These contracts, covering a significant portion of its NAND bit output for FY27 and FY28, represent minimum revenue commitments of approximately $94 billion backed by financial guarantees. This structure aims to increase revenue and cash flow predictability. The report links this visibility to AI data center demand, driven by the expansion of inference workloads requiring more storage. Citi estimates data center storage capacity demand will grow about 35% in CY27. However, the analysis notes long-term contracts cannot eliminate the NAND cycle. Risks include potential oversupply from industry capacity expansion, competition, and macroeconomic headwinds. The $2500 target essentially bets that AI demand and these contracts can reduce earnings volatility enough to support a premium valuation (~11x CY27E EPS). Key factors to watch are the execution of the $94B commitments, pricing mechanisms, actual data center demand, and industry supply dynamics.

marsbit1 год тому

Citi's Interpretation: Why Does Citi Still Give SanDisk a Target Price of $2500 After Earnings Report Despite a Significant Stock Price Drop?

marsbit1 год тому

Dark Pools Prevail, Whales Vanish: How Credible Are Public Market Signals?

Institutional cryptocurrency trading is increasingly shifting towards dark pools and over-the-counter (OTC) desks, with data from sFOX showing such venues accounted for 15% of total monthly volume by June, up from negligible levels in April. In July, 77.7% of institutional capital on sFOX's platform was routed through OTC desks, while only 18.4% went to public exchanges. A key driver is institutions' need to conceal large orders to avoid revealing trading patterns, preventing front-running and minimizing price impact. Firms like Jane Street and Citadel use dark pools and order-splitting across multiple venues to execute trades discreetly. This structural shift mirrors earlier developments in equities and forex markets. As a result, public order books now reflect only a fraction of actual market activity, eroding the once-significant advantage retail traders had in tracking large wallets and exchange flows. The proliferation of prime brokers and aggregation platforms is also rapidly closing simple arbitrage opportunities. The market may evolve toward a brokerage model for retail, similar to traditional stocks. Two scenarios emerge: an optimistic one where retail gains from narrower spreads and better order routing, and a pessimistic one where transparency declines faster than benefits trickle down, leaving smaller investors in the dark. Regardless, traders must adapt by not relying solely on exchange volume, comparing total execution costs, and using limit orders in thin markets. While reduced volatility from hidden large trades may seem positive, it comes at the cost of obscured market signals and institutional intent.

marsbit1 год тому

Dark Pools Prevail, Whales Vanish: How Credible Are Public Market Signals?

marsbit1 год тому

Торгівля

Спот
活动图片