Astra for Coding: Why Are We Doing This Again?

Armin Ronacher · 2026年9月7日

AI 摘要 AI 生成,可能有误

作者认为,AI 工程越来越像“内卷”——付出不断加码,产出却毫无提升——他还讲述了自己用一个周末进行的“软件工厂”实验:使用令人印象深刻的新模型 GPT 6 Astra,在 35 小时内烧掉约 40 亿个 token,却没有为真正的软件工程产出任何有价值的东西。他举例展示了 Astra 的怪异行为,例如在工具调用时过度编写“代码高尔夫”风格的 Python——包括用字符串拼接生成 C 代码、压缩 socket 测试、修补自己的 agent 笔记,以及诸如 Bash 运行 Python、Python 再运行 Node.js 来调用 PowerShell 这样离奇的调用链。他怀疑训练过程过度奖励长周期任务的完成,却未能对糟糕的代码质量进行惩罚。

I’m more and more convinced that all of AI engineering is Neijuan (内卷, meaning curl inwards). In China it describes a system that demands ever more effort and competition without improving output. The way in which it sometimes shows up in the West is the 996 nonsense. The English term for Neijuan is “Involution” from the book Agricultural Involution. Agricultural involution describes the intensification of farming that raises productivity per square meter while leaving productivity per head unchanged.

That’s how I feel about AI right now.

Which brings me to GPT 6 Astra. Astra is by all accounts an incredibly impressive model. There is really not much I can say against this. It’s amazing at computer use, understands images and complex topics, and it’s relentless in its pursuit of completion. It is absolutely impressive; these types of models are going to change the world in one form or another.

继续阅读全文

为了尊重作者,这里只展示开头几段。你可以去原文阅读,或者在 HorizonReader 里读:划线做笔记、让 AI 帮忙。

更多来自 Armin Ronacher

Bob’s Company

AI 摘要Bob, a former software engineer who spent 27 years running a niche software company for car enthusiasts and mechanics, became obsessed with AI coding tools like Claude and Codex and fired all but three of his engineers, who now spend their days reviewing the AI-generated code he produces on weekends. Ironically, the same AI tools that Bob believes will replace his engineers are also making it possible for others to replicate his entire business, while his remaining, demotivated engineers may leave. His company could emerge leaner and better, or Bob could end up alone with no business at all.

Abolish Lock Poisoning

AI 摘要The article argues that Rust's mutex poisoning feature—where a mutex becomes permanently unusable after a panic while locked—should be removed or made opt-in, claiming the author has never seen code that handles poisoned locks correctly in practice. Real-world examples from RLS, Mozilla, Tokio, rust-analyzer, and even the standard library itself show poisoning causing deadlocks, cascading panics, and prolonged outages rather than enabling recovery, with most major Rust projects already using non-poisoning locks. The author proposes stabilizing std::sync::nonpoison as the default and offering a separate Poison wrapper for those who genuinely want poisoning semantics.

AI and Irontown

AI 摘要The author draws a parallel between Princess Mononoke and today's AI debate: like Lady Eboshi's Irontown, which gave work and dignity to society's outcasts while destroying the surrounding forest, AI empowers people who were previously excluded while imposing real costs on others, often those who don't benefit from it. As in the film, fear of losing a race for power drives destructive behavior whose consequences are not fully understood. The author calls for nuance in the AI conversation, urging us to embrace its genuine benefits, acknowledge its harms, and 'see with eyes unclouded by hate' before losing something irreplaceable.

Custom Voices With Qwen3-TTS

AI 摘要While building a dungeon crawler game, the author explored Qwen3-TTS for creating unique custom narrator voices, describing its three models: Base (voice cloning), CustomVoice (built-in speakers with instructions), and VoiceDesign (voices invented from text descriptions). Since the Base model cannot apply instructions like 'speak sadly' to cloned voices, they demonstrate a workaround: extracting the 2048-dimensional speaker embeddings from recordings and injecting them into CustomVoice, which enables emotional control over cloned voices. The article also shows creative uses of embedding arithmetic, such as blending two voices, using embeddings for speaker detection in podcasts, and shifting a voice along a computed gender axis.

What is Codemode

AI 摘要The article introduces Codemode, a new Pi 1.0 feature that lets the LLM orchestrate complex operations on the harness side by writing JavaScript that runs in a heavily sandboxed QuickJS/WASM runtime with no network, file system, or timers. Because tool calls are composed in code rather than passing through the model's context, Codemode avoids context bloat, enables concurrency and multi-step workflows, allows state to be stashed and reloaded across invocations, and exposes internal APIs like image generation and classifier models (e.g., Jev) as well as MCP servers without loading their tools into the context. The author illustrates these capabilities with real agent-generated examples, including image creation, sentiment analysis of GitHub issues, driving a tank game loop with a classifier, and tool discovery for MCP servers.