← Index

CHOOSEConsumer & creative

dre: A Keyboard-First Diagram Editor Driven by AI

Video preview0:18

dre is a diagram editor designed for keyboard control, which also enables AI to drive its operations by selecting from predefined choices rather than generating raw text.

SignalSo every decision is a choice: → which command? (child, sibling, parent, color…) → which word starts the label? (its word positions are the options) → which color?

I built dre as a keyboard-first diagram editor. Turns out that's also what makes it easy for AI to drive. In this demo, plain-English sentences build the diagram. Jev (@TypeSafe) makes each decision in ~0.6s and the app presses the keys. The catch: Jev can't generate text. It only picks from typed choices. So every decision is a choice: → which command? (child, sibling, parent, color…) → which word starts the label? (its word positions are the options) → which color? The model never outputs a keystroke. Code maps each choice to keys and keeps its own copy of the tree, so "make it blue" becomes the right number of presses. Constrained models work best when you design the interface around what they're good at. dre: github.com/slickroot/dre