Skip to content

Add Upstash Box sandbox provider #371

Open

Description

@alitariksahin

We'd like to add Upstash Box (persistent cloud boxes that pause when idle, with snapshots and public port URLs) as a SandboxProvider alongside E2B, Daytona, Vercel and Modal, plus a docs/deploy/upstash-box guide.
The mapping: create creates a box (optionally from a snapshot with sandbox-agent preinstalled) and starts the server;
getUrl returns the box's public URL for the server port;
ensureServer resumes a paused box and restarts the server if needed;
destroy deletes the box.
For @rivet-dev/sandbox-adapter, suspend maps to pausing the box, so the filesystem survives Actor sleep.

Happy to open the PR and maintain it.
Do you prefer this as a subpackage in this repo or as an external package with a guide only?

Activity

  1. linear-code commented on Oct 30, 2026

    @linear-code
  2. eersnington commented on Oct 30, 2026

    @eersnington
    Member

    huge 🔥

    Do you prefer this as a subpackage in this repo or as an external package with a guide only?

    our third-party sandbox adapters are wrappers around SandboxProvider interface. You can take a look at how we implemented e2b.ts

    feel free to add upstash.ts in a pr at packages/sandbox-adapter/src/** and then I'll take a look and review too.

    happy to answer any questions too!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions