Repository navigation
Description
Design proposal: how spore.host could offer agent sandboxes (the category Docker Sandboxes, E2B, Daytona, Modal, Lambda MicroVMs and others sell), and do better for its own audience: GPUs, large memory, data in the user's own AWS account, and hard TTL and cost guarantees.
The full research brief is in the first comment. It covers a landscape of about 20 products with sources, a capability map against spawn, design options A–D, phases and experiments. Each claim is tagged [P] primary docs, [3P] third party, [code], EST (estimate) or UNVERIFIED.
TL;DR
-
What the market sells. Nearly every "agent sandbox" is the same thing: a Firecracker microVM, a gVisor container, or a full VM, behind a create/exec/files/snapshot/destroy API.
- They start in well under a second to a few seconds, because they restore from snapshots or use warm pools.
- They bill per second.
- They cap lifetime: 45 min to 24 h on most, 8 h on AWS's two offerings.
- They run on the vendor's cloud.
- Almost none offer GPUs. Modal and Daytona do. Northflank also claims GPU support [3P].
-
The ground shifted in 2026, in two ways.
- AWS Lambda MicroVMs went GA on 2026-06-22 [P]. They are Firecracker sandboxes that run in the customer's own AWS account, with suspend/resume. Limits: 8 h hard cap, ARM64 only, 16 vCPU / 32 GB at most, and no GPU mentioned.
- EC2 nested virtualization on C8i/M8i/R8i and some 7th-gen Intel types (announced 2026-02) [P]. Firecracker now runs on ordinary, cheap EC2 instances instead of
.metal. - Together these remove "your own AWS account" as a unique differentiator for small CPU sandboxes. AWS now sells exactly that.
-
Claude Managed Agents has a self-hosted sandbox mode (beta) [P]. A worker inside your infrastructure polls a work queue over outbound HTTPS and runs the agent's tool calls locally. It is already listed with 11 platform guides: Lambda MicroVMs, E2B, Daytona, Modal, Cloudflare, Fly, GKE, Vercel, and others.
- The model is almost exactly
spawn pool: workers in your account pull work from a queue. - This is the cheapest high-leverage integration available to spore.host.
- The model is almost exactly
-
spore.host already has most of a "heavy sandbox" [code]:
- ephemeral EC2 with TTL, cost limit and idle stop, enforced in-instance by a signed
spored, plus an out-of-band reaper; - truffle sizing, including GPUs, Spot and capacity blocks;
- keyless SSM connect;
- TaskSpec container runs with
--gpus all; - SQS worker pools;
- S3, EFS and FSx data in the user's account;
- an MCP server that can already launch billable tasks behind a mandatory TTL.
What it lacks is a programmatic interactive surface: exec, file put/get, snapshot/fork, an egress policy, and fast start. Today a sandbox is either a batch task or an SSH session.
- ephemeral EC2 with TTL, cost limit and idle stop, enforced in-instance by a signed
-
Recommendation. Don't start by building a Firecracker fleet. Build
spawn sandbox, an agent-facing create/exec/cp/snapshot/destroy surface over EC2 spores (Option A), and expose it through spore-host-mcp (Option C). Ship a Claude Managed Agents self-hosted worker recipe on top (Option D1).- Position it as the sandbox tier incumbents don't serve: GPUs, big memory, long lifetimes, data in your account, and hard cost/TTL guarantees.
- Treat the sub-second tier as a pluggable backend:
- evaluate Lambda MicroVMs first (buy);
- build a nested-virt Firecracker broker (Option B, working name
hypha) only if measurements show it pays off.
- Run the de-risking experiments in Part 4 before committing to B.
4.2 Phases
| Phase | Deliverable | Size |
|---|---|---|
| P0: de-risk and decide (1–2 wks) | Run experiments E1–E3 below. Decide the open questions in 4.4. | S |
P1: MVP, spawn sandbox (Option A1) |
1. create / exec / cp / status / extend / destroy, with exec via SSM and cp via an S3 relay.2. Egress `none |
s3 |
| P1.5: Managed Agents recipe (D1) | Poller spore plus a per-session sandbox script. Documented and validated on a GPU sandbox reading S3 data. Offer it to Anthropic's platform-guide list. | S |
| P2: v1, fast-enough and forkable | 1. Pre-baked sandbox AMI (Docker + NVIDIA toolkit + exec agent). 2. Warm/stopped pool claim. 3. snapshot / fork via AMI.4. allow: egress through the per-account proxy spore.5. Credential placeholder injection. 6. --backend lambda-microvm (Option B′) with reaper coverage for MicroVMs, images and snapshots. |
M–L |
P3: optional, hypha (Option B) |
Only if E2 and E3 show: • Lambda MicroVMs is inadequate (x86, >8 h, FSx mounts, egress, fork, cost at density); and • nested-virt Firecracker hits target latency and density. |
L |
4.3 First concrete milestone
spawn sandboxA1 + MCP:
- An agent in Claude Code calls
sandbox_create {gpu:1, ttl:"2h", cost_limit:5, egress:"s3", data:["s3://…:ro"]}.- It runs
nvidia-smiand a Python script over the mounted dataset viasandbox_exec.- It pulls a result file with
sandbox_read_file, then callssandbox_destroy.Pass criteria:
- the agent never held AWS keys beyond the local MCP chain;
- the sandbox had no inbound ports and no internet egress;
- the reaper was armed;
- an independent post-run sweep finds zero leaked instances, volumes, SGs, ENIs or instance profiles, and no S3 objects outside the results prefix.
4.4 Open questions for the owner
- Tenancy. Sandboxes stay strictly single-account and BYO? Recommendation: yes. A hosted multi-tenant sandbox service would break "data never leaves your account". Any hosted helper must respect the existing cross-account trust constraints: no trusts toward management or internal accounts.
- Reaper as a precondition. Should
sandbox createhard-require an armed reaper in the target account, or warn plus--accept-no-backstop? - MCP spending policy. The boundary already moved with
spawn_task_run. Is autonomous sandbox creation acceptable with a mandatory TTL and cost limit plus per-day caps in config? Should GPU sandboxes require an explicit config opt-in? - Egress default.
none,s3, oropen? Recommendation:s3for data science, withopenrequiring a flag. - Lambda MicroVMs as a backend. Acceptable to depend on it (ARM64-only, 5 regions, 8 h)? It needs reaper extensions for non-EC2 artifacts.
- Managed Agents beta. Is it acceptable to build a recipe on a beta API (
managed-agents-2026-04-01)? It is low-cost, because it's a doc plus a script, not core code. - Naming. Is
hyphaOK for the microVM tier, withsclerotiumfor snapshots andconidiafor forks? Or should everything live underspawn sandbox? - Scope of "fork". Is a disk-only fork (AMI) enough for v1, or is memory-state fork a requirement? Memory-state fork effectively forces Option B.
Status
- E1 (EC2 time-to-first-exec) is being run now. Its results will be posted here.
- E2–E4 are specified in the brief, not yet run.
Activity
scttfrdmn commentedon Oct 19, 2026
Sandboxes for AI agents: landscape, spore.host's position, design options
Research + design brief. Written 2026-10-18. Nothing here was built or run: no code, no PRs, no issues, no AWS calls.
How to read the evidence. Sources are tagged:
~/src/spore-host/.Prices are USD, as published or quoted on the date given. They change often, so re-check them before deciding anything.
TL;DR
What the market sells. Nearly every "agent sandbox" is the same thing: a Firecracker microVM, a gVisor container, or a full VM, behind a create/exec/files/snapshot/destroy API.
The ground shifted in 2026, in two ways.
.metal.Claude Managed Agents has a self-hosted sandbox mode (beta) [P]. A worker inside your infrastructure polls a work queue over outbound HTTPS and runs the agent's tool calls locally. It is already listed with 11 platform guides: Lambda MicroVMs, E2B, Daytona, Modal, Cloudflare, Fly, GKE, Vercel, and others.
spawn pool: workers in your account pull work from a queue.spore.host already has most of a "heavy sandbox" [code]:
spored, plus an out-of-band reaper;--gpus all;What it lacks is a programmatic interactive surface: exec, file put/get, snapshot/fork, an egress policy, and fast start. Today a sandbox is either a batch task or an SSH session.
Recommendation. Don't start by building a Firecracker fleet. Build
spawn sandbox, an agent-facing create/exec/cp/snapshot/destroy surface over EC2 spores (Option A), and expose it through spore-host-mcp (Option C). Ship a Claude Managed Agents self-hosted worker recipe on top (Option D1).hypha) only if measurements show it pays off.Part 1: The landscape
1.1 Comparison table (core facts)
sbx)sbx movecarries the filesystem between local and cloud [P].sbx policy allow/deny[P]docker-sbxpackage +kvmgroup) or Docker-managed cloud [P]block_network,outbound_cidr_allowlist,outbound_domain_allowlist(SNI-based, beta, domain-fronting gap acknowledged), updatable at runtime [P]sleepAfterenableInternet: false[P]--ttl-seconds) [P]copilot-setup-steps.yml[P].codex-universalimage) [P]sandbox-runtime(srt)limited(allowed_hosts + package managers + MCP) orunrestricted. Egress goes through a TLS-inspecting proxy [P, 3P pentest].managed-agents-2026-04-01)memory_storeonly, no file/github resources [P]/bin/bashand outbound HTTPS [P]/dev/kvm1.2 Docker Sandboxes, verified
sbxCLI runs a coding agent (Claude Code, Codex, Copilot CLI, Gemini CLI, Kiro, Cursor, …) inside a microVM with its own kernel and a private Docker engine. The agent can therefore rundocker buildanddocker runwithout access to the host daemon [P: docker.com/products/docker-sandboxes; docs.docker.com/ai/sandboxes].docker-sbxapt package, which needs membership in thekvmgroup [P: github.com/docker/sbx-releases].sbx≥ 0.45.1 and a pay-as-you-go plan. Their launch date is UNVERIFIED; the blog exists [P].sbx mcp), with credentials held in the sbx secret store.1.3 What sandboxes solve for agent builders
1.4 Common pain points
These recur across vendor docs and third-party comparisons:
Lifetime caps.
Long agent runs have to checkpoint and hop between sandboxes [3P bex.co 2026-09-11].
No GPUs. This is structural on Firecracker, which has no device passthrough. The exceptions are Modal (gVisor
nvproxy), Daytona and Northflank.Data gravity and egress fees. Getting a 2 TB dataset into a vendor cloud is the real cost. Lambda MicroVMs charge VPC data transfer [P].
Vendor lock-in. Each SDK is bespoke. Claude Managed Agents' worker protocol is becoming a de facto common seam: 11 providers publish guides [P].
Can't use your own IAM, VPC or account. Only Lambda MicroVMs, AgentCore, E2B BYOC, Northflank BYOC and k8s Agent Sandbox fix this.
Cost at scale and structural minimums.
Cold starts if you go without snapshots or warm pools.
Egress allowlists are leaky.
Cleanup. Paused and snapshotted state accrues cost; E2B deletes paused sandboxes after 30 days. Nobody advertises an "everything dies eventually" guarantee as a first-class contract.
Part 2: What spore.host already has
2.1 Capability map against the sandbox checklist
spawn launch/spawn task run. An EC2 instance in the user's account, using the user's credential chain.spore-host/docs/architecture.mdspawn extendmoves forward. Also a cost limit and idle stop/hibernate. "TTL always wins."spore-host/docs/safety.md;spawn/pkg/taskproto/taskspec.go(Lifecycle{TTL, OnComplete, CostLimit})sporeddaemon, KMS-signed, verified at installspawn/pkg/sporedinstall(SigningKeyPEM),spawn/pkg/agentttl-reaperLambda. Reaps on deadline tag, launch-time+ttl, or a hardREAPER_MAX_AGEceiling. Scans stopped instances too. Optional graceful pre-stop flush via SSM.spawn/lambda/ttl-reaper/main.goheader;spawn reaper deploy/arm/status/teardown(spawn/cmd/reaper.go)spore-host/docs/safety.md("What the guarantee is by deployment mode")spawn task run --spec. Stage inputs from S3, run on the host or in a container, stage outputs, writecompletion.jsontos3://spawn-results-<acct>-<region>/tasks/<id>/. Self-terminates. A terminal-flush hook preserves logs on TTL kill.spore-host/docs/gen/spawn/task.md;spawn/cmd/task.go(~L540–575)dnf install -y docker; the stock AL2023 AMI has none). GPU instances get--gpus allplus the NVIDIA toolkit.spawn/pkg/taskproto/wrapper.goL398–476ecr:ReadOnlyfor private images.spawn/cmd/task.go(comment "Scoped instance profile")spawn pool create/submit/status/drain. N workers pull TaskSpecs from a run-scoped SQS queue; idle-timeout drain (default 5 m); per-worker TTL (default 4 h); Spot; min-viable degradation. Built oncohort(concurrent launches).spore-host/docs/gen/spawn/pool.md;spawn/docs/pooled-task-execution-design.md;spawn/pkg/taskpoolspawn connectover SSH or SSM Session Manager (keyless, with SSM key injection), plus RDP-over-SSM for Windowsspawn/cmd/connect.gospawn serviceuses a readiness contract (one JSON{"event":"ready","addr":...}line) to tunnel a local port.spawn appcovers DCV desktop/app/web kinds. Custom DNS (#891).spawn/docs/service-readiness-contract.md,spawn/cmd/app.go,spawn/docs/custom-dns.mdspawn snapshot createspawn/cmd/fsx.go,spawn/docs/durable-storage-fsx.md,spawn/docs/reference-data-volumes.md,spawn/cmd/snapshot.gotruffle/,spawn/cmd/capacity_block.go,lagotto/spawn launch --nested-virtualization, with a pre-launch check ofProcessorInfo.SupportedFeaturesspawn/cmd/launch_flags.goL269;spawn/pkg/aws/placement.goL157--hibernate,--on-idle hibernate,--on-complete hibernate(memory saved to encrypted EBS)spawn/cmd/launch_flags.goL308–321regenerabledeletionspawn/docs/recompute-tag-design.md,taskspec.goRegenerable--accountpersistent flag: an "expected AWS account ID (optional guard)"spawn/cmd/root.goL159• truffle:
truffle_find,truffle_spot_prices,truffle_quota_check• spawn:
spawn_list/status/stop/terminate; terminate is two-phase and refuses ambiguous names•
spawn_extend• lagotto:
lagotto_list/status/watch• Billable:
spawn_task_run(TTL mandatory,dry_run),spawn_app_launch(plan only)spore-host-mcp/README.md,launch.goL27–42, L121–139spawn-ts(browser-native, no backend); Gopkg/launcherpython-sdk/README.md,spawn-ts/README.mdcalque, a spike that runs Modal-shaped scripts on AWS unchangedcalque/README.mdCorrection (2026-10-19): the research draft reported doc drift in
spore-host/docs/tools/mcp-server.md. That was read from a stale local clone; main already documentsspawn_task_runas a billable launch tool (docs sweep part 1, #589).2.2 Honest gaps against a sandbox product
spore-host/docs/reference/faq.mdL99). Container tasks then add an on-demand Docker install and an image pull. EST: 60–180 s to first command fortask runwith a container, versus 0.1–2 s for microVM incumbents. Pools remove the boot tax per job, but the pool itself still boots cold.connectis a human SSH/SSM session.task runis fire-and-forget batch. Nothing likeexec(cmd) → {stdout, stderr, exit}orwrite_file/read_filefor an agent loop, and no MCP equivalent.spawn snapshotonly builds data volumes from raw images. Hibernation preserves memory for the same instance and cannot fork. Creating an AMI or EBS snapshot is a minutes-scale operation and the new volume hydrates lazily (EST).spawn/pkg/aws/securitygroup.go). No domain allowlist, no proxy.2.3 Latency estimates (EST, not measured)
spawn launch→ SSH readyspawn task run(container) → first user commanddnf install docker(EST 15–45 s) + image pull (size-dependent)spawn task run(host command, pinned type) → commandsizer.go:48)spawn pool submit→ job starts on a warm workerPart 3: Design options
The design principle across all options: the sandbox is a spore. It carries
spawn:*tags with a TTL deadline, a cost limit and idle rules. It is enforced by spored, or by a host daemon that is itself a spore. It is backstopped by the reaper, and it lives in the user's account.Option A:
spawn sandbox, an agent-friendly API over EC2 spores (single tenant per sandbox)Shape
The same operations go into a Go package (
pkg/sandbox), the Python SDK and the MCP server (Option C).Architecture: reuse almost everything
pkg/launcher,taskproto.Size()/ truffle, capacity blocks, lagotto "wait for capacity"REAPER_MAX_AGEceiling)SendCommand/RunCommand (keyless, no inbound SG) for batch exec. SSM Session for streaming PTY. The reaper's graceful tier already uses SSM RunCommand. Output over 24 KB goes to S3 (EST of the SSM inline-output limit; verify).spawn servicereadiness contract, SSM port-forward, custom DNSspawn poolwith a twist. Instead of pulling TaskSpecs, the pool holds pre-booted idle instances that are claimed bysandbox create. They are retagged with the new owner/TTL and receive a fresh role session. Alternatively, keep stopped instances as a cold pool, which pays EBS only.CreateImage(no-reboot) → AMI; fork = launch N from the AMI. EBS Fast Snapshot Restore is optional and costs extra (from memory).Isolation and security
none: a security group with no egress except VPC endpoints for SSM, S3 (gateway endpoint, free), STS and ECR. A per-sandbox SG viaCreateSecurityGroup.s3: as above, plus S3. This is the data-science default.allow:<domains>: egress only to a spore.host egress proxy: a small per-account spore running a filtering forward proxy (SNI/CONNECT allowlist), with the sandbox SG permitting egress only to the proxy's SG. Optionally add Route 53 Resolver DNS Firewall for domain filtering at the VPC level.open: today's behavior, with a loud warning.Latency and cost (EST, 2026-10-18, us-east-1 on-demand)
libs/pricingstatic table (static; collection date not checked)libs/pricingstatic tablelibs/pricingstatic tableLifecycle guarantee. Identical to today's spores. The one new rule:
sandbox createshould refuse to run, or loudly warn and require--accept-no-backstop, when the account's reaper is not deployed and armed. Agent-created sandboxes are exactly the sprawl case.Effort: M. Phases:
none|s3|open)allow:proxy)Risks
Why it beats incumbents for this audience
Option B:
hypha, a microVM broker on nested-virt spores (new top-level tool)Name.
hypha, with daemonhyphad.mycelium, the project's former name.Architecture
What it reuses
--nested-virtualizationand its validation already exist.spawn pool/ cohort scales the host fleet.Isolation and security
Latency and cost (EST)
Lifecycle guarantee: "everything dies eventually"
GPU story. Firecracker cannot pass through GPUs. Two paths:
runsc) withnvproxyon GPU instances for container-level isolation of multiple GPU sandboxes. This is Modal's approach for GPU sandboxes [P]. Nested virt isn't available on G/P families per the supported-types list [P].Effort: L, ongoing. Image pipeline (OCI → ext4 rootfs + kernel), vsock exec agent, networking, snapshot store, scheduler, upgrades, CVE response.
Risks
Option B′: backend abstraction, with Lambda MicroVMs as the "small and fast" backend (buy, don't build)
spawn sandbox create --backend auto|ec2|lambda-microvm|hypha. The defaultautoroutes as follows:ec2;lambda-microvmwhere available (5 regions, ARM64).aws lambda-microvms create-microvm-imagefrom a Dockerfile plus an S3 artifact [P].Option C: MCP-first sandbox tools in spore-host-mcp
Tools
sandbox_createttlrequired;cost_limitrequired, with a configurable cap from MCP config;dry_run; returns id, cost/h and deadlinesandbox_exectimeoutrequiredsandbox_write_file/sandbox_read_filesandbox_snapshot/sandbox_forksandbox_expose_portsandbox_list/sandbox_status/sandbox_extendextendsubject to a max-TTL capsandbox_destroyServer-side caps
Also: Effort: S once Option A's package exists. Value: Claude Code, Cursor and others gain GPU and data-local sandboxes with one
claude mcp add.Option D: Ecosystem compatibility
spawn sandbox create --image <ant-worker image>per session viaant beta:worker poll --on-work ./spawn-sandbox.sh[P], running on a tiny poller spore (TTL'd, idle-drained). Sessionmetadatacarriess3://inputs, staged by spawn [P]. Bonus: on Claude Platform on AWS, workers authenticate with IAM SigV4 (AnthropicSelfHostedEnvironmentAccessmanaged policy) instead of an environment key [P], which maps onto spawn's instance profiles with no secret on disk. Anthropic says egress control "has no default" for self-hosted [P], so spore.host's egress profiles directly fill that gap. Becomes the 12th platform guide: the GPU, data-local, TTL-guaranteed one.sandbox-runtimeinside a sporesrt(bubblewrap plus a proxy) inside an EC2 or microVM sandbox. srt doesn't replace VM isolation, but it adds file and network policy at the process level..devcontainer/devcontainer.json, build it into an image, then a sandbox AMI. Familiar to Codespaces and Copilot users.envddaemon. Compatibility means implementing both and tracking their changes. UNVERIFIED how stable that surface is. Defer until there is demand.sbxcloud is Docker-managed. No BYO-cloud backend hook was found (UNVERIFIED). Kits YAML could be imported as a spec format.Part 4: Recommendation
4.1 Positioning
"The sandbox for real research workloads, in your own AWS account, that can't outlive its deadline."
Don't compete on 100 ms create. Compete on the things incumbents structurally can't or won't do:
Get the fast tier by routing to Lambda MicroVMs before building one.
4.2 Phases
spawn sandbox(Option A1)create / exec / cp / status / extend / destroy, with exec via SSM and cp via an S3 relay.2. Egress `none
2. Warm/stopped pool claim.
3.
snapshot/forkvia AMI.4.
allow:egress through the per-account proxy spore.5. Credential placeholder injection.
6.
--backend lambda-microvm(Option B′) with reaper coverage for MicroVMs, images and snapshots.hypha(Option B)• Lambda MicroVMs is inadequate (x86, >8 h, FSx mounts, egress, fork, cost at density); and
• nested-virt Firecracker hits target latency and density.
4.3 First concrete milestone
4.4 Open questions for the owner
sandbox createhard-require an armed reaper in the target account, or warn plus--accept-no-backstop?spawn_task_run. Is autonomous sandbox creation acceptable with a mandatory TTL and cost limit plus per-day caps in config? Should GPU sandboxes require an explicit config opt-in?none,s3, oropen? Recommendation:s3for data science, withopenrequiring a flag.managed-agents-2026-04-01)? It is low-cost, because it's a doc plus a script, not core code.hyphaOK for the microVM tier, withsclerotiumfor snapshots andconidiafor forks? Or should everything live underspawn sandbox?4.5 Experiments to run first (specified only; NOT run)
All experiments follow these rules:
us-east-1.spawn:managed=true,spawn:run-id=sbx-exp-<date>-<n>,spawn:ttl-deadline.spawn reaper status.--cost-limit. An AWS Budgets alert is recommended.Leak check (each experiment)
aws ec2 describe-instances --filters Name=tag:spawn:run-id,Values=<id>returns 0 non-terminated.describe-volumes(tag filter, plusstatus=availablefor orphans) returns 0.describe-snapshotsanddescribe-images --owners self(tag filter) return 0 unless intentionally retained.describe-security-groupsanddescribe-network-interfaces(tag/name filter) return 0.aws iam list-instance-profiles(spawn task profile prefix) is unchanged from the pre-run snapshot.aws s3 ls s3://spawn-results-<acct>-us-east-1/holds only the expected prefix.aws lambda-microvms list-…(exact verbs UNVERIFIED) returns 0 MicroVMs and images.E1: EC2 sandbox time-to-first-exec (validates Option A positioning)
echo ok. Also time to the first container command, with and without pre-baked Docker.--cost-limit 1(CPU),3(GPU).E2: Firecracker on nested virtualization (de-risks Option B)
spawn launch --nested-virtualization --type c8i.2xlarge --ttl 2h --cost-limit 3. Optional comparison: onem8i.2xlarge(EST similar price).c8i.metal-48xlcosts several $/h (UNVERIFIED price), so cap it at--ttl 1h --cost-limit 12.E3: Lambda MicroVMs as a backend (validates Option B′)
maxIdleDurationSeconds: 300). Image deregistered at the end; note the 1-week minimum image-storage charge./aws/lambda/microvms/<image>(delete it).E4 (optional): gVisor on a GPU instance
runsc --nvproxyrunning a CUDA container on g5.xlarge; measure overhead against plain Docker.Decision rule after P0
hypha) only if all of these hold:Sources
Primary
Third-party (leads, not facts)
Local code (read 2026-10-18; spawn at
aed2c2c, latest tag v0.135.0 locally)spawn/cmd/{task.go,connect.go,launch_flags.go,reaper.go,snapshot.go,root.go}spawn/pkg/{taskproto,taskpool,agent,aws/securitygroup.go,aws/placement.go,sporedinstall}spawn/lambda/ttl-reaper/main.gospawn/docs/{pooled-task-execution-design.md,service-readiness-contract.md}spore-host/docs/{safety.md,architecture.md,reference/faq.md,reference/lifecycle-events.md,tools/mcp-server.md,gen/spawn/{task,pool}.md}spore-host-mcp/{README.md,launch.go}python-sdk/README.md,spawn-ts/README.md,calque/README.md,cohort/README.md,libs/pricing/ec2.goscttfrdmn commentedon Oct 19, 2026
Owner decisions (2026-10-19) on the open questions in 4.4:
sandbox createrequires an armed reaper in the account: yes.hypha). So B is no longer gated only on E2/E3 results: it's the intended direction, and the experiments size it.Related prior work:
scttfrdmn/ember. Ember is intent-driven minimal compute: Go code is statically analysed (Giri) into an intent manifest of memory and compute bounds and capabilities, compiled to minimal WASM, and run by a "hearth" that builds only the execution surface the manifest asks for. Ember would sit abovehyphaas the lightest isolation tier, see below.scttfrdmn commentedon Oct 19, 2026
Isolation tiers. Each tier runs on the one below it, and the reaper and spored bound all of them. The cold-start figures are estimates until E1 and E2 measure them.
The tiers are layered rather than competing:
The agent-facing API (
spawn sandbox/ MCP) could choose the tier from the request: code-only goes to ember, needs a shell goes to hypha, needs a GPU or big data goes to a spore.scttfrdmn commentedon Oct 19, 2026
E1 results: EC2 time to first exec
Run on spawn v0.135.1 in us-east-1 on 2026-10-19, with at most 4 instances running at once. The total cost was about $0.11. An independent leak check afterwards came back clean. GPU (quota 0) and the pre-baked AMI mode were not run.
task run, host, auto-sizedtask run, host, type pinnedtask run, container, type pinnedtask run, container, auto-sizedWhat this means for the design:
task runis sizing, not EC2. Pinning the type or caching the sizing would close most of that gap.Issues filed from this run are linked below.
scttfrdmn commentedon Oct 19, 2026
Filed from E1:
pool createhas no cost limit, anddrainisn't idempotent.