2026-11-26 15:47 UTC

PolicyVisor previews staged review and policy controls for agent runs

state: significantheat: lowuncertainty: mediumrelevance: highagent-sandboxing vm-isolation execution-reviewDeepLink-org

What is this?

PolicyVisor (pVisor) is an Apache-2.0 developer-preview runtime from DeepLink-org for running existing agent CLIs, scripts, and automation under configurable execution policies. Its Jobs workflow can stage workspace changes for review and selective application, record execution evidence, and use host, OCI-container, or Linux-VM executors; installation is documented for Linux x86_64 and Apple Silicon macOS. The project cautions that controls and isolation vary by executor, requested policies do not guarantee enforcement, and the preview does not establish hardened isolation between hostile users or stable crash recovery. The source is the project’s GitHub repository, surfaced in a Show HN post dated Oct. 28, 2026; independent adoption or validation is not established by the supplied evidence.

Why it matters

The primary repository documents an available, open-source runtime that can stage agent workspace changes for review and selective application, with host, OCI, and Linux VM executors. This is a meaningful developer capability, though preview maturity and documented security limits constrain what users should infer.

Current assessment

DeepLink-org’s Apache-2.0 PolicyVisor (pVisor) is available as a developer preview. Its native Jobs workflow runs existing agent CLIs, scripts, or automation without an Agent SDK, can stage filesystem changes for inspection and selective apply or discard, and produces execution records; documented executors include host, OCI container, and Linux VM. The repository also describes separate experimental Docker-style commands, a daemon with partial OpenSandbox/E2B profiles, and a containerd shim, each with distinct contracts and limitations. The project cautions that requesting a policy does not prove enforcement, executor boundaries vary, it does not claim hardened isolation between hostile tenants sharing an account, and crash recovery and compatibility are not established as stable. Discarding staged changes does not undo external effects, and proxy records cannot prove unobserved actions did not occur. VM resource sharing and memory reclamation are conditional or under development; no general density or net-savings conclusion follows. This could make agent work easier to inspect and selectively accept, but independent security validation, reliability, adoption, and workload benchmarks remain unestablished. Social traction is low and cooling from its peak, but does not diminish the significance of the release itself.

Measured heat

now 0 pts/hpeak 0 pts/hcomments 0/hpeers p10momentum: steady3 platformsage 709h
points/hour across evidence · reading as of 2026-11-27 02:23:58.509736+11:00 · deterministic, not a model opinion

How the heat travelled

10-28 02:32 (minted)⭐ origin echo-reconstructedThe primary artifact is the project’s own repository. Its README describes pVisor as a system to “Run agents and review their changes before
DeepLink-org on github (echo) · attributed from hn.story.50268585 · published time unknown
—
10-28 02:17first on hacker news · published · lag ?Show HN: PVisor, VM-isolated containers for agents
reiase
—
10-28 03:44first on r/codex · published · lag ?Building pVisor with Codex: a Docker alternative for coding-agent workloads
ok-reiase
—
10-28 02:17amplified on hacker newshn.story.50268585
reiase
peak 1 · 0 comments · 38% of case engagement
10-28 03:44amplified on r/codex 👑reddit.post.1xhdrn0
ok-reiase
peak 0 · 3 comments · 65% of case engagement
10-28 02:28our radar first saw it · lag ?discovery anchor: hn.story.50268585—
pace: p26 vs 1845 stories at the 336h mark (now 709h old) — ahead of adap-delegated-authority-protocol-draft (2.0x), behind abmaze-protein-fitness-agent-benchmark (0.7x)

Evidence (3) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hnShow HN: PVisor, VM-isolated containers for agents
Retrieved article excerpt

Open article · Retrieved 2026-10-28T02:30:27.730650+00:00

# [PolicyVisor](https://github.com/DeepLink-org/pvisor/blob/main/docs/overrides/assets/logos/pvisor-icon.png) PolicyVisor (pVisor)

