ZeroNoise Logo zeronoise
Post
Ronacher: have the agent write its own test suite before porting a codebase
•
5 min read
• 78 docs
Armin Ronacher argues that agent-led reimplementation works best when the agent first writes tests against the original, and points to a readline port as an example. Also covered: Karpathy's HackerTube process, the return of `ultrathink` in Claude Code, and T3 Code's managed policies.

Porting with an agent: have it write the tests first

Armin Ronacher disagrees with the common reply that "the value is in the testsuite." In his view you don't need an existing test suite to rebuild software. You are "probably better off having the agent build its own test suite specifically for porting," partly because "lots of pre-existing tests are bad for hill climbing." His example: a few weeks ago an agent reimplemented Excel's formula engine and built its own test suite from scratch .

His public example is lineread. It is readline reimplemented against synthetic tests the agent first wrote against the original readline. The steps:

  1. Have the agent write tests that pin down how the original behaves.
  2. Have it build the new implementation against those tests.

He calls the result "basically a GPL to MIT laundromat" . Take that as a warning that this workflow raises licensing questions, not as a legal opinion.

He also predicts that an Opus 5.5 agent could reimplement all of CPython "probably within two weeks without any human input, against just the tests." He thinks it might reach full ABI compatibility, drop the GIL, add a JIT, and beat CPython on every measurable metric . This is a prediction, not a result. His advice for anyone who tries: "make it look at the JVM rather than cpython for design decisions" .

Karpathy's HackerTube: the human handles only accounts and infrastructure

Karpathy built HackerTube in about two hours with Opus 5.5. Claude filtered 43M Hacker News comments from 20 years down to 6,454 videos that people keep recommending . His default setup is the Claude Code desktop app for Mac with Opus 5.5 on Medium effort. He talks only to Claude and has it do everything. He did three things by hand in the browser:

  • created a Google Cloud API key for YouTube metadata;
  • started a VPS;
  • bought the domain.

Then he gave Claude the server's IP and told it to "update, secure, harden, deploy and optimize the code," and it did all of it . He published the comment-analysis data as one zip file. The idea is that you point your own Claude at it and ask for your own version .

Claude Code: ultrathink works mid-turn again

ultrathink is back in the Claude Code CLI. Anthropic's @dmwlff says it had been turned off for a while because it was "weird and maybe confusing." He mostly runs Opus 5.5 on medium and uses ultrathink on turns that need more effort . Addy Osmani's tip: if a task turns out harder than expected, type ultrathink while Claude is working. Effort goes up for the rest of that turn. This works in the terminal on the latest release . Together with Karpathy's Medium default, this suggests a pattern: run at medium effort and raise it only for the turns that need it.

T3 Code: org policies, and no fixed agent roles

T3 Code now supports managed policies, so IT teams can configure how it runs across an organization . Theo says it is used internally at companies "from Microsoft to AWS to Apple" . Smaller additions: custom "snooze" time options , and one user reports that using T3 Code on a phone to reach a remote VPS stayed smooth on poor travel internet .

On design, Theo says T3 Code is exploring "bot"-like systems, "specifically meta threads for commanding your threads/agents/envs." It will not have defined roles, which he calls "artifacts of a time where models were much dumber" . He says everyone disagreeing so far has been a heavy local-model user . A widely shared interview teaser argues the opposite. It credits a SpaceXAI engineer (formerly at Cursor) with running 70+ single-job bots, each with its own memory. She talks only to a "Chief of Staff" bot that watches Slack and starts work on its own . The post is promotional, so treat the details as unverified.

