DEV Community

Ajay Kumar for pandastack

Posted on

Open-source sandboxes for AI agents and code execution.

GitHub logo pandastack-io / pandastack-ai

Open-source sandboxes for AI agents and code execution.

PandaStack logo

PandaStack

Open-source Firecracker microVM sandboxes and managed PostgreSQL, self-hosted.

License CI GitHub stars

60-second quickstart

git clone https://github.com/pandastack-io/pandastack-ai
cd pandastack-ai
bash scripts/mac-local-e2e.sh
open http://localhost:3000
Enter fullscreen mode Exit fullscreen mode

Create a sandbox from the local API:

curl -sS http://localhost:8080/v1/sandboxes \
  -H 'Authorization: Bearer pds_local_dev_token' \
  -H 'Content-Type: application/json' \
  -d '{"template":"base"}'
Enter fullscreen mode Exit fullscreen mode

Exec a command in it:

curl -sS http://localhost:8080/v1/sandboxes/<id>/exec \
  -H 'Authorization: Bearer pds_local_dev_token' \
  -H 'Content-Type: application/json' \
  -d '{"cmd":"echo","args":["hello"]}'
Enter fullscreen mode Exit fullscreen mode

What it does

PandaStack is two things on one control plane: disposable Firecracker microVM sandboxes for AI agents and untrusted code, and managed PostgreSQL 16 instances that run in microVMs of their own.

  • Firecracker microVM sandboxes with strong process and kernel isolation.
  • Managed PostgreSQL 16 databases (Beta) β€” a real, durable database in its own microVM, with a native postgres:// URL in seconds, continuous WAL archiving, and restore-based failover onto a healthy…

Top comments (0)