Run agents and review their changes before choosing what to keep.

运行 Agent,查看变更,再决定哪些改动进入工作区。

[CI](https://github.com/DeepLink-org/pvisor/actions/workflows/ci.yml)
[Documentation](https://deeplink-org.github.io/pvisor/)
[License: Apache-2.0](https://github.com/DeepLink-org/pvisor/blob/main/LICENSE)

pVisor runs Agent CLIs, scripts and automation with execution policies,
copy-on-write workspace staging and execution records. Use your usual command,
inspect the results, then accept selected file changes or discard the stage.
The basic workflow requires no Agent SDK.

Jobs are the main workflow for reviewing changes before accepting them. The
project aims to reduce supervision per task and let each machine support more
sandboxes. VM resource sharing and idle memory reclamation are under active
development, with support that varies by platform.

[PolicyVisor execution and review workflow](https://github.com/DeepLink-org/pvisor/blob/main/docs/overrides/assets/diagrams/pvisor/system-products.svg)

## Start with one Job

Install the native command from a Python wheel:

```
pip install pvisor-sandbox
pvisor --version
```

Wheels are published for Linux x86\_64 and Apple Silicon macOS. Staged host
execution on macOS requires macFUSE 5.4.0 or newer with its FSKit extension enabled.
VMs use KVM on Linux and Hypervisor.framework on Apple Silicon. On macOS, they
need a Linux image or rootfs. See the
[installation guide](https://github.com/DeepLink-org/pvisor/blob/main/docs/src/en/start/installation.md) for prerequisites.

You can also install the same command from the rolling nightly build without a
Rust toolchain:

```
curl -fsSL https://raw.githubusercontent.com/DeepLink-org/pvisor/main/scripts/install-nightly.sh | bash
```

Stable and nightly GitHub Releases include native archives and SHA-256 checksums.
Install with Homebrew from the [project tap](https://github.com/DeepLink-org/Formula):

```
brew tap DeepLink-org/formula https://github.com/DeepLink-org/Formula.git
brew install DeepLink-org/formula/pvisor
```

The stable workflow generates a Homebrew formula and can update the tap after
its [one-time setup](https://github.com/DeepLink-org/pvisor/blob/main/docs/src/en/community/releasing.md#one-time-setup).

Platform requirements and executor setup are covered in the
[installation guide](https://deeplink-org.github.io/pvisor/start/installation/).

Run an installed Agent CLI from your project directory:

```
pvisor spawn --safe -- claude
pvisor review last
pvisor apply last --path src
# Or discard the remaining staged changes:
pvisor drop last
```

Replace `claude` with your Agent CLI or script. `--safe` requests the safety preset
and keeps workspace changes in Job storage for review. Admission can refuse an
executor that cannot satisfy the preset. `last` selects the latest Job in the
default store; use the printed Job ID when managing several Jobs. With
`--stage PATH`, you choose a stage explicitly and address it by its path.

**Ordinary host Jobs without staging write directly to the workspace.** Staging
covers the configured filesystem view; HOME, rootfs and explicit mounts have
separate lifetimes. See [staging and storage](https://github.com/DeepLink-org/pvisor/blob/main/docs/src/en/reference/cli.md#%E6%9A%82%E5%AD%98%E4%B8%8E%E5%AD%98%E5%82%A8).

For a minimal VM Job with a Linux image:

```
pvisor spawn --executor vm --rootfs image=ubuntu:24.04 -- /bin/echo hello
```

The [examples](https://github.com/DeepLink-org/pvisor/blob/main/examples/pvisor/README.md) cover filesystem isolation, selective
apply, network policy, model request capture and interactive review.

## What a Job gives you

| Capability | What it does |
| --- | --- |
| Policy admission | Resolves the executor and requested capabilities before dispatch, and records the available controls and observations. |
| Workspace staging | Keeps writes in an overlay for inspection before you apply them to the target workspace. |
| Selective apply | Applies selected paths, checks recorded preimages for conflicts, and tracks progress in a recovery ledger. |
| Execution records | Produces a Run record and Run Bundle with results, filesystem changes, boundary observations and artifact references. |
| Network and model control | OverlayNet applies network policy; optional Gateway support adds model protocol handling and request/response capture. |
| Checkpoint and fork | Supports logical filesystem checkpoints and forks; execution snapshots are separate, restricted VM capabilities. |

Execution is bounded, recoverable and checkable within the documented scopes.
Inspect the Run Bundle's evidence and warnings to see which controls were
installed; requesting a policy does not prove enforcement. Logical checkpoints
do not capture process memory, and replay does not roll back an external service.

## Execution boundaries

A Job can run as a host process, through the native OCI container executor, or
in a Linux VM. Each executor has different isolation boundaries, controls and
prerequisites.

| Executor | Boundary and current limits |
| --- | --- |
| Host | Uses platform controls and optional filesystem staging. Selective network proxying is cooperative unless a mandatory network boundary is configured. |
| OCI container | Delegates execution through an OCI runtime. It does not satisfy the `--safe` preset; delegated result provenance remains a limitation of this implementation. |
| VM | Runs a separate Linux guest through `pvisor-vm`, with virtio-fs and a userspace network data plane. Supported native VMM targets are Linux x86\_64/KVM and macOS ARM64/HVF. |

pVisor trusts the host kernel, its supervisors, and the host account's management
code and configuration. The project does not claim a hardened boundary between
mutually hostile tenants sharing that account.

The following limits apply across executors:

- Remote API calls, database writes and sent messages are outside `apply`/`drop`
  and remain in effect. Dropping a stage also leaves files that have already been
  applied in place.
- Apply does not provide a multi-file transaction against other writers. Stop
  concurrent editors and other apply processes while accepting a batch. Conflict
  detection and recovery records do not make arbitrary concurrent writes safe.
- Proxy records cover traffic through the proxy. Missing observations do not
  prove that an action never happened.
- Crash recovery is incomplete. Attempt completion publishes several durable
  records separately, so a host-process crash between them can require reconciliation.

See [capabilities and evidence](https://github.com/DeepLink-org/pvisor/blob/main/docs/src/en/concepts/capabilities-and-evidence.md),
[staging semantics](https://github.com/DeepLink-org/pvisor/blob/main/docs/src/en/concepts/staging.md) and the
[security documentation](https://github.com/DeepLink-org/pvisor/blob/main/docs/src/en/security/index.md) before relying on a boundary.

## Other ways to use pVisor

The repository also provides these entry points, each with its own contract:

| Entry point | Scope |
| --- | --- |
| `pvisor spawn` | Native Jobs: run, review, apply/drop, inspect, checkpoint and fork. |
| `pvisor run`, `build`, `pull`, `exec` | Experimental Docker-style CLI subset, with one Linux VM per container and no central Docker daemon. This is separate from the OCI executor used by Jobs. |
| `pvisor-daemon` | Single-node services for sandbox APIs, cache and optional memory pools. Sandbox serving implements partial OpenSandbox 1.1.0 and E2B Python SDK 2.59.0 profiles on Linux/KVM. |
| `containerd-shim-pvisor-v2` | Linux containerd integration with its own lifecycle and platform requirements. |
| Rust library `pvisor` | Embeddable execution runtime and durable Job service. |
| `pvisor-tui`, `pvisor-replay` | Interactive Job frontend and replay/continuation tools. |

The container CLI does not implement the Docker Engine API. The daemon's sandbox
API does not expose native Job stage/apply or checkpoint/fork semantics. SDK
support is limited to the partial profiles described above. External
orchestrators handle cross-node placement, workflow scheduling and retries.

Use the [container command profile](https://github.com/DeepLink-org/pvisor/blob/main/crates/pvisor-cli/README.md#docker-command-profile-experimental),
[daemon contract](https://github.com/DeepLink-org/pvisor/blob/main/crates/pvisor-daemon/README.md) and
[shim guide](https://github.com/DeepLink-org/pvisor/blob/main/crates/pvisor-shim/README.md) for supported operations and limitations.

## VM density and current maturity

pVisor includes a shared compressed image pool, optional RAM sharing, VM
pause/offload controls and experimental guest-idle/model-wait integration.
Support depends on the platform, RAM backing and execution profile. Some features
require opt-in, and availability varies across frontends.

The runtime feature `workload-aware-memory-offloading` currently enables only
vCPU wait observation. It does not automatically reclaim memory. Shared memory
pools and Apple Silicon shared kernel baselines are separate opt-in mechanisms.
See the [runtime experiments](https://github.com/DeepLink-org/pvisor/blob/main/crates/pvisor/README.md#explicit-runtime-experiments)
and [VM implementation](https://github.com/DeepLink-org/pvisor/blob/main/crates/pvisor-vm/README.md) for their contracts.

The project is a developer preview. Architecture reviews and targeted tests cover
individual behaviors; they do not establish stable crash recovery, isolation
between hostile tenants or full OCI/SDK compatibility. Assess platform integration,
release-artifact validation and long-running fault tests for the revision and
configuration you use. Memory sharing alone does not establish sandbox density
or net memory savings. Consult the
[benchmarks](https://github.com/DeepLink-org/pvisor/blob/main/docs/src/en/benchmarks/index.md) for measured workloads and conditions.

## Architecture and development

The workspace has 13 crates, grouped by the responsibilities they own:

| Layer | Crates and responsibility |
| --- | --- |
| Applications | `pvisor-cli` owns `pvisor`, `pvisor-tui` and `pvisor-replay`; `pvisor-daemon` and `pvisor-shim` own service integrations. |
| Runtime | `pvisor` owns admission, Jobs, Sessions/Attempts, executors and driver orchestration. |
| Shared contracts and persistence | `pvisor-core` defines policies, Operations, Events and shared records; `pvisor-journal` owns durable event storage. |
| Filesystem | `pvisor-overlay-core` owns shared overlay/apply mechanics; `pvisor-overlayfs` supplies the host filesystem adapter; `pvisor-vm` supplies virtio-fs. |
| Network and models | `pvisor-overlaynet` owns network policy transport and the VM data plane; `pvisor-gateway` owns model protocols and capture. |
| Virtual machine and guest | `pvisor-vm` owns the VMM and RAM lifecycle; `pvisor-guest` owns guest process execution and reaping. |
| Replay | `pvisor-replay` implements replay using Core and Journal contracts, independently of the runtime and CLI parser. |

For local development:

```
mise run doctor -- dev
mise run build -- release           # Supported executables for this host
mise run test -- pvisor pvisor-cli   # Runtime and frontend tests through nextest
mise run test                    # Workspace Rust tests, then Python suites
```

Run checks for the affected packages when making focused changes. `mise run build -- PROFILE COMPONENT`
supports `debug`, `release` and `performance` profiles and `all`, `product`,
`daemon`, `shim` and `shim-vm` components. Builds prepare the customized guest
firmware from [`fw/`](https://github.com/DeepLink-org/pvisor/blob/main/fw/README.md); published wheels do not require a local kernel
build toolchain. See the [engineering guide](https://github.com/DeepLink-org/pvisor/blob/main/docs/src/en/community/developme
reiase10
🟧 echo.github ⭐The primary artifact is the project’s own repository. Its README describes pVisor as a system to “Run agents and review their changes beforeDeepLink-org——
🟠 redditBuilding pVisor with Codex: a Docker alternative for coding-agent workloads
codex
ok-reiase03

Interpretation history

Decision trace