Short notes

  • uv + Python 3.15: Simon Willison's rule is "If in doubt, delete the uv.lock file." Git-ignored uv.lock files left behind by uv run pytest can pin dependencies that don't have 3.15 wheels yet. His example was watchfiles==1.1.1 failing because PyO3 supports up to 3.14 .
  • Trust in agent-built software: Willison quotes Kyle Kingsbury's Jepsen analysis of ParticleDB 1.1.4: LLMs make the usual signs of a mature system "easier to counterfeit." Kingsbury asks how maintainers can show users their software is correct and documented accurately .
  • Antigravity UI sidecars: Google DeepMind researchers built an interactive 3D biomolecular structure viewer as a sidecar in the Antigravity workspace. It let them inspect structures alongside the agent while searching millions of uncharacterized proteins .
  • Production agent controls: Simon Budziak's walkthrough covers five controls, with code, for agents built on LangGraph and LangSmith. In one, a confidence gate sends about 15% of conversations to a clinician, and clinicians judged 80% of those handoffs appropriate .
  • Ask for many options in one image: For an app icon, Salvatore Sanfilippo asks the image model for one sheet with many different icons in a single pass instead of waiting through one-at-a-time attempts . Once a concept looks promising, he asks for a panel of variations on it . GPT pointed out that the phone in his chosen design was too small at icon proportions. He then generated four close-up variants and picked B .
  • Google Carbon: Dylan Patel apologized to Google, saying "they cooked with Carbon." He calls it spikier across domains and capabilities, but "really good in a few areas" .
Ronacher: have the agent write its own test suite before porting a codebase
Salvatore Sanfilippo
Profile

For an iPhone app icon, Sanfilippo recommends asking an image generator for one sheet containing many distinct concepts in a single pass, instead of waiting through sequential one-icon iterations; once a concept is promising, ask for variations around it . GPT helped him spot that the phone looked too small at icon proportions; he then generated four close-up variants, chose B, and said the final icon worked well at small size .

Generare l'icona di un'app per iPhone con l'AI: il mio processo
Riley Brown
  • Karpathy says he built HackerTube in about two hours with Claude Code on Mac, using Opus 5.5 at Medium effort; Claude filtered 43 million Hacker News comments spanning 20 years down to 6,454 repeatedly recommended videos.
  • His manual setup was creating a YouTube API key, booting a VPS, and buying a domain; after he gave Claude the VPS IP, he delegated updating, securing, hardening, deploying, and optimizing the code. He also shared the comment-analysis data as a zip for people to prompt Claude to make their own version.
Weekend hack: HackerTube. I was annoyed with YouTube's recommendations so I had Claude filter down 43M comments over 20 years of HN to 6,…
Theo - t3.gg

T3 Code added managed policies so teams can configure how the tool operates across an organization. Theo reports internal adoption at Microsoft, AWS, and Apple. T3 Code also supports /btw and side chats, and works with any model or harness.

