Domscribe

•
196
•

Bridges the gap between running web applications and their source code for AI coding agents.

AI coding agents often edit source files without visual context of the running frontend. Domscribe solves this by enabling bidirectional communication: agents can query any source location to see its live UI, props, and state in the browser, while developers can click elements in an overlay to provide targeted instructions and runtime context to their agents. It achieves this with build-time stable IDs, deep runtime context capture, and framework-agnostic integration across popular bundlers, empowering intelligent agents to make precise, context-aware code changes with zero production impact.

主な機能

01Bidirectional source↔DOM querying: Allows AI agents to query code and receive live UI context, and developers to select UI elements to identify source locations.
023 GitHub stars
03Agent-agnostic MCP tools: Exposes 12 tools and 4 prompts via Model Context Protocol, usable by any MCP-compatible coding agent.
04Build-time stable IDs: Injects unique, HMR-stable `data-ds` IDs into DOM elements for deterministic source mapping.
05Deep runtime context capture: Extracts live props, component state, and metadata from instrumented elements using framework-specific adapters.
06Multi-framework and multi-bundler support: Compatible with React, Vue, Next.js, Nuxt, Vite, Webpack, and Turbopack.

ユースケース

01Allowing developers to provide precise, visually-cued instructions to AI agents by clicking elements in the browser and adding intent.
02Providing rich runtime context (props, state, DOM attributes) to AI agents for more informed and accurate code generation and refactoring.
03Enabling AI agents to verify UI changes by querying live browser snapshots before and after code modifications.