Blog

How agent platforms and the systems around them work, written while building them.

2026

  1. Deterministic wakes, reports, and memory for long-running agents

    How deterministic code can own wakes, reports and memory for long-running agents, with event batching and cold resets timed by the prompt-cache lifetime.

    SelectedOrchestrationMemoryAgent systems

  2. Keeping agent guardrails off the hot path

    How to keep an agent's guardrails off the hot path: four ordered checks, a judge that never sees untrusted text, and owner interruptions budgeted like latency.

    SelectedSecurityAgent systemsPerformance

  3. 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

    Loose warm ochre and rose flecks fill the lower half, leaning toward a slanting copper stroke below a heavy teal black sweep, and fade to scraped chalk at the bottom.
  4. Treating a sixteen-agent build like a production system

    Running a sixteen-lane agent build like a production system: reviewing specifications at their seams, a rival design as adversarial review, and measuring friction from session logs.

    OrchestrationAgent systemsPerformance

  5. 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

  6. Context over prompts and LLM judges for subjective output

    Why prompt wording and LLM judges failed to improve a model's taste in outfits, what measuring its context revealed, and why a judge must pass the contrast that matters before it gates output.

    SelectedEvaluationAgent systems

  7. Keeping agent memory current when facts change

    Similarity search returns an old fact and its correction together, and recall@k cannot tell them apart. Storing supersession on the record and grading the final answer can.

    SelectedMemoryEvaluationSecurity

  8. Stopping delayed retries from resurrecting deleted records

    How durable operation receipts and permanent tombstones stop a redelivered create from bringing back a record that was deleted while the create was still in flight.

    SelectedMemoryStorageAgent systemsReliability

  9. Replacing embedded Raft with Valkey in a configuration service

    A configuration service that embedded its own Raft: which responsibilities stayed in the service when Valkey replaced it, and why every multi-key write then became an atomic script.

    PlatformsSecurity

  10. Slow or fast news day? Picking the right number of updates

    Asked for ten updates, an LLM returns ten whether or not anything happened. A deterministic filter chooses what a daily digest covers before the model is called, and skips the call on slow days.

    Agent systemsVerification

  11. Inversion of control for agent pipelines and MCP servers

    Keeping a long agent job's goal and state in SQLite, splitting perception from judgment, and moving an MCP server's reasoning into the user's own assistant host.

    Agent systemsOrchestrationPlatforms

  12. Evaluating frontier models by replaying real agent work

    Building model evaluations from your own agent recordings, separating reviewer drift from model gains with a calibration rescore, and why an LLM judge can only verify what it can see.

    SelectedEvaluationAgent systems

  13. Where to measure equivalence when porting a coding agent

    Porting an open-source coding agent to a constrained platform: where to measure equivalence, why the original should generate the expected outputs, and why a findings ledger beats a parity score.

    SelectedPortingVerificationPlatforms

  14. Separating an agent from its platform for differential testing

    How to separate an agent from its platform with a mechanical test when verifying a port, and how to run the unmodified original as a deterministic oracle for differential testing.

    SelectedPortingVerificationAgent systems

  15. Verifying a coding agent port without a model in the loop

    How to verify a ported agent harness one step at a time with no model in the loop, by comparing each next request byte for byte and never counting supplied inputs as passes.

    SelectedPortingVerificationAgent systems

    Roughly parallel graphite and dry red strokes fill the canvas left to right, with bare bone gaps, some ringed with pale blue scrapes.
  16. 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

  17. Letting agents observe and maintain their own platform

    How to give agents access to the platform they run on: broad redacted reads, narrow self-referential writes, an explicit unknown for what is deployed, and reversible changes.

    Agent systemsSecurityPlatforms

  18. Replaying injected memory without breaking extended thinking

    Why memory injected into an extended-thinking request must be recorded and replayed at its original position, and how to keep history, canonical memory and admitted input apart.

    SelectedMemoryAgent systems

  19. Messaging live coding agents without confusing delivery with completion

    How a local MCP broker lets live Codex, Claude Code and hosted agent sessions message and wake each other, with journalled writes that never resend an unknown outcome.

    Agent systemsOrchestrationInterfaces

  20. Managing worker agents with service state instead of prompt rules

    Why a coordinator agent's duties to its workers belong in service state: stored waits with clocks for worker questions, a computed capacity line, and workers that own whole areas.

    SelectedOrchestrationAgent systems

  21. Getting an agent coordinator to brief like a product manager

    Why prompt fixes do not hold an agent coordinator's voice across hundreds of turns, and how to split rules between prompt, tool descriptions, state and services so the prompt stays short.

    SelectedOrchestrationAgent systemsInterfaces

  22. 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

    Dense small dabs of dusty lilac and graphite at left grow larger and sparser toward nearly clear warm chalk at right, with pale yellow.
  23. Letting an agent diagnose production without giving it a shell

    Why read-only is not enough for an agent-facing operations interface: bounded verbs, stated uncertainty, fenced tenant text, analytics checked against ground truth, and leak-proof suppression.

    SelectedSecurityVerificationAgent systems

  24. Putting scripts in charge of agent-run releases

    How fingerprinting inputs makes release test results reusable, why a post-mortem's lesson has to become a script that refuses, and how to keep acceptance evidence through a rolling upgrade.

    SelectedRelease engineeringAgent systemsVerification

  25. Enforcing hard spending limits in an AI gateway

    How an AI gateway makes a spending limit a hard ceiling for concurrent agents: reserve each call's worst-case cost before dispatch, fail closed without a bound, and settle interrupted calls once.

    Agent systemsPlatformsVerification

  26. Reshaping a tenant instead of raising platform limits

    Serving a 65 MB browser desktop through 4 MiB replies: chunked model delivery, a small TensorFlow Lite interpreter, a CSS-order regression from code splitting, and right-sized storage.

    SelectedPlatformsPerformanceVerification

  27. 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

  28. One write path for people, agents, and redelivered requests

    How a workspace where AI agents are members keeps one write path for people, agents and redelivered requests: complete mediation, a deputy rule, and deterministic ids as idempotency.

    Agent systemsSecurityPlatforms

  29. Closing bug classes in a constrained Rust web framework

    Why a framework on a constrained Rust platform should fail the build rather than shim: strict generated contracts, an honest TanStack Start port, post-mortem lints and build-time compression.

    FrameworksVerificationPerformance

  30. Sharing code without a dependency chain

    Why a one-dependency rule is a supply-chain defense, what it costs in code reuse, and how lockfiles, drift checks and a signed index make copied source trustworthy.

    SelectedSecurityPlatformsRelease engineering

  31. Measuring and gating a platform's agent experience

    How to benchmark the instructions, tool descriptions and errors a coding agent reads on an MCP platform, holding everything else fixed, and turn the result into a release gate.

    SelectedInterfacesEvaluationRelease engineering

  32. Proving the harness before scoring the agent

    The experimental controls a coding-agent evaluation needs at each layer, from task certification and configuration read-back to audit tooling and grader corrections that never overwrite the run.

    SelectedEvaluationVerificationAgent systems

    Thin ochre and iron red stains meet rough knifed blue-black and grey-green swipes along a jagged front of crossing strokes and half-buried chalk touches.
  33. Progressive disclosure and live control in a coding agent workspace

    How a coding-agent workspace keeps deeper views on the real sandbox, tracks reader scroll intent with hysteresis, and lets voice steer running turns without a copy of task state.

    InterfacesAgent systems

  34. Running coding-agent workspaces on shared hosts and versioned storage

    Why co-located workspaces stall on syncfs(2), how a durability-matched control finds it, and how to give agents Git tools over a store that is not Git.

    PerformanceStorageAgent systems

  35. Enforcing wire, identity, and approval contracts in an agent platform

    Making each boundary in an agent platform checkable: shared SDK fixtures, three-state delegated identity, and approval receipts that can be spent only once across replicas.

    SelectedSDK contractsSecurityPlatforms

  36. 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

  37. 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

  38. 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

  39. 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

    Short broken chalk curves gather toward the right across a matte deep green ground, over a sunken dull pink plane and scratched charcoal edge.

2025

  1. Entity resolution with provenance for developer ecosystems

    How to join developer data that shares no key, with method and confidence on every link, unresolved rows kept visible, and employees excluded in one toggle.

    EvaluationStorageVerification

2023

  1. Dogfooding a graph database with a live Bluesky feed

    How a live Bluesky feed on a graph database, combining sustained writes, parallel queries, in-engine modules and analytics, surfaced engine defects benchmarks miss, each fixed upstream.

    StoragePerformanceVerification

2021

  1. Replacing setup guides with a hosted VS Code environment

    Why a persistent, per-user browser VS Code workspace with deep links from the docs onboards developers onto a heavy JVM toolchain better than installation guides do.

    PlatformsInterfaces

2010

  1. Porting a long-lived Java server to share-nothing PHP

    Porting a server from a long-lived JVM to process-per-request PHP: what to mirror, why caching a parsed structure only halves the cost, and why a resident daemon was the wrong answer.

    PortingPerformanceOpen source

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