Computer Use in the Agents API
Agents built on OpenAI's Agents API can now operate websites and apps through their interface in a browser OpenAI hosts, for developers.

Details
- Add a computer_use tool and an OpenAI-hosted desktop environment to an agent, optionally returning screenshots
- Every website the agent visits needs user approval first, even public sites, but approvals don't gate individual actions once allowed
- Your app handles sign-in: it shows the login screen and passes credentials through an events endpoint, so the model never sees them
- The Agents API also brings Codex's multi-agent work, tool search, and context compaction into your own app, with OpenAI running the infrastructure
- Also available in Codex and ChatGPT Work on Pro 500 and Enterprise
Best for
Automating work in tools that have no API, like filling out a vendor portal.
When to use it
Your agent needs to click through a website rather than call a service directly.
Who benefits
Developers building agents for operations, procurement, or internal tooling.
Join the newsletter to get ahead with AI.
I share strategies, new modules, free guides, and tools to get you better at using AI in your work.
Leading a team? See team programs →