85 agentic tools audited for security incidents · Talk to the lab →
MotionticBook a call
WitnessWhyHow it worksFeaturesCompareProofFAQinternal · Motiontic Lab
Lab product · In development

Ephemeral environments for agent-built featuresEvery repo. One sandbox.

Witness is an ephemeral environment platform for features built by coding agents. When an agent opens pull requests across several repos, Witness deploys all of them together in one cloud sandbox. It waits until every service and route passes a health check, then posts the result on each PR. A person still merges.

  • 9.9 sWarm sandbox to every service healthy, small test stack
  • 27.8 sRebuild after a code change, back to healthy
  • 2.5 sFresh sandbox from the pre-secret snapshot
  • 4.5 sNew Neon branch to its first query
  • 18 sPer-project template built on the base image

Why per-repo preview environments miss agent features

Coding agents open pull requests fast. The slow part is seeing the feature run.

Split PRs

One feature, three PRs

A feature often touches the web app, the API and the schema. So it arrives as two or three PRs in different repos.

Per-repo previews

Each preview sees one repo

A per-repo preview of the frontend talks to a shared API. The API PR has nowhere to run, and the migration has no database to run against.

Manual QA

Someone tests it by hand

A person pulls every branch, copies env files around and runs the stack locally. That person becomes the bottleneck the agents were meant to remove.

No feedback

The agent never sees it fail

By the time the build breaks, the agent is on the next task. The error comes back hours later as a pasted message, if it comes back at all.

How Witness turns PRs into ephemeral environments

Five steps, from a PR opening to a result on that PR. Every step is plain code.

  1. A PR opens, and Witness finds its featureWitness groups PRs by branch name, a "Witness:" line in the PR body, or a manual link. If another repo has the branch but no PR yet, it waits. Every other repo runs its target branch.
  2. One sandbox gets the whole stackWitness starts an isolated cloud sandbox from the project's template, fetches every PR head and installs dependencies. Then it saves a snapshot, before any secret goes in.
  3. Secrets come from the team's own deviceA laptop running the witness CLI, or an open dashboard tab, decrypts the repo's secrets and seals them to the sandbox's one-time key. If the feature changes the schema, the laptop also creates a Neon or Supabase branch.
  4. Build, boot, then a health gateServices build, migrate and boot in dependency order. Every service's health path has to answer 2xx, and every known route has to answer below 500, before Witness calls the feature ready.
  5. The result lands on the PREach PR gets a witness/deploy check with build logs and failures, plus a comment with the merge order. The dashboard shows the same, live. Secret values are masked in every log line, and the preview opens through a signed link that lasts an hour.

What sets Witness apart

Six choices that separate Witness from per-repo preview deploys and from Kubernetes environment platforms.

01 · Scope
1 sandbox

The whole feature, not one repo

Every PR the feature needs runs in the same sandbox, and every other repo runs its target branch. The frontend PR talks to the API PR, not to a shared staging API.

02 · Grouping
3 ways

PRs grouped by branch, line or link

A shared branch name, a "Witness:" line in a PR body, or a manual link puts PRs into one feature. Witness waits for a missing PR instead of deploying half a feature.

03 · Secrets
Ciphertext only

Secrets Witness can't read

Each secret is encrypted on the device with XChaCha20-Poly1305 before upload, and Witness never holds the key. Plaintext exists only on the team's devices and in a running sandbox's memory.

04 · Memory
505

Killed, never paused, after secrets

A pause saves the sandbox's memory, and the secrets in it. In testing, a planted secret was still in RAM at 505 addresses after a pause. So a sandbox that has held secrets is killed, and a retry starts from the pre-secret snapshot.

05 · Health
Every route

Ready means every route answers

Witness probes each service's health path and every route it found in the code. A build that passes but serves a 500 on one page isn't ready.

06 · Control plane
0 model calls

No model in the control plane

Grouping PRs, scheduling sandboxes and judging health are plain code. The coding agent does the thinking on the developer's machine. Witness deploys, checks and reports.

Witness vs Vercel previews, Bunnyshell and Signadot

All four preview changes before merge. They differ in what one preview holds, where it runs and who can read the secrets.

WitnessVercel preview deploymentsBunnyshellSignadot
What one preview holdsEvery PR of one feature, across repos, plus every other repo on its target branchOne Vercel project, built from one push or PRA copy of a primary environment, with the PR's components on the PR branchThe changed services only. Unchanged services come from a shared baseline
A feature split across reposGrouped by branch name, a "Witness:" line or a manual link, and deployed once every PR is openPreviews in separate repos link by matching branch name, inside Microfrontends groupsEach PR triggers its own environmentSandboxes from several PRs combine into a RouteGroup
TriggerA PR opens on a connected repoA push to a non-production branch, a PR, or the CLIA Git webhook when a PR opens, if the primary environment allows itA CI job that creates a sandbox per PR
Where it runsAn isolated cloud sandbox per feature, run by WitnessVercel's platformThe team's Kubernetes cluster, connected through its APIThe team's Kubernetes cluster, with a remote control plane
Kubernetes requiredNoNoYesYes
Who can decrypt secretsOnly the team's devices and the running sandbox. Witness stores ciphertextVercel. Values are encrypted at rest, and Secret values are write-only after savingBunnyshell, with a key per organizationThe team's own cluster, where the workloads run
Database per previewA Neon or Supabase branch when the PR changes the schemaThrough integrations, such as Supabase or Neon preview branchesWhatever the copied primary environment definesSandbox-specific schemas or topics for stateful resources

