{"by":"NathanFlurry","descendants":7,"id":46795584,"kids":[46852816,46856280,46853121,46853918],"score":41,"text":"We’ve been working with automating coding agents in sandboxes as of late. It’s bewildering how poorly standardized and difficult to use each agent varies between each other.<p>We open-sourced the Sandbox Agent SDK based on tools we built internally to solve 3 problems:<p>1. Universal agent API: interact with any coding agent using the same API<p>2. Running agents inside the sandbox: Agent Sandbox provides a Rust binary that serves the universal agent API over HTTP, instead of having to futz with undocumented interfaces<p>3. Universal session schema: persisting sessions is always problematic, since we don’t want the source of truth for the conversation to live inside the container in a schema we don’t control<p>Agent Sandbox SDK has:<p>- Any coding agent: Universal API to interact with all agents with full feature coverage<p>- Server or SDK mode: Run as an HTTP server or with the TypeScript SDK<p>- Universal session schema: Universal schema to store agent transcripts<p>- Supports your sandbox provider: Daytona, E2B, Vercel Sandboxes, and more<p>- Lightweight, portable Rust binary: Install anywhere with 1 curl command<p>- OpenAPI spec: Well documented and easy to integrate<p>We will be adding much more in the coming weeks – would love to hear any feedback or questions.","time":1769609208,"title":"Show HN: Sandbox Agent SDK – unified API for automating coding agents","type":"story","url":"https://github.com/rivet-dev/sandbox-agent"}