
Programs Beat Prompts: AI Forges Deterministic Interface Programs That Run Forever
Every time my AI agent automated a website interaction, it was burning tokens to solve the same problem it had already solved last run. Find the API. Locate the selector. Compose the steps. Re-solved, re-paid, every single time. I built Tap to fix this. The core idea: operating an interface is a solved problem the moment you figure out how. So separate the figuring-out (AI's job, done once) from the executing (a deterministic program's job, done forever). The Paradigm: Forging forge_inspect → forge_verify → forge_save → tap.run AI analyzes AI tests AI saves runs forever, zero AI AI analyzes the live site, creates a .tap.js file, and that file runs forever — no LLM calls, no prompts, no API keys. Runs in <1s. Returns structured data. Same result every time. Cost model: ~$0.50 in tokens to forge. Then $0.00 at runtime, forever. The Protocol Tap defines a minimal, complete contract for interface automation: 8 core operations (irreducible atoms): eval · pointer · keyboard · nav · wait · sc
Continue reading on Dev.to
Opens in a new tab



