Topic

Runtime

The layer agents run on: sessions, turns, recovery and compaction.

All technical writing

2026

  1. Designing out shared fate in an agent runtime

    Why process-per-agent is affordable once idle agents unload, how to fence a single SQLite writer, and why a plan that resends history makes the cached prefix the cost model.

    RuntimeStoragePerformance

  2. Moving a cloud coding agent to a Mac with consumer-driven contracts

    Running a cloud coding agent on one Mac by building shims from its call sites, mirroring upstream unedited, and reviewing each change from the goal and diff alone.

    PortingRuntimeVerification

  3. Counting interventions instead of adding watchdogs

    Counting why people step in to an agent platform, letting threads own goals judged by observed progress, and running recovery code in shadow before it may act.

    Agent systemsRuntimeEvaluation

  4. Keeping a shared event loop fast across sixty agents

    Why a shared event loop is only as fast as its worst synchronous stretch, and how encode-once fan-out, closing back-pressured sockets and group commit kept one gateway responsive for sixty agents.

    PerformanceRuntimeAgent systems

  5. Why queue redelivery changes how you contain an agent browser

    How at-least-once queue redelivery changes containment for a headless agent browser: costs bounded before work, limits on attempts and work, and a JavaScript interpreter fenced off.

    SelectedSecurityRuntimeAgent systems

  6. Coordinating parallel coding agents in code, not prompts

    Why parallel coding agents need coordination in code: admission control for one sandbox, reviews pinned to a source revision, and decisions journaled before acting.

    SelectedOrchestrationAgent systemsRuntime

  7. Write-ahead logging for long-running agents

    What an agent runtime should persist before it acknowledges a turn, edits files or dispatches a background job, and how recovery compares that intent with what actually happened.

    RuntimeStorageAgent systems

  8. Append-only context for long-running coding agents

    How to lay out a coding agent's prompt so file edits keep the prompt cache warm, compact a conversation without losing the source, and keep token counts honest across providers.

    MemoryRuntimeAgent systems

  9. From a single loop to a coding-agent harness

    What running a minimal coding agent forces into its harness: sub-agents as context isolation, resource-keyed parallel tool calls, and deterministic course correction.

    Agent systemsRuntimeOrchestration

2007

  1. Running PHP as an event-driven network server

    Why PHP's execution model, not the language, kept it from holding connections open, and what a select-based event loop must handle: partial writes, idle expiry and a response that never ends.

    RuntimeOpen source