Pydantic's Monty now runs the classic xkcd antigravity demo sandboxed in the browser
samuelcolvin · x · 2026-09-15
Pydantic founder Samuel Colvin opened a PR porting PyScript's classic antigravity demo (an homage to xkcd 353) to Monty's WebAssembly build, with original author Philipp JFR calling it one of his favorite demo ideas.
Technical detail: Monty runs the Python file inside a WASM sandbox in a Web Worker, with its five imports replaced by host objects and functions. The sandbox drives the comic, but every DOM call suspends into the host, which polices what it may do — also exercising persistent sandbox state across many feeds.
Related event: Pydantic creator ports PyScript antigravity easter egg to Monty(2 posts)→
More from coding & agent
- Andrew Chen: Agents gave me three messy inboxes to check — andrewchen · 2026-09-15
- The detective novel thought experiment: why hidden states beat tokens for model handoff — CShorten30 · 2026-09-15
- oh-my-pi open-sources agent context compaction design docs, now at 31k GitHub stars — nirmal_dist · 2026-09-15
- RAFT v3.1 open-sources retrieval-augmented fine-tuning to clone human personas — jessi_cata · 2026-09-15
- 18 sub-agents cut to 1: Polylane argues sub-agents are just wrong — zeeg · 2026-09-15
- deepseek-harness: an open-source plugin-based coding agent framework, unverified — goyalshaliniuk · 2026-09-15