Skip to content
Agents tracked: 501 Releases (7d): 777 Agent status: no reported issuesSince last limit reset: Claude 10d · Codex 8d For AI agents: Markdown Updated Nov 21, 2026
Showcase Simon WillisonResults as reported by Simon Willison

Porting JustHTML from Python to JavaScript with Codex CLI in an afternoon

Simon Willison gave Codex CLI a handful of high-level prompts to port JustHTML to a dependency-free JavaScript library. He published the repo and a playground.

The problem

Porting a library between languages by hand is tedious. An existing shared test suite makes it work an agent can complete with little supervision.

How they did it

  1. Point the agent at the original Python library and the html5lib-tests suite.
  2. Give a few high-level prompts and let the agent loop until the tests pass.
  3. Review the commits and publish the result as simonw/justjshtml.

Results as reported by Simon Willison

  • The library passes 9,200 tests from the html5lib-tests suite.
  • The agent produced 9,000 lines of fully tested JavaScript across 43 commits.
  • The title reports 4.5 hours of agent run time.

These figures are as reported by Simon Willison in Simon Willison's Weblog ↗ (Dec 15, 2025). AgentGid did not measure or independently verify them.

Takeaway. If a problem can be reduced to a solid test suite, a coding agent can do a port like this with little supervision.
AgentGid's take

This suits a solo developer or small team that already has a mature shared test suite and can read a few thousand lines of generated code, since the review of 43 commits is the real work. Watch the 4.5 hours of run time: it is the case's own reported figure, and on API-key billing the token cost is not stated. Pi (Free, OSS) is a cheaper alternative, though you pay your model provider.

The agent used here

Similar use cases

Guides