QORMQORM v0.8.4 docs Get started

Human-AI collaboration on a live app

QORM's premise: a person and an AI agent work on the same running app at the same time, and each sees the other. qorm run serves one live runtime over three channels — a browser for the human, MCP for the agent, and Server-Sent Events (SSE) to keep every viewer in sync.

A human and an AI agent on one live QORM app One running app, two panes: the live UI on the left and the shared session log on the right.

Start a shared session

qorm run examples/counter          # browser UI + agent endpoint at /mcp

to http://127.0.0.1:PORT/mcp. It shares the same runtime the browser renders.

The loop — each sees the other

qorm_dispatch, qorm_set_state), the change appears in every connected browser instantly over SSE. An "AI edited · <what>" toast names it, and the elements the agent actually touched briefly pulse a blue outline — so you see not just that it edited but where.

presence: the events log (who did what, in order), humanFocus (the element the human is on right now), humanTyping (the text they last entered), and humanFilled (which password fields they completed — by label only; a password value is never captured). So the agent collaborates in context — "the human is filling the email field" — instead of guessing from state.

desktop app opens, or /logwindow) shows a shared with the AI line — the human's own focus and typed text, password fields marked value hidden — so it is transparent exactly what the agent can perceive.

QORM DevTool shared session The shared session, made transparent: what the human sees in the DevTool is exactly what the agent can perceive.

Safe edits — review-bound

The agent's design changes are gated so a live app can't be changed unreviewed:

and never touch the live app.

qorm_preview_patch of the same ops — every committed change was previewed.

Self-verify

The agent proves its edits against the rendered reality, not assumptions: qorm_measure / qorm_check_layout (or the CLI qorm measure / qorm check) render the app and report real geometry. See verifying an app.

Tools at a glance

roletools
understandqorm_inspect, qorm_query, qorm_get_node, qorm_render_html, qorm_activity
operateqorm_dispatch, qorm_set_state
design (safe → commit)qorm_preview_patch / qorm_diffqorm_apply_patch, qorm_undo
verifyqorm_measure, qorm_check_layout

Full reference: MCP tools. To add QORM to your agent, see integrations/.