Revive old apps and sketch new ones with a coding agent
Terence Tao used a coding agent to port old Java applets to JavaScript and to build two new math visualizations in conversation.
- What they did
- He gave an AI agent about two dozen Java applets from 1999 and asked it to recreate them in JavaScript using the source code and each applet’s web page. For the more complicated ones, he had the agent first build the mathematical core and check it before adding the interface. He also used the same style of back-and-forth coding to make two fresh tools: a spacetime diagram for special relativity and a Gilbreath conjecture visualizer.
- How it went
- The porting work finished in a few hours, and the applets now run again. He noticed one small bug tied to dragging, and the agent also uncovered two bugs in the original programs. Each new app took a few hours as well, and he describes the relativity tool as an alpha version.
- Tips
- Tao says his own programming skill and subject knowledge were key for guiding the agent and spotting issues. He treats low-risk visual tools as a reasonable place to tolerate some mistakes while iterating.
Try it yourself with Claude Code
I want you to help me build or restore an app in [language/framework] at [path or new folder]. First, give me a brief plan. Then work in small steps: inspect the code, propose the next change, make it, and test it before moving on. If the app has a tricky core, build and verify the underlying logic first, then add the interface. Stop and ask for my approval before any action that would delete files, overwrite important work, send data, make payments, or submit anything. When you finish, tell me exactly what changed and how I can run it.
Fill in the [brackets]. Agents can make mistakes, so review anything before it is sent, paid or deleted.
Get 3 agent uses like this every morning
With the day's top AI news. Free, and one click to unsubscribe.
Related agent uses
Add simple forgetting to agent memory
A developer added a basic forgetting layer to an agent’s memory and said it worked extremely well right away.
Set up gated build, test, and deploy agents
A developer gave agents managed checks and deployment tools so they could build, test, and ship changes in about 10 seconds.
Convert a spoken brief into a working task tree
A developer fed a spoken project brief into LLM agents, which turned it into a spec, plan, scaffold, module tickets, and PRs.
Create a CLI coding agent from a Python LLM base
Claude Code turned Simon Willison’s Python LLM template into a working CLI coding agent from two prompts.
Auto-file Svelte mistakes as GitHub issues
They added an opt-in skill that turns concrete Svelte mistakes into draft or filed issues in the Svelte AI tools repo.
Find native browser replacements in a web app
A coding-agent skill helps developers swap older front-end patterns for newer browser APIs.