Repository navigation
v0.1.0
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 | shThe 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 devkeeps a sandbox running, syncs files as you save them, and forwards ports tolocalhost. Each branch also gets its own address, likefeature-login.localhost:3000.- Outbound traffic is blocked by default.
--allow registry.npmjs.orgopens 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--includeare 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 verifychecks it against the host's key. - Limits.
--timeoutfor 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 mcpis an MCP server withrun_command,list_sandboxes,destroy_sandboxandverify_record. - Self-hosting.
deploy/host/install.shruns the central server and host agent as systemd services, with the server unprivileged.ephemera-host benchmeasures 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.