Skip to content

pdum_aiuiScientific UI at the speed of intent

Speak, point, screenshot — a prompt-lowering layer compiles high-level multimodal intent into agent-ready prompts and injects them into your live Claude Code session.

What is this?

A workflow for building technical visualization software with AI in a tight iteration loop — keeping an interactive Claude Code CLI session (and its transcript) at the center, while raising the level of abstraction at which you prompt it. Think of Wispr Flow — audio lowered to clean text — generalized on both ends: more modalities in, and a richer target out (current coding agents do best on interleaved text and images, not just text), with the lowering pipeline itself open for research.

Safer to read than to run

This code launches Claude Code with permissions skipped and pipes externally-supplied prompts into the live session by design. Understand what you'd be trusting before running it — for most people, the right use of this repo is as reference and parts for building their own system.

What the intent panel does

The intent panel is where the loop happens. Its features, each a section of the panel reference:

  • Push-to-talk dictation — three streaming engines (ElevenLabs Scribe v2, GPT-4o Transcribe, Realtime Whisper), a per-word confidence heat map, and word-timestamp anchors that place screenshots exactly in the prose.
  • Shots, screen share, and selections — deliberate captures, a share whose sampled frames are screenshots (smart interaction-gated cadence or clockwork), and source-attributed selections.
  • The prompt linter — an on-demand realtime observer that checks the briefing you're composing (transcription vs. intent, unresolvable references, described-but-never-shown) and can read files to verify before flagging.
  • The oracle — a realtime voice assistant holding the focused app's tools; talk to the app, and to the panel itself.
  • The pencil — markup over the live page, locally or from an iPad on the LAN.
  • The remote bar — arming and dispatch from another device.
  • Page tools — the app's own scope-owned toolkit, surfaced to the agent with an activity bit and a call ledger.
  • VS Code jump — a click on the page lands in the authoring source.
  • The trace debugger — every lowering run's intermediate representations, model calls, and per-response cost, embedded in the panel and at /__aiui/debug.