Checked 20 Nov 2026 against public docs: Vercel (Environments, Environment variables, and the 21 Aug 2026 changelog on Microfrontends previews linking across repositories), Supabase (Preview branches on Vercel), Bunnyshell (How Bunnyshell works, Variables) and Signadot (Overview, Sandbox, Using RouteGroups, Pull request previews). Witness is in development, and its column describes its current design and code.

Proof from the Witness sandbox spike

Measured in November 2026 on a small test stack: a Next.js app, a Fastify API, a Go service and Redis in 4 vCPU and 8 GiB. These are spike numbers, not production numbers.

Lab measurement
9.9 s

From sandbox create to all-green

On a warm template, every service of the test stack passed its health check 9.9 s after the sandbox was created. A rebuild after a code change took 27.8 s, and a cold reinstall 48.2 s. Medians of 3 runs each, with 0 errors under 200 to 300 requests per second.

Lab measurement
505

Secrets survive a pause in RAM

After a stop and a full pause, a planted secret was still in guest memory at 505 and 402 addresses across two runs, with the disk clean. This result set the rule: a sandbox that has held secrets is killed, never paused.

Lab measurement
2.5 s

Back to a clean, pre-secret sandbox

A fresh sandbox from the snapshot taken before any secret is usable in 2.5 s median and 3.6 s at p90, over 10 runs. Every retry, fix push and wake starts from there, which keeps the kill rule cheap.

Who Witness is for

Teams whose agents work across repos

A web app and an API in separate repos, maybe with a schema change on top. Witness shows the feature running before a person merges any of it.

Teams careful with secrets

Teams that won't hand real secrets to a preview platform. Witness never holds the key, and a sandbox that saw secrets is killed when it's done.

The coding agent itself

The agent gets build logs, failures and health results on the PR it opened, plus a preview link to test. No one has to paste errors back.

Questions about Witness

Short answers first. Anything not covered here is a question for a lab engineer.

What are ephemeral environments, and how does Witness use them?

An ephemeral environment is a short-lived copy of an app's stack, built for one change and thrown away after. Witness builds one per feature, not per repo. Every PR the feature needs runs in one cloud sandbox, and the sandbox is killed when the work is done.

How does Witness compare to Vercel preview deployments?

Vercel builds a preview per project, and Witness builds one environment for a whole feature across repos. Vercel links previews in separate repos only inside Microfrontends groups with matching branch names. Witness groups any connected repos by branch name, a "Witness:" line or a manual link, then health-checks every route. Vercel holds env vars encrypted on its side, while Witness stores only ciphertext it can't decrypt.

Does Witness work with any AI coding agent?

Yes. A pull request is the only trigger, so any agent, or any person, that opens PRs on a connected GitHub repo gets an environment. Results land on the PR as a witness/deploy check and a comment, where agents already look.

Can Witness read a team's secrets?

No. Each secret is encrypted on the developer's device before upload, and Witness never holds the key. At deploy time a device seals the secrets to the sandbox's one-time key, so only that sandbox can open them.

Why does Witness kill sandboxes instead of pausing them?

Because a paused sandbox kept secrets in memory. In Witness's own test, a planted secret was still in RAM at 505 and 402 addresses after a stop and a full pause. So a sandbox that has held secrets is killed, and the next attempt starts from a pre-secret snapshot in about 2.5 s.

Does Witness need Kubernetes?

No. Each feature runs in its own cloud sandbox, so a team needs no cluster. Bunnyshell and Signadot both run environments inside the team's own Kubernetes cluster.

Can a team use Witness today?

Not yet. Witness is in development at the Motiontic Applied AI Lab and isn't open for sign-ups. Teams that want the same kind of agent workflow in their own repos can book a call with Motiontic.

More from the lab

Each product started as a tool the lab needed for its own agent work.

Ship whole features, not half-tested PRs

Motiontic is building Witness so its own agents can ship features across repos without anyone testing them by hand. To set up the same kind of agentic dev loop in a team's repos, book a call with Motiontic.

Running agents that have to hold up?

Describe the agent, the systems it touches and what it must never get wrong. The first call is with a lab engineer, who will say plainly whether it is ready for production, and whether Motiontic is the right team.