Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Teleport 3 min read Announcement easyNovice

Announcing beam-init - a Rust init process for agents

beam-init is a lightweight Rust init process and service manager for containers, microVMs and agent runtimes. It reaps zombie processes as PID 1 and exposes an API for managing services: agents can inspect state, read logs, and stop, freeze or thaw services. It also allocates persistent pseudoterminals so TUI apps survive dropped connections. Teleport rejected systemd because it needs privileged containers with CAP_SYS_ADMIN on Kubernetes, and rejected s6-overlay because it centres on CLI and service definitions. beam-init was built with Tweede golf, audited by Doyensec (all findings medium or lower) and is Apache 2.0 licensed.

Related posts

  • Building Agents that Don't Break Themselves

    Fly.io mediumAdept

    Separate where an agent lives from where it executes code: keep the agent loop on a durable host and send every shell command to a disposable Sprite sandbox. SpriteDoc, an internal multi-user troubleshooting agent built on Pi, creates one Sprite per session on first filesystem use and tears it down when idle. It injects each user's flyctl token only for the duration of a single command, so no credential ever rests in the sandbox. Kyle's Hermes Agent backend instead keeps one persistent Sprite per task and skips dangerous-command approval prompts because the sandbox is the security boundary. Copy-on-write checkpoints let an agent that deletes its own work and toolchain be restored in about nine seconds.

  • Container Use for Locally Sandboxed, Background Agents in Zed

    Zed mediumAdept

    Container Use, an open source MCP tool, gives coding agents isolated sandboxes by pairing Dagger containers with Git worktrees, so background agents can work in parallel on the same repo without touching local files. Each agent task gets a randomly named environment that can be inspected with `container-use list`, `watch`, `log`, `diff` and `terminal`, with service tunnels to localhost. The recommended Zed setup uses two custom Agent Panel profiles: a `foreground` profile with all built-in Zed tools enabled and a `container-use` profile with only Container Use tools enabled, so foreground and background agents don't collide.

  • Scaling Managed Agents with stable interfaces

    Anthropic Engineering mediumAdept

    Claude Managed Agents splits a long-running agent into three virtualized interfaces: an append-only session log, a stateless harness that calls Claude and routes tool calls, and sandboxes reached through a generic `execute(name, input) → string` tool call. Moving off a single coupled container turned sandboxes and harnesses into replaceable cattle. A crashed harness resumes from the durable log via `wake(sessionId)`, and credentials sit in vaults or MCP proxies the sandbox can't reach, which blocks prompt-injection token theft. The session also serves as a queryable context store outside Claude's context window. Provisioning containers lazily, only when a tool needs one, cut p50 time-to-first-token by about 60% and p95 by over 90%.

  • AgentFS with copy-on-write overlay filesystem

    Turso mediumAdept

    AgentFS 0.4 adds `agentfs run`, which launches a coding agent in a sandbox where the working directory is a copy-on-write overlay. The host filesystem is the read-only base layer and a SQLite database is the writable delta layer, so agent edits and deletions (tracked through a whiteout table) never touch the host checkout, and other shells can join the same session by ID. On Linux the overlay is a FUSE filesystem combined with user and mount namespaces that remount everything read-only except allowed paths. On macOS it is served by a localhost NFS server, avoiding the need for macFUSE, and confined with a generated sandbox-exec profile.

  • Under the River

    Shopify Engineering mediumAdept

    Shopify's Slack-native agent River co-authors one in eight merged PRs, and it rests on two 2024 bets: a single monorepo (World) and Nix-built reproducible environments across dev, CI and production. Underneath sits Aquifer, an internal agent platform built so the session outlives any process. A Postgres-backed append-only event log holds the conversation, the agent harness runs outside a disposable sandbox, and ephemeral session cells are recreated on demand. Agents are shipped as Nix-built profile bundles across interactive, automation and job modes. Lessons for agent infrastructure: decouple the brain from the hands, make agents public and multiplayer so transcripts compound into shared skills, and treat each new agent as a profile rather than a new platform.

The quest for software engineering knowledge.

Look:
Layout: