Simon Willison Showcases Claude Code as a Rapid Prototyping Agent · history
Version 1
2026-05-06 01:11 UTC · 8 items
Narrative
Simon Willison published two posts on May 4, 2026, using Claude Code as an agentic rapid prototyping tool to explore and demonstrate emerging technical developments. In the first, he built a browser-based interactive playground that runs a WASM-compiled subset of Redis, allowing users to experiment without a local install with a significant in-progress Redis feature — a native array data type proposed by Salvatore Sanfilippo (antirez) in a PR that adds over 18 new commands[1]. The playground makes the new API immediately accessible in the browser, exemplifying Willison's use of Claude Code to lower the barrier to exploring nascent technology.
The second post zooms in on one of those new Redis commands: ARGREP, which enables server-side regex grep over array values using the TRE regular expression library recently vendored into Redis by antirez[1][2]. Curious about TRE's security properties, Willison used Claude Code to build an experimental Python binding to TRE via ctypes and tested it against pathological ReDoS inputs[2]. His finding: TRE handles ReDoS attacks significantly better than Python's standard re module, primarily because it does not support backtracking — the mechanism most commonly exploited in regex denial-of-service attacks[2].
Across both posts, a consistent framing emerges: Claude Code is positioned not as a code generator for production systems but as an agentic collaborator for rapid prototyping — quickly building just enough to probe interesting technical territory and make it tangible for an audience. The Redis playground and TRE binding are explicitly experimental artifacts whose value lies in demonstration and exploration rather than deployment. The background Wikipedia articles included in this thread (on Llama, 3D printing, Memex, regex engine comparisons, and TRE computing) carry no direct claims of their own and appear to be reactive context documents surfaced by the pipeline as supplementary background.
Timeline
- 2026-05-04: Willison publishes TRE Python binding post, demonstrating ReDoS robustness via a Claude Code-built ctypes binding and comparing it to Python's standard re module [2]
- 2026-05-04: Willison publishes Redis Array Playground post, announcing a Claude Code-built WASM in-browser demo of Salvatore Sanfilippo's proposed Redis native array data type with 18+ new commands [1]
Perspectives
Simon Willison
Advocates for Claude Code as an agentic rapid prototyping tool that lowers the cost of exploration — building experimental playgrounds and language bindings to make emerging technologies immediately tangible and shareable.
Evolution: consistent
Tensions
- Whether TRE's lack of backtracking is an acceptable trade-off for real-world regex use: it provides strong ReDoS resistance but may not support the full feature set Python developers expect from the standard re module. [2]
- The status and trajectory of Sanfilippo's Redis array PR remains unresolved — the playground exists precisely because the feature is not yet in a stable Redis release, leaving its eventual shape uncertain. [1]
- Whether Claude Code-generated experimental artifacts (WASM playgrounds, ctypes bindings) can or should be hardened into production tools, or whether they are best understood as disposable demos that illustrate a capability rather than deliver one. [2][1]
Sources
- [1] Redis Array Playground — Simon Willison (2026-05-04)
- [2] TRE Python binding — ReDoS robustness demo — Simon Willison (2026-05-04)