explaingit

patrickiel/pantomime

Analysis updated 2026-05-18

1PythonAudience · developerComplexity · 3/5LicenseSetup · moderate

TLDR

A Windows testing tool that turns plain-English instructions into automated UI tests, letting you describe user actions in natural language instead of writing code.

Mindmap

mindmap
  root((repo))
    What it does
      Tests from plain English
      Clicks and types for you
      Works on any app
    How it works
      Reads screen contents
      AI plans each step
      Driver does clicks and keys
    Setup needs
      Windows machine
      Python 3.12
      AI API key required
    Writing tests
      Simple YAML files
      Variables and secrets
      Editor autocomplete support
    Configuration
      Pick AI models
      Set reasoning effort
      Track model pricing
    Audience
      QAs and testers
      Developers on Windows
      Non-technical testers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Automate login flow tests by describing each step in plain English.

USE CASE 2

Run regression tests on Windows desktop apps without writing scripts.

USE CASE 3

Test applications with variables for usernames and passwords without hardcoding them.

USE CASE 4

Generate editor autocomplete schemas to validate test YAML files before running them.

What is it built with?

PythonYAMLWindows UI AutomationDeepSeek APIAnthropic APIOpenAI APIVS Code

How does it compare?

patrickiel/pantomime0xustaz/streamgatea-bissell/unleash-lite
Stars111
LanguagePythonPythonPython
Setup difficultymoderatehardhard
Complexity3/54/54/5
Audiencedeveloperdeveloperresearcher

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires a Windows machine with Python 3.12 and a paid AI API key from DeepSeek, Anthropic, or OpenAI.

Use, copy, modify, and distribute this software freely for any purpose, including commercial use, as long as you keep the copyright notice.

In plain English

Pantomime is a testing tool for Windows applications that lets you write test instructions in plain English. Instead of scripting exact clicks or code, you describe what a user would do, something like "type the username, click Sign in, confirm the welcome screen." Pantomime then carries out those steps on the actual screen, as if a person were sitting at the computer. The tool works by combining a few pieces. A perception layer reads the screen using Windows built in accessibility tools, plus local image and text recognition for parts of the screen those tools cannot reach. A reasoning model, powered by an AI API you provide, plans each step and checks whether the result matches what you described. A driver then performs the clicks and keystrokes on whatever region of the screen is relevant, without needing to know what application it is interacting with. To use Pantomime, you need a Windows machine, Python 3.12, and an API key for a reasoning model from a provider like DeepSeek, Anthropic, or OpenAI. You install the tool from its GitHub repository, then run a command to set up a test folder in your project. Tests are written as simple YAML files. A basic test just needs an ID, a title, and a list of steps written in natural language. You can also use variables and secrets, so your tests can reference things like usernames and passwords without hardcoding them. Pantomime is not yet published to standard Python package repositories, so you install it directly from the cloned repository. Configuration lives in a single YAML file where you specify your project name, which AI models to use, how much reasoning effort the model should apply, and pricing for each model. The tool also generates schema files that give you autocomplete and validation in editors like VS Code, which helps catch typos before you run anything. The project is open source under the MIT license and welcomes contributions. The README is fairly detailed about setup and configuration, though it was cut off before fully showing test examples and the deeper internals of how the tool works. The full README is longer than what was shown.

Copy-paste prompts

Prompt 1
I want to write a Pantomime test that logs into my Windows app, enters a username from a variable and a password from a secret, and confirms the welcome screen appears. How do I structure the YAML file and define the variables and secrets?
Prompt 2
Help me set up Pantomime on my Windows machine. I have Python 3.12 installed and an OpenAI API key. Walk me through cloning the repo, creating a test folder, and writing my first test YAML file that types a search query and clicks a button.
Prompt 3
I need to configure Pantomime to use the DeepSeek reasoning model with high reasoning effort. Show me what the configuration YAML file should look like, including model name, API key reference, reasoning effort level, and pricing fields.
Prompt 4
How do I add autocomplete support in VS Code for my Pantomime test YAML files so I get validation and suggestions for step fields, IDs, and titles?
Prompt 5
Write me a Pantomime test YAML file that opens a Windows app, fills in a form with three fields using variables, clicks Submit, and verifies a confirmation message appears on screen.

Frequently asked questions

What is pantomime?

A Windows testing tool that turns plain-English instructions into automated UI tests, letting you describe user actions in natural language instead of writing code.

What language is pantomime written in?

Mainly Python. The stack also includes Python, YAML, Windows UI Automation.

What license does pantomime use?

Use, copy, modify, and distribute this software freely for any purpose, including commercial use, as long as you keep the copyright notice.

How hard is pantomime to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is pantomime for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.