# The Next Scaling Problem

- **ID:** 786
- **Kind:** post
- **URL:** https://tetral.ai/blog/the-next-scaling-problem/
- **Authors:** Yang Li
- **Venue:** Tetral
- **Source:** blog
- **Language:** en
- **Access:** public
- **Tags:** agents, cloud-infrastructure, sandbox, durable-execution, tetral
- **Topics:** agentic systems, cloud infrastructure, durable execution
- **Added:** 2026-09-29
- **Verified:** 2026-09-29
- **Research status:** done
- **Page:** https://papers.projxon.ai/entries/786

## Summary

Long-form engineering essay on scaling cloud agents by pulling the runtime out of the sandbox and rebuilding the system around durable agent work. Core principles: (1) A computer should be something the agent calls, not somewhere the agent lives -- the agent is a stable shared service while sandboxes are disposable execution resources with their own lifecycle (models, memory, files, credentials, tools each get one). (2) Write ahead of execution -- a WAL-style protocol: record a transition before performing the operation it authorizes, with stable identities as idempotency keys, so a replacement runtime can reconstruct a thread from committed facts after a failure. (3) Durable delivery via a queue that outlives producers. Describes the Tetral architecture: Gateway (provider integration, stateless), Bridge (PostgreSQL commits with ownership/order checks), Queue (ordering, leases, retries, dead-lettering), Sandbox Service (computer lifecycle), Public API + Event Stream; the runtime itself is replaceable compute running a pure reducer with no DB/network I/O. Storage model: session_events (ordered event log), session_messages (model-context projection), session_bridge_operations (idempotency receipts); compaction adapted from OpenCode. Contrasts with Cursor's Temporal-based durable-execution approach.

## Research notes

- Discovery: recommended by Yifan Xu (@yifanxu_ephai, CS @ UofT; author of LayerFS and Ephemera) on 2026-09-29: https://x.com/yifanxu_ephai/status/2104867172527087884
- Author: Yang Li (@YangLi_leo), founder of Tetral (previously built Anoma, a cloud agent product on E2B).
- The tweet highlights four chapters: "A computer should be something the agent calls, not somewhere the agent lives", "Write ahead of execution", "A durable participant", "Scaling the system around intelligence"; and explains why agents should live outside the sandbox with compute/storage separated, plus how that architecture enables multi-agent workspaces.

## Similar entries

- [AgentEnv (Scale AI) — open framework for building RL agent environments](https://papers.projxon.ai/entries/1276) (code, #1276)
- [When Agents Slow Down: Understanding LLM Agents' Test-Time Strategies via Elo-per-token Analysis](https://papers.projxon.ai/entries/802) (paper, #802)
- [ProgramBench: write-a-program-from-scratch SWE-agent benchmark; Muse Spark 1.3 results](https://papers.projxon.ai/entries/830) (benchmark, #830)
- [LibraryDesignBench: can agents design libraries other agents can use?](https://papers.projxon.ai/entries/819) (paper, #819)
- [PivotOPD: Learning to Recover from Pivotal Mistakes in Multi-Turn Agents](https://papers.projxon.ai/entries/832) (paper, #832)
- [daVinci-Env: Open SWE Environment Synthesis at Scale](https://papers.projxon.ai/entries/1126) (paper, #1126)
