Insights

Then the agents QA’d their own port

Prizm Desktop Controller turns a wired machine into a continuous AI–AI desktop lab — screenshots, clicks, and assertions without a human in the loop.

All insights
8 min read
Operator with AR HUD glasses in front of an instrumented server room — the AI-AI desktop QA loop, one agent driving the application under test while the other asserts

Porting an editor is half the story. The other half is proving the window opens, menus respond, and typing does not crash the process — at machine pace. We built Prizm Desktop Controller (PDC) so one agent can launch the application under test while another drives it through MCP tools.

Control mode
desktop_qa
Reference AUT
npp-qt
PDC HTTP
:8765
PDC MCP
:8766
Loop shape
see → act → assert

Two agents, one desktop

The harness / session agent wires PDC on a worker host, starts the binary (detach for GUI), and opens a live session with controlMode set to desktop_qa. The QA agent never waits for a human takeover. It screenshots, plans, clicks, types, and records defects with repro steps.

This is deliberately distinct from the human-observe path. human_present takeover is a one-shot assist for operators watching a session. Continuous AI–AI QA is the product mode for overnight regression on real windows.

The tool surface that matters

PDC MCP exposes a small, boring, reliable set: health, run command, wait for window, screenshot, list and focus windows, click, type, key combos. Boring is the point. Fancy planners fail when the window title needle is wrong; the loop succeeds when perception and action share the same host display.

  • pdc_run_command — launch the AUT with detach for GUI processes
  • pdc_wait_for_window — block until the title matches, then focus
  • pdc_screenshot — perceive before every risky click
  • pdc_click / pdc_type_text / pdc_key_combo — act
  • pdc_session_info / pdc_health — stay honest about connectivity

npp-qt as the reference AUT

We point the same harness at the Qt6 Notepad++ port: cmake build, offscreen smoke for CI, then a wired PDC session against the real window title. The QA brief is deliberately mundane — confirm the main window, type sample text, exercise File → New / Open, note crashes and blank shells.

When the lift agents and the QA agents share a fleet, the feedback loop closes without a staging spreadsheet. Defects become the next translation batch, not a Slack thread that dies on Friday.

What we are still tightening

Continuous GUI QA is only as good as the worker host that can show a Qt window. Some smoke paths still depend on a laptop-side launch script and debugger-friendly builds. That is engineering debt we track — not a reason to pretend the human is still the only pair of eyes that can click a menu.

If you ship desktop software and already run agents on your code, the missing piece is usually not another LLM. It is a controller that can see and act on the same glass your users do.

  • PDC
  • Desktop QA
  • MCP
  • AI–AI