Ground Truth.
AI, checked against the source.

News · 2026-07-12

Terence Tao brought his 1999 Java applets back to life with an AI agent -- and it found bugs he never knew about

Terence Tao, one of the most respected living mathematicians, used an AI coding agent to resurrect about two dozen of his 1999 Java math applets -- porting them to modern JavaScript in a matter of hours -- and reported a surprising verdict on the code quality: the agent found two pre-existing bugs in his original code that he had never known about, while introducing only one minor bug of its own. "It ended up being a net wash as far as code quality was concerned," he wrote.

Key facts

The hook is who is saying this. Endorsements of AI coding tools are cheap; an endorsement from a Fields Medalist who carefully tallies the bugs is not. Tao did not gush -- he counted. One bug in, two bugs found, net wash. For a technology that critics dismiss as producing plausible-looking slop, a precise net-neutral verdict from a rigorous source is more persuasive than any benchmark.

Background for the non-specialist: back in 1999, interactive math demos on the web were built as Java applets -- small programs that ran in the browser. Java applets have been dead technology for years; every one of Tao's old demos had gone dark. Rewriting two dozen of them by hand in a modern language would be a tedious multi-day slog, which is exactly why they had stayed broken. He describes one, a honeycomb applet co-written with Allen Knutson, as "a particularly tricky one to code by hand" -- and it "came back to life."

The more striking half is the new work. Tao had a vision in 1999 for a special-relativity drawing tool -- he calls it "Inkscape, but in Minkowski space" -- and abandoned it because the Java was too complex. "After a couple hours of vibe coding with an AI agent, I was finally able to generate an applet that matched the vision I had back in 1999." Think of it like finding a box of half-finished blueprints in the attic and discovering you now have a contractor who can build any of them over a weekend. The projects that were never worth the time suddenly are.

Hackers News commenters converged on the same use case. One wrote that using LLMs to build "the nice-to-haves that I've always wanted but never had time for is one of their great use cases. Visualizations are a perfect use case because they don't have to be perfectly architected, maintainable code." That is the operative insight: the value is highest exactly where the code is a means to an end, not a shipped product that must be maintained for years.

Why it matters: this is the highest-authority "it actually worked" datapoint of the day, and it reframes the coding-agent conversation. The interesting capability is not writing new code from scratch -- it is finding bugs in existing code, which is precisely what happened to Tao's 27-year-old applets. That echoes a separate report the same week in which an AI agent found a long-standing numerical bug in widely-used inference software.

The honest caveat is Tao's own, and it is the responsible boundary. He accepts the risk because "these are secondary visual aids rather than critical components of a mathematical argument." A visualization that is slightly wrong is a nuisance; a proof that is slightly wrong is a disaster. Tao is endorsing AI agents for the contained, checkable, low-stakes end of his work -- and pointedly not for the load-bearing mathematics itself. He also edited the linked transcripts to remove tedious implementation chatter, so they show the collaboration, not an unfiltered log.


Primary source, verified: read the paper →

Key questions

What did Terence Tao build with the AI agent?

He ported roughly two dozen of his 1999 Java math applets to modern JavaScript in a few hours, and then built two brand-new visualization tools he had abandoned in 1999 as too complex to code by hand.

Was the AI-generated code any good?

Tao called it a net wash: the agent introduced one minor bug but found two pre-existing bugs in his original 1999 code that he had never noticed.

Does Tao trust AI code for serious math?

He accepts the risk here because these are secondary visual aids rather than critical components of a mathematical argument, and says so explicitly.
Cite this

APA

Ground Truth. (2026, July 12). Terence Tao brought his 1999 Java applets back to life with an AI agent -- and it found bugs he never knew about. Ground Truth. https://groundtruth.day/news/terence-tao-revives-1999-apps-with-coding-agents.html

BibTeX

@misc{groundtruth:terence-tao-revives-1999-apps-with-coding-agents,
  title  = {Terence Tao brought his 1999 Java applets back to life with an AI agent -- and it found bugs he never knew about},
  author = {{Ground Truth}},
  year   = {2026},
  month  = {jul},
  url    = {https://groundtruth.day/news/terence-tao-revives-1999-apps-with-coding-agents.html}
}

Topics: coding-agents · mathematics · terence-tao · vibe-coding · productivity

Comments are replies to this story on Bluesky — reply with any Bluesky account to join in.