The LLM Is an ALU
These articles are AI-generated summaries. Please check the original sources for full details.
The LLM Is an ALU
While explaining why his own agent was wasteful, Matt watched it burn four consecutive tool calls just to store one fact—a robo message followed by three calls and a summary before anything hit storage.
Why This Matters
Treating an LLM as a slow but fixable processor misses its fundamental nature—it’s stateless and non‑sequential by design. No amount of parameter scaling adds a program counter or persistent memory; every forward pass starts from scratch with whatever input you provide today.
Key Insights
- A CPU has registers and a fetch‑decode‑execute cycle; an LLM has neither—it transforms input once per call with no internal loop.
- The robo‑message hack injected fake user messages into conversation history because APIs originally lacked tool injection—analogous to self‑modifying trampolines in ROM‑bound computers.
- matbot’s contextual_search tool works like demand paging in MMUs—skills are fetched only when requested via page fault rather than loaded upfront into precious context window.
- The ARM7 full context switch took six instructions microsecond speed (Pogo phone kernel circa 2001) proving cheap save/restore enables reliable sequencing around any compute core.
Practical Applications
- [Use case] Agent skill “Remember This” performed repeated model calls when harness could have written directly – [Pitfall] Relying on expensive model loops for purely mechanical operations wastes tokens and latency.
- [Use case] Loading every skill into system prompt at conversation start – [Pitfall] Bank‑switching without eviction permanently occupies limited context window leading to bloat.
- [Use case] Compiling procedural markdown skills into TypeScript plugins – [Pitfall] Overcompiling narrative or reference tables where the model’s generation value outweighs any efficiency gain.
References:
Continue reading
Next article
How Locale Files Drift Behind English and How to Fix It Automatically
Related Content
Anthropic Quantifies Expertise Multiplier; Practitioners Build Agent-Side Control Plane
Anthropic's study of over 400K Claude Code sessions found expert users generate ~2.4x more agent actions per prompt than novices; five independent operators converge on deterministic enforcement architecture.
Loop Engineering Replaces Prompt Engineering: How Autonomous AI Loops Could 10x Your Coding Bill Without Guardrails
Designing autonomous loops for AI coding agents could 10x costs overnight; budget caps, verifier models, and task routing cut bills 60-70%.
'Zero-UI' Architecture Emerges: Engineer Builds Agent-Native Data Engine in Rust Using MCP
"thingd", an open-source agent-native data engine built in Rust, uses MCP to replace traditional frontends with sub-millisecond capabilities.