cd /news/ai-agents/small-python-v0-4-0-close-to-cpython… · home › topics › ai-agents › article
[ARTICLE · art-161446] src=julin.ai ↗ pub= topic=ai-agents verified=true sentiment=↑ positive

Small Python v0.4.0: Close to CPython Speed

Small Python v0.4.0, released on GitHub by developer soasme, now runs at 0.98x–1.1x of CPython speed, up from 1.3x–1.5x slower, after a single Claude Code session with /remote-control enabled was used to benchmark and optimize the project. The author said the agent found and fixed performance opportunities over a day of work, and that after he supplied a few ideas it closed the remaining gap. The release matters as a demonstration of an AI coding agent iterating on a language implementation until it approaches CPython performance.

read1 min views1 publishedOct 30, 2026

This is a follow-up to the Small Python idea. I burned one more day of tokens to benchmark it and improve the performance. The setup is the same: one single Claude Code session, with /remote-control enabled so that I can prompt it while I’m out. In the morning I attended a local farm event, and in the afternoon we went trick-or-treating for Halloween.

The agent is capable of finding opportunities and fixing them correctly. Often it can run a few hours before it prompts me with more potential things to fix. I generally just ask it to continue.

At one point it stopped and claimed it wouldn’t gain much more, while it was still 1.3x–1.5x slower than CPython. I gave it a few ideas, and now it runs at 0.98x–1.1x of CPython.

In the end, I’m more than happy to ship a new version: Small Python v0.4.0.

── more in #ai-agents 4 stories · sorted by recency
── more on @small python 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/small-python-v0-4-0-…] indexed:0 read:1min 2026-10-30 · —