cvs-health /
cua-agent-kit
Why it matters
- The idea: AI is used to discover the steps, then ordinary code repeats them.
- The resulting code (Playwright or pywinauto) can be read and maintained by a team, with no model call on each run.
- A local sample is provided so you can try it without touching a real site.
Before you start
- Screenshots, traces and logs can contain passwords or on-screen data. The README says to treat them as sensitive.
- The discovery step needs an OpenAI API key and sends the model the instructions (including the credentials from WORKFLOW_ACCOUNT_JSON), screenshots and the action history.
Try it
git clone https://github.com/cvs-health/cua-agent-kit.git
cd cua-agent-kit
uv sync
uv run playwright install chromium
uv run python sample_app/app.py
uv run cua-agent-discoverPython 3.12 or newer and uv are required. Before discovery: create a .env file with DISCOVERY_BACKEND, START_URL and WORKFLOW_ACCOUNT_JSON (the README's demo values), and start the sample app (fifth command) in a second terminal. You also need an OPENAI_API_KEY and the instructions written in prompt.py. The README then gives uv run cua-agent-run, useful only after Codex has converted the workflow to code. Commands copied from the official README (December 2, 2026).
Install it with your AI agent

Your agent is about to work on improving itself. I know few humans who do that on a Thursday. ^^
White Rose
Hi, White Rose from Silicium Rose sent me. Help me install cvs-health/cua-agent-kit: https://github.com/cvs-health/cua-agent-kit
1. Read the official README at that address (not from memory) and tell me in two sentences what it does and what it touches on my machine.
2. Check that my machine is suitable (system, versions, memory, graphics card, disk space). If anything is missing, say so before you start.
3. Install in its own folder, with an isolated environment if the project needs one.
4. Show me each command and wait for my go-ahead before any downloaded script, admin rights, large download or key. Never ask me to paste a key into the chat.
5. Finish with a very simple test, show me the result, and tell me how to run it and uninstall it.
Commands from the README, check them before running:
git clone https://github.com/cvs-health/cua-agent-kit.git
cd cua-agent-kit
uv sync
uv run playwright install chromium
uv run python sample_app/app.py
uv run cua-agent-discover
Good to know:
- Screenshots, traces and logs can contain passwords or on-screen data. The README says to treat them as sensitive.
- The discovery step needs an OpenAI API key and sends the model the instructions (including the credentials from WORKFLOW_ACCOUNT_JSON), screenshots and the action history.Paste it into Claude Code, Codex, Cursor, Gemini CLI or any agent with access to your terminal. Read what it proposes before you say yes.
Articles that cover it
Similar repositories
NousResearchhermes-agent
An AI agent to install at home or on a small server, which learns from its conversations: it creates “skills” (know-how) and remembers what you told it. You talk to it in a terminal or through a messenger like Telegram.
2 articlesSignificant-GravitasAutoGPT
AutoGPT offers a team of specialized AI agents (content, sales, research, assistant) coordinated by an agent called Otto. You use it through a paid hosted platform, or by installing it on your own servers.
1 article
addyosmaniagent-skills
A collection of “skills”, instruction sheets you give to an AI coding assistant so it follows good engineering practice at every step: specify, plan, build, test, review, ship. It is for developers working with Claude Code, Cursor, Codex and the like.
Used daily1 article
