The sandbox, the stateless browser, and the unified agent record: three patterns for running production agents at scale without bolting together fragmented tools. This week's reads show what happens when AI infrastructure moves from prototype wrappers to production components.
External sandboxes for coding agents
Simon Willison documents a sharp inversion: the agent runs outside the sandbox while generated code executes inside isolated environments with allowlist proxies and credential replacement. Three new implementations ship with the pattern—v86 for Alpine Linux in WebAssembly, external-sandbox-container for Apple Containers, and external-sandbox-quicksand for Microsoft's QEMU-based runtime. The credential replacement layer matters most: it intercepts API keys before code hits the sandbox, so agents can't exfiltrate secrets through generated code.
// Agent sends code to external sandbox with allowlist
const result = await sandbox.execute({
code: generatedScript,
allowedHosts: ["api.stripe.com", "docs.python.org"],
credentialMap: { STRIPE_KEY: "sk_sandbox_..." }
});Kitesurf is now open source
Cloudflare open-sourced Kitesurf, a stateless browser for agents that runs entirely in Workers via Rust-to-WASM compilation. It speaks Chrome DevTools Protocol for Puppeteer compatibility but skips the Chromium overhead—lower CPU, lower memory, same interface. The stateless design means every session starts clean, which matters when you're running hundreds of agent sessions that don't need persistent browser state or cached credentials.
What We've Learned Building Proactive Agents
LangChain built two internal proactive agents (GTM for sales, Robin for engineering) and distilled the pattern: memory systems that learn from past/present/future context, plus UX that surfaces high-signal updates in existing tools like Slack. The lesson is that autonomy requires both better memory primitives and constrained notification channels—agents that spam every decision don't scale past the first week. The post includes concrete examples of how their agents surface only decisions that need review, not every intermediate step.
LangSmith Tool Gateway: Secure, governed tool use for agents
LangSmith's Tool Gateway solves the OAuth-per-agent problem by centralizing credentials, identity, and access control for tool calls. You define which tools each agent can touch, whether the agent acts as itself or the user, and what policies gate each call. It ships with integrations for Google, Microsoft, Salesforce, and GitHub. The tracing layer means every tool invocation shows up in your observability stack, not just the LLM calls before and after.
# Example policy config
agent_id: gtm-outreach
allowed_tools:
- salesforce.query
- slack.post_message
auth_mode: as_agent
approval_required: falseWe rebuilt LangSmith around the agent
LangSmith now treats the agent as the core object—unique ID, owner, type—and unifies tracing, evals, deployments, and governance around it. The rebuild addresses agent sprawl: internal builds, vendor platforms, and individual employee tools all show up in one system if they emit OpenTelemetry. The key shift is from tool-first (trace this run) to agent-first (monitor this agent across all its runs, wherever it executes). Platform teams get visibility into what agents exist and how they behave; developers get a single interface for the full lifecycle.
Sandboxes isolate execution, stateless browsers cut runtime costs, gateways centralize tool access, and agent-centric platforms unify observability. The pattern is consistent: production agent infrastructure pulls apart the monolith and rebuilds it as composable, governed layers. 🏗️