#6262nd of 95 in Agent and MCP starters

openai-cua-sample-app

Reference computer-use agents using Playwright (JS) and PyAutoGUI (Python)

Releases and problems feed (RSS)

Stars
1.9k
License
MIT
Last commit
Oct 2026
Language
TypeScript
Stars, last 34 weeks+291
28 Mar 2026: 1,645 stars4 Apr 2026: 1,658 stars11 Apr 2026: 1,666 stars18 Apr 2026: 1,677 stars25 Apr 2026: 1,687 stars2 May 2026: 1,694 stars9 May 2026: 1,698 stars16 May 2026: 1,705 stars23 May 2026: 1,712 stars30 May 2026: 1,718 stars6 Jun 2026: 1,722 stars13 Jun 2026: 1,725 stars20 Jun 2026: 1,729 stars27 Jun 2026: 1,733 stars4 Jul 2026: 1,734 stars11 Jul 2026: 1,738 stars18 Jul 2026: 1,741 stars25 Jul 2026: 1,744 stars1 Aug 2026: 1,750 stars8 Aug 2026: 1,753 stars15 Aug 2026: 1,760 stars22 Aug 2026: 1,766 stars29 Aug 2026: 1,770 stars5 Sept 2026: 1,795 stars12 Sept 2026: 1,840 stars19 Sept 2026: 1,860 stars26 Sept 2026: 1,873 stars3 Oct 2026: 1,882 stars10 Oct 2026: 1,888 stars17 Oct 2026: 1,898 stars24 Oct 2026: 1,909 stars31 Oct 2026: 1,917 stars7 Nov 2026: 1,926 stars14 Nov 2026: 1,930 stars21 Nov 2026: 1,936 stars

1,645 on 28 Mar 20261,936 on 21 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

OpenAI is hiring: 876 open roles

Overview

Two sample computer-use agents built on the OpenAI Responses API. The JavaScript agent writes code against Playwright to drive a browser; the Python agent uses PyAutoGUI to control a real desktop through screenshots, mouse and keystrokes. Both share a web console and three fake labs (kanban, paint, booking) for testing, plus SDK examples using ComputerToolset.

Who it is for: Engineers learning to build computer-use agents on the OpenAI Responses API

Strengths

  • Two implementations of the same loop, in TypeScript and Python, for direct comparison
  • Bundled labs (kanban, paint, booking) with Replay JSON and a screenshot timeline per run
  • SDK examples run in a headless Chromium context with outbound page requests blocked
  • Persistent worker keeps state between model calls, reducing round trips

Weaknesses

  • No OS sandbox: generated code runs with your user permissions
  • Python agent controls your real mouse and keyboard; crashes can leave input held
  • Requires an OpenAI API key and paid calls; no other model providers documented
  • Sample code, not a production runtime; lacks OpenAI's action-review controls

What it needs

  • TypeScript, OpenAI models via Responses API
  • Needs OpenAI API key, Node.js 22.20.0, pnpm 10.26.0, Playwright, uv (Python app), Python 3.10+ (Python app)
  • env example file

Also in Agent and MCP starters

See all 95
Also in Agent and MCP starters
RankProjectScore
#60shepherdPython runtime that records agent runs as reviewable, reversible traces2.7k stars+190 (+7.6%) in 30 daysMIT54 out of 100
#61tinyfish-cookbookExample apps and n8n workflows built on the TinyFish web agent API Live demo ↗ (opens in a new tab)2.3k stars+61 (+2.7%) in 30 daysMIT54 out of 100
#63echo-agentSelf-hosted Python agent runtime with layered memory and a Tauri desktop app1k starsMIT54 out of 100
#64golfPython framework that compiles tool, resource and prompt files into an MCP server841 starsApache-2.054 out of 100
#65OpenTagSlack and Teams knowledge agent on LangGraph and CopilotKit Channels1.3k starsMIT53 out of 100