Skip to content

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 11 Nov 14:28
db41c95

The first release of ephemera: run dev servers, tests and coding agents in short-lived, locked-down Firecracker microVMs on your own hardware, while you keep editing on your laptop.

Install

curl -fsSL https://raw.githubusercontent.com/pyjeebz/ephemera/main/install.sh | sh

The script picks the archive for your OS and CPU and checks it against checksums.txt. On Windows, download the zip below. With Go: go install github.com/pyjeebz/ephemera/cmd/ephemera@v0.1.0.

To run your own server and hosts, follow docs/self-hosting.md.

What's in it

  • ephemera run -- <cmd> sends your Git-tracked files to a fresh microVM, streams the output, returns the exit code, and destroys the VM, even on Ctrl-C.
  • ephemera dev keeps a sandbox running, syncs files as you save them, and forwards ports to localhost. Each branch also gets its own address, like feature-login.localhost:3000.
  • Outbound traffic is blocked by default. --allow registry.npmjs.org opens one host. Private addresses and cloud metadata stay blocked even with --net. Every connection attempt is logged.
  • Setup snapshots. --setup "npm ci" saves the prepared sandbox, so later runs skip the install. The snapshot is encrypted with a key that stays on your laptop, and files from --include are never saved in it.
  • Signed records. When a sandbox is destroyed, its host signs a record of the commands, connections and file syncs, and that the disk was deleted. ephemera verify checks it against the host's key.
  • Limits. --timeout for a command, a maximum lifetime per sandbox and per host, and per-token caps on sandboxes at once and sandbox-minutes per day.
  • Coding agents. ephemera mcp is an MCP server with run_command, list_sandboxes, destroy_sandbox and verify_record.
  • Self-hosting. deploy/host/install.sh runs the central server and host agent as systemd services, with the server unprivileged. ephemera-host bench measures a host.

Files

File What
ephemera_v0.1.0_<os>_<arch>.tar.gz / .zip The CLI for Linux and macOS (amd64, arm64) and Windows
ephemera-host_v0.1.0_linux_amd64.tar.gz ephemera-server, ephemera-host and ephemera-guest for Linux x86_64
install.sh The CLI install script
checksums.txt SHA-256 of every file

Known limits

  • No TLS yet. Run the server and hosts on a private network such as Tailscale. The installer refuses public addresses.
  • Hosts need x86_64 Linux with KVM. Tested on Ubuntu 24.04, including in a cloud VM with nested virtualization.
  • No accounts or hosted version yet. Access is by API tokens made with ephemera-server token create.
  • A setup step can't use credentials such as a private registry token, because secrets are kept out of snapshots.
  • Lightly tested: the Windows CLI, and MCP clients other than through the protocol tests.