Newsletter / Technology
The Agents Are Leaving the Sandbox
Cheap implementation is not the same as cheap operation.
Amor Newsletter
··7 min read
On this page
Compression Promised a Cheaper Agent, Then the Agent Took More Turns
The AI tooling market has rediscovered a very old accounting trick: measure the thing you made smaller, call it savings, and pray nobody opens the invoice. RTK, a shell-output filter with more than 79,000 GitHub stars, reports a metric called rtk gain based on removed command-output bytes divided by four. That is a useful measure of output removed. It is not, as its own README rather admirably concedes, equivalent to reducing an agent bill by the same percentage. Quesma’s benchmark report puts the distinction under load.
Across Terminal-Bench 2.1 runs, Quesma found no clear task-level cost difference for Claude Code with Fable 5.0: RTK was 1% more expensive. OpenCode with DeepSeek V4 Pro 0813 was 17% more expensive on the authors’ task-weighted measure, and still 18% more expensive across 36 DeepSeek tasks where every run passed. The mechanism is not mystical. RTK made each DeepSeek turn somewhat smaller on average, but generated 18% more turns overall. Agents are not pipes; alter their observations and you alter their policy. Congratulations, the token compressor has entered the control loop.
Caching makes the marketing arithmetic even less romantic. The report says cache reads accounted for 94% of Fable input tokens and 98% of DeepSeek input tokens, while being much cheaper than ordinary input. Meanwhile, RTK rewrites shell commands but not separate Read, Grep, and Glob tools, and many shell calls were already using output limiters. The largest DeepSeek fiasco involved a version-specific find rewrite failure that produced 339 consecutive errors over roughly 12 minutes and a run costing about nine times its baseline. It later passed, which is exactly why pass/fail alone is a dangerously flattering performance review.
The technical lesson is mundane and therefore valuable: benchmark cost per successful outcome, inspect turns and cache behavior, and test the actual agent-tool-model configuration you deploy. A counter saying 349.2 million tokens were “saved” can coexist with a larger bill. Your FinOps dashboard does not care how spiritually slim the terminal output became.
Shopify Trades One Codebase for Better Boundaries
Shopify is moving its mobile apps from React Native back to Swift and Kotlin, after having gone all-in on the cross-platform framework in 2020. This is not a confession that React Native was a bad decision; Shopify calls the earlier strategy extremely successful. It is a claim that LLM-assisted implementation has changed one of the original tradeoffs. Building the same feature twice remains two implementations. Shopify says the cost of that duplication is no longer decisive when agents can translate between platform versions, implement against shared specifications, run tests, and survive review checkpoints.
Its first proof point is unusually concrete: the Shop app was rebuilt as a native app and published in 12 weeks. The much larger Shopify app—more than 300 screens, widgets, an Apple Watch app, complications, and Siri Shortcuts—is now being migrated for a later-2026 release. Shopify chose a greenfield rebuild rather than gradually converting its existing codebase. In conventional migration lore, that is the part where a project manager begins developing a meaningful relationship with a risk register. Here, the company argues that the existing React Native application gives agents a working reference while a clean-slate architecture avoids hauling every historical compromise into both new platforms.
The more interesting artifact is Helix, Shopify’s migration system. It reads a React Native screen and proposes small, ordered checkpoints. Each must demonstrate behavior with tests, visually match the running app, pass two adversarial code reviewers, and receive human approval before it is committed. That is less “AI writes the app” than “AI is permitted to proceed through a very narrow airlock.” The distinction matters. Agent autonomy becomes useful when it is bounded by artifacts that can be checked, not by an executive’s faith that the model seemed confident in a demo.
Shopify is also separating business logic from UI, making it runnable headlessly on desktop and accessible through a CLI. That architecture gives agents a way to inspect state and perform actions without treating pixel coordinates as an API, arguably the most sensible sentence in the whole generative-AI era. Yet the strategy creates real ecosystem consequences: Shopify will sponsor React Native Skia only through 2026, maintain Restyle only through 2026, and seek longer-term stewardship for FlashList. Framework choice was once a developer-experience referendum. With capable agents, it is increasingly a question of where you want your interfaces with platform vendors, dependencies, tests, and failure modes to live.
A Consumer Chatbot Acquires a Bouncer and a Clinician Problem
As coding agents gain carefully fenced access to repositories, consumer chatbots are acquiring a different form of perimeter control. Anthropic’s Claude age-assurance policy says its consumer product is for people over 18. Users confirm their age at signup; where Anthropic detects signals of possible minor use, it may disable the account pending verification through Yoti. The company says it receives only a pass/fail result, while Yoti offers selfie-based age estimation, identity-document verification, or an over-18 attribute from its Digital ID app.
This is a sensible reminder that “general-purpose assistant” is not a neutral product category. Once a system is positioned as a companion, tutor, confidant, search engine, and all-purpose late-night interlocutor, it inherits the awkward responsibility of deciding who is allowed through the door and what it should infer about them. Anthropic’s policy does not explain its minor-activity signals, their accuracy, geographic coverage, or an appeals process. Those omissions are not proof of misconduct; they are the operational questions that appear the moment a safety policy graduates from slide deck to account suspension.
The adjacent question is what happens after the adult gets in. In a contributed article for The Next Web, Cit Labs founder Christy Chen argues that general chatbots are poorly designed for emotional support because their incentives favor engagement and productivity, not therapeutic judgment. Cit Labs is prototyping a system that aligns noninvasive EEG data with voice and language, with clinician-informed guardrails and user-specific interpretation. It has no reported clinical results in the article, and its proposed product should be read as a design thesis rather than established treatment.
Still, the diagnosis deserves attention. A language model trained to maintain a pleasant conversation is not thereby trained to know when to challenge, pause, escalate, or stop. Adding a sensitive data stream does not magically solve that problem; it makes governance, consent, validation, and error handling more consequential. The frontier product is increasingly not a more eloquent chatbot. It is a system that can reliably recognize the limits of its role—an achievement considerably harder to ship than another button marked “Ask AI.”
Autonomy Is Becoming an Interface Design Problem
These stories share a common reversal. The initial pitch for AI was subtraction: fewer engineers needed for parity, fewer tokens needed for coding, fewer humans needed in the loop. The actual engineering work is additive. Shopify adds checkpoints, adversarial reviewers, visual comparison, human approval, a headless architecture, and a CLI. RTK adds a command-rewriting layer whose effects must be evaluated across turns, caches, task success, and version-specific breakage. Claude adds detection and third-party age verification. The product is no longer merely the model; it is the elaborate arrangement of constraints around it.
That should change what senior technical teams measure. Do not ask whether the agent is autonomous in the abstract, a phrase with all the analytical precision of “cloud-native.” Ask: autonomous over which actions, against which state model, with what rollback, under whose review, and at what marginal cost per completed task? A system that takes a small, reviewable step and leaves evidence may be more useful than one that produces a glorious uninterrupted trajectory toward an incident postmortem.
There is also a political economy hiding in the implementation details. Cross-platform frameworks abstracted platform differences because human attention was scarce and expensive. Output compressors promise to abstract away context because model tokens are scarce and expensive. Age gates and emotional guardrails try to abstract away difficult social judgment because support capacity is scarce and expensive. In every case, the abstraction leaks. Usually it leaks at 3 a.m., into production, through a dependency nobody owns anymore.
The durable competitive advantage, then, is unlikely to be the most theatrical model integration. It will be the organization that can expose the right state, specify the right boundaries, and audit the resulting behavior without mistaking telemetry for truth. Agents may indeed leave the sandbox. Just do not confuse the open gate with a map of the minefield.
Sources
Generation cost
API-equivalent token estimate (USD)
0.185745
Total tokens
51,167
Token-rate estimates do not represent per-use subscription charges.