We Rewrote JSONata with AI in a Day, Saved $500K/Year
AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story.
Why it matters
It shows that a comprehensive test suite can let AI rewrite mature open-source libraries into new languages cheaply, potentially replacing manual migration work.
The AI company Reco used AI coding tools to rewrite JSONata, an open-source language for transforming JSON data, from JavaScript into the Go programming language. The job took about 7 hours and $400 in AI costs, and the company says it saves $500,000 a year. Simon Willison calls this 'vibe porting' and notes the key enabler was JSONata's existing test suite.
Reco reports it used AI to rewrite the JSONata query language into Go in a single day, saving an estimated $500,000 a year. The rewrite took 7 hours and $400 of AI tokens, enabled by JSONata's existing test suite, with a week-long shadow deployment confirming identical behavior. The takeaway for executives: firms with well-tested code can now cheaply migrate away from legacy dependencies.
Reco's team used AI agents to port JSONata, the JSON expression language associated with Node-RED and similar to jq, from its original JavaScript implementation to custom Go. The first working Go version was built in 7 hours for $400 in token spend, with the existing JSONata test suite as the verification harness. A shadow deployment ran both versions in parallel for a week to confirm exact behavioral parity. The $500K/year savings figure is Reco's own claim.
Read the original
This summary exists to save you time, not to replace the source.
Key terms
Was this summary useful?
One click, anonymous. It tells us which summaries to re-run.
Related reading
Code-driven AI illustrations are more useful than images from dedicated image models
Code-driven AI illustrations let designers edit assets directly in code, saving time on iteration and ensuring consistency, which is a game-changer for teams that need rapid, reusable visual content.
datasette-charts 0.5a0
Datasette Charts 0.5a0 adds calendar heatmaps, box plots and active-over-time charts, enabling richer data visualisation directly in the browser without extra libraries.
A hierarchical note-taking app for building large personal knowledge bases
Trilium lets users build and navigate massive personal knowledge bases without duplicating content, saving time on organization and retrieval.
Desktop apps in Go with native UI or web frontend
Go developers can now ship cross-platform desktop and mobile apps in a single small binary without cgo or heavy runtimes, cutting build complexity and deployment size.
OpenBitFun: an agent workspace with four harness modes and phone remote control
OpenBitFun lets agents run on any machine and be controlled from a phone, eliminating the need to choose between local power and remote access, saving developers time switching contexts.