Day 32/ Sorry unemployed folks, this one's not for you. T3 Code now supports managed policies, allowing it teams to configure how T3 Code… We've had internal adoption everywhere from Microsoft to AWS to Apple. Working hard to make T3 Code an incredible experience for solo dev… Day 31/ T3 Code has /btw and side chats now. I caved. Works with any model or harness. Enjoy. [![Video](https://pbs.twimg.com/amplify_vid…
Brent Traut

A shared interview teaser attributes a 70+-bot setup to a SpaceXAI engineer (formerly at Cursor): the user talks only to a Chief of Staff bot, while specialist bots each handle one job and keep their own memory. The setup is presented as covering email, calendar, Slack, and code, with the Chief of Staff monitoring Slack and starting work proactively, alongside cloud agents.

This is f\*cking insane. SpaceXAI engineer (ex-Cursor): "99% of people run one GrokBot for everything I run 70+ bots, and I only talk to …
Simon Willison's Weblog

Greptile’s sponsored pitch describes a code reviewer that uses Computer Use to open an app and click through it to catch bugs; teams can configure its test environment and specify key user journeys for testing.

Quoting Kyle Kingsbury
Andrej Karpathy

Karpathy built HackerTube in about two hours with Claude Code for Mac and Opus 5.5 on Medium effort; Claude filtered 43 million Hacker News comments spanning 20 years into 6,454 recommended videos. He delegated nearly all implementation to Claude, manually creating a Google Cloud API key for YouTube metadata, provisioning a VPS, and buying a domain; after giving Claude the VPS IP, he asked it to update, secure, harden, deploy, and optimize the code. He shared the underlying analysis as a ZIP so users can give it to Claude and make their own version.

Weekend hack: HackerTube. I was annoyed with YouTube's recommendations so I had Claude filter down 43M comments over 20 years of HN to 6,…
Addy Osmani

In the latest Claude Code terminal release, if a task proves harder than expected, type ultrathink while Claude is working; it raises effort for the rest of that turn. A practitioner who mostly runs Opus 5.5 at medium says they use it selectively when a turn needs extra effort.

Claude Code tip: if a task turns out harder than you expected, type ultrathink while Claude is working. It raises the effort for the rest… ultrathink is back in the CC CLI. We turned this off for a while because it's weird and maybe confusing. But I like weird, and I don't th…
Theo - t3.gg

Theo says they are exploring bot-like systems with meta threads for commanding threads, agents, and environments, rather than fixed role systems; he considers defined roles an artifact of less capable models.

[@itssotsot](https://x.com/itssotsot) Defined roles and “agent” archetypes are so 2024 lol We are definitely exploring “bot” like systems…
Theo - t3.gg

Theo argues that fixed agent roles and archetypes are outdated, describing them as artifacts of weaker models; he is exploring bot-like systems where meta-threads command threads, agents, and environments instead of using predefined roles. He says the pushback he has seen so far comes from heavy users of local models.

[@itssotsot](https://x.com/itssotsot) Defined roles and “agent” archetypes are so 2024 lol We are definitely exploring “bot” like systems… So far, everyone saying I’m wrong about this has been a big user of local models 🙃 [https://x.com/theo/status/2117017964121821409](https:…
Theo - t3.gg

T3 Code’s GitHub-star count is sensitive to an in-app ask: Theo added a minimal reminder after users sent five prompts, and says stars per day immediately rose 10×.

I saw some people questioning the popularity of T3 Code based on the number of Github stars. I added a minimal notification in-app that r…
Theo - t3.gg

Theo says T3 Code is free and that he built a GUI because he does not like TUIs.

"Theo only talks crap about TUIs because he is selling a GUI with T3 Code" Well first off, T3 Code is free Second off, please use your br…
LangChain

Simon Budziak’s walkthrough covers five controls—with code—for two production agents built on LangGraph and LangSmith. In a patient-education assistant, a confidence gate routed about 15% of conversations to a clinician, and clinicians judged 80% of those handoffs appropriate. Full walkthrough: https://sobalabs.ai/blog/langgraph-agents-in-production/

LangChain Community Spotlight: Five Controls for LangGraph Agents in Production 🛠️ Our Poland Ambassador Simon Budziak (@simon\_budziak) w…
Armin Ronacher ⇌

Armin Ronacher speculates that an Opus 5.5 agent could reimplement CPython in about two weeks with no human input, working only against tests, and potentially achieve ABI compatibility, no-GIL support, a JIT, and better measurable performance; this is a prediction, not a reported result. For anyone trying the approach, he recommends using the JVM rather than CPython as the reference for design decisions.

I'm convinced that at this point, you could have an Opus 5.5 agent re-implement all of CPython probably within two weeks without any huma… And in case someone is encouraged to try it: make it look at the JVM rather than cpython for design decisions.
Theo - t3.gg

A developer reported using T3 Code on mobile to access a remote VPS while traveling, and said it remained smooth over poor internet.

Yesterday I was travelling and didn’t have very good internet throughout, but I genuinely didn’t even feel it when using T3 Code on my mo…
Armin Ronacher ⇌

Armin Ronacher described a test-driven reimplementation workflow: the agent first created synthetic tests against the original readline, then reimplemented readline against those tests. He characterized the result as “basically a GPL to MIT laundromat,” flagging a licensing concern rather than establishing a legal conclusion.

On my point about the tests. This is readline reimplemented against synthetic tests that the agent first created against the original rea…
Google Antigravity

Google DeepMind researchers used Antigravity to search millions of uncharacterized proteins, validate a novel antimicrobial peptide, and generate a wet-lab experimental plan in minutes. They also built an interactive 3D biomolecular structure viewer as an Antigravity UI sidecar, enabling structure inspection alongside the agent in the workspace.

Watch how [@GoogleDeepMind](https://x.com/GoogleDeepMind) researchers used Antigravity to navigate millions of uncharacterized proteins, …
Armin Ronacher ⇌

For agent-led reimplementation or porting, an existing test suite can help but is not necessary: have the agent build a purpose-specific suite, since pre-existing tests may be poor for hill climbing. Ronacher says an agent reimplemented Excel’s formula engine and created its own test suite from scratch .

A pretty common reply today is "the value is in the testsuite". I'm not sure if this is LLM slop or genuine replies, but you don't actual…