Examples

Worked, runnable examples of driving Windows with MCEC. Each one is written to serve two readers at once: a person skimming to see what MCEC can do, and an agent that executes it. So every example leads with the artifact and the plain-English prompt, then gives the exact recipe an agent follows.

Example Flavor What it shows Recipe
MCEC hero GIF Scripted recipe One MCEC drives a second MCEC through a guided tour (Settings tabs, mouse-resize, drag the title bar, Help ▸ About) while the overlay narrates; recorded with the record tool. hero-gif.md
WinPrint hero GIF Scripted recipe MCEC drives installed WinPrint across a real desktop: Start-menu launch, settings/zoom tour, Print to PDF, open the PDF. winprint-hero-gif.md
Paint → smiley → email Prompt demo Hand a computer-use agent one sentence and it drives the desktop: open Paint, draw a smiley, copy it, start a new email, paste it in. paint-smiley-email.md

Two flavors

How these examples work

Everything below is common to every example; individual pages assume it and don’t repeat it.

Adding an example

Copy this skeleton to docs/<name>.md, fill it in, and add a row to the gallery table above. Keep the artifact and the prompt at the very top so a human sees the payoff first and an agent finds the task fast.

# <Title>

<One sentence on what it shows.> <Embed the artifact: ![...](<name>.gif).>

**Flavor:** Scripted recipe | Prompt demo

## The prompt

> <The exact natural-language instruction you'd give an agent.>

## Preconditions

- Gates/commands to enable (link [Agent Safety](/mcec/safety-emergency-stop-and-provisioning.html)).
- Bootstrap script, if one is needed.

## Recipe

<Numbered tool-call steps (scripted), OR "hand the agent the prompt and let it improvise" (prompt demo).>

## Expected result

<What success looks like: the artifact, frame count, the final on-screen state.>

## Gotchas

<Anything specific to this example beyond the shared list in examples.md.>

See also AGENTS.md for the connect-time guidance an agent gets, and Environment Controller for the full tool reference.