> ## Documentation Index
> Fetch the complete documentation index at: https://docs.glasswarp.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Templates

> Outcome-named starters: observe → think → act → verify on a real Windows PC.

Copy-paste starters under `sdk/python/templates/`. Each one is **example /
customer code** — Glasswarp is eyes and hands; your model (or a few lines of
Python) is the brain.

```
Observe → Think → Act → Verify
```

## Catalog

| Template             | Shows                                     |
| -------------------- | ----------------------------------------- |
| `observe_think_act/` | Minimal agent loop (no LLM required)      |
| `notepad_type/`      | Notepad via UIA targets + native type     |
| `live_view_hitl/`    | Open a session for human Live View / kill |

```bash theme={null}
cd sdk/python
export GLASSWARP_API_KEY=gw_live_sk_...
python templates/observe_think_act/main.py
python templates/notepad_type/main.py
python templates/live_view_hitl/main.py
```

Longer showcases stay under `sdk/python/examples/` —
[Mona Lisa](/examples/mona-lisa), [Minesweeper](/examples/minesweeper), Paint
wordmark. Full catalog: `sdk/python/templates/README.md`.

<Note>
  Unlike browser stacks that bundle runtime + Stagehand-style agent primitives +
  model routing, Glasswarp templates stay thin: session hygiene, observe/act,
  and a clear place to plug **your** planner. They use
  `examples/safe_session.py` (budgets, intent logs, allowlists) — see
  [Safe agent sessions](/guides/safe-agent-sessions).
</Note>

<CardGroup cols={2}>
  <Card title="Agent loop guide" icon="arrows-spin" href="/guides/agent-loop">
    The canonical observe → think → act → verify shape.
  </Card>

  <Card title="Mona Lisa" icon="palette" href="/examples/mona-lisa">
    The VNC-hard showcase demo.
  </Card>
</CardGroup>
