Glossary · Page model

DOM indexed state

A compact, numerically-indexed map of a page’s interactive elements that an agent acts on by index instead of raw HTML.

What is dom indexed state?

DOM indexed state is the output of the page compiler: it walks a live page and emits a numbered list of the elements an agent can actually act on — buttons, inputs, links, roles — under a token budget. The planner and compiled skills reference elements by index (“click 12”, “type into 7”) rather than by fragile selectors or full markup.

Why it matters

Raw HTML is enormous and noisy; feeding it to a model is slow and expensive. Indexing a page to its interactive surface keeps prompts small, makes plans survive minor layout changes, and is what lets a long multi-step flow fit in a few thousand tokens.

Related terms

See it in context

Back to the full glossary

Put your agent to work. Keep the decision.

Give your agent a real browser, authorize the accounts it may use, and keep control of every step. Repeated runs compile into skills that replay without a model.