
41 worlds, 200 lines of Python: I built a protocol called Elastik for human-AI interaction
I’m an electrical engineering student. I built a protocol that lets any AI write strings to a SQLite database. A browser renders them. That’s it. No framework. No npm. No build step. One dependency: uvicorn. What it looks like My AI just gave me a tour of my own database. It navigated between worlds using JavaScript injection, introduced each one, and rendered them — FPGA cheat sheets with markdown, circuit theory with inline SVG diagrams and KaTeX math, an interactive MNA circuit solver, digital logic gate references. All strings in SQLite. 41 worlds. 8 renderers. 2 plugins. ~200 lines of Python. Youtube demo video: Elastik: a protocol for human-AI interaction. Five rules. Three mailboxes. One SQLite file. How it works Five rules: Listen on a port Send and receive strings over HTTP Store them in SQLite Sign every write with HMAC Render in a browser Three mailboxes per world: stage — what you see (browser renders this) pending — commands (browser executes this) result — replies (browse
Continue reading on Dev.to Python
Opens in a new tab



![[MM’s] Boot Notes — The Day Zero Blueprint — Test Smarter on Day One](/_next/image?url=https%3A%2F%2Fcdn-images-1.medium.com%2Fmax%2F1368%2F1*AvVpFzkFJBm-xns4niPLAA.png&w=1200&q=75)