plimsoll

module
v0.30.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 28, 2026 License: Apache-2.0

README ¶

plimsoll

Run agent-written code across sandbox providers, control which APIs it can call, and check a record of what ran.

audit gvisor Go Reference release license

Run the quickstart · See what it does · Agent connections · Choose a provider

Use one interface for disposable runs and persistent workspaces. Require a minimum isolation tier, how strong the wall around a run must be, on each request. Keep upstream API credentials outside guest code, the code running inside the sandbox, and check the service's account of the input and result. Sign records separately when you need saved evidence. An API is a service's callable interface, such as an endpoint that places an order or queries a database.

One Mandelbrot picture split into tiles, calculated through nine sandbox configurations, then assembled again.

One job, every sandbox. A Mandelbrot picture is a fractal, an image made by repeatedly applying a small formula. The example splits it into tiles and sends pieces to sandboxes working at once. That is fan-out; assembling the results is fan-in. Each tile runs twice so the example can compare answers across the nine configurations shown. INTERNAL · example guide and reproduction commands →.

Nemotron on Nebius Token Factory

plimsoll's entry in the Nebius x NVIDIA Global AI Hackathon is examples/nemotron-agent: an NVIDIA Nemotron model on Nebius Token Factory (EXTERNAL · product page ↗) writes code, plimsoll runs it behind gVisor, a separate user-space kernel, and every run leaves a signed record anyone can recheck. Token Factory's OpenAI-compatible API let one Go HTTP client drive four Nemotron models by changing the model name, so 120 recorded tries across them cost $1.98. Token Factory is the only Nebius service the example uses. INTERNAL · setup and run steps → · INTERNAL · live page with every run's signed records →

Run something locally

With Go installed:

git clone https://github.com/plimsollmark/plimsoll
cd plimsoll
SANDBOX_PROVIDER=wasm go run ./examples/minimal

Cloning and fetching the pinned Go toolchain, fixed to one exact version, and dependencies use the network. The example's execution needs no daemon, Docker, credentials or outbound network. Among the output, look for:

provider   wasm
isolation  process
exit code  0
stdout     {"Engineering":59000000,"Sales":20300000,"Operations":9800000}

This is a development example. wasm runs QuickJS, a small JavaScript engine, in WebAssembly, a portable bytecode format, inside the calling process. Its process tier is not an operating-system boundary; an engine escape, a bug that lets code act outside its sandbox, reaches that process. For hostile production code, use a verified kernel provider with a separate user-space kernel, or a vm provider with its own virtual machine.

The example explicitly selects a provider. The library and plimsolld, the Plimsoll server, default to Disabled, which runs nothing. INTERNAL · getting started → covers a running server, caller credentials, isolation requirements and switching to gVisor without changing the client.

What you can do

A provider is the backend that executes code. A run record is the server's account of the submitted input, returned result and execution environment, bound with content hashes, fingerprints of those bytes. The official clients recompute the hashes before accepting an answer.

Job What Plimsoll supplies Go deeper
Run code JavaScript snippets, projects containing files and ordered build/test/run steps, and compiled simulation modules on Docker. INTERNAL · payloads and examples →
Keep a workspace Sessions keep one sandbox for many calls and retain its files between them. Supported Python and JavaScript interpreters retain variables too; warm pools keep sandboxes ready to claim, and a single call that asks for one (prefer_warm) runs in a waiting sandbox that is deleted after it. A second worker can pick up a live session after the first one dies: it takes the session over with the session's saved checkpoint and the same token, a call the first worker sent but never heard back from is accounted for by its run record, and every later call of the first worker is refused before it runs. INTERNAL · sessions and pools →, INTERNAL · carrying a session on from another process →, INTERNAL · a worker killed mid-command, its session taken over →, INTERNAL · one call timed, warm and fresh →
Limit API access A per-run grant permits listed routes through a broker, a proxy outside the sandbox. The broker attaches the upstream credential, so the guest's environment, files and requests never hold it, and an API answer that holds an exact copy of it is withheld from the code and ends the run's grant (a route that echoes its request is still one not to allow). Generate routes, an injected client and the description of a tool, a named action an agent can call, from one OpenAPI document, a machine-readable API specification. Standard client libraries, such as the OpenAI and Anthropic SDKs, reach a granted API at a local address inside the sandbox, with streamed answers and uploads of up to 512 MiB a route. A grant to a chat API also reaches whatever that API's own server-side tools fetch from the internet; the guide says how to turn them off. INTERNAL · capability grants →, INTERNAL · both SDKs under a grant →, INTERNAL · agent memory through a grant →
Keep answer keys out of a run The ship scan checks every file a call carries, and the archives it can read inside them, against the files, source lines and values the operator withholds, such as an evaluation's answer keys and sealed tests. Each entry either refuses a match before any of the call's code runs or only logs it, as the operator sets it. The scan does not see files already in the image, what a grant fetches, or material hidden on purpose, such as an archive encoded twice; the guide lists its limits. INTERNAL · ship scan →, INTERNAL · five calls, refused and logged →
Catch an answer key sent to the model The answer-key tripwire reads the requests an AI evaluation recorded, exactly as sent, for the values the model being tested must never be sent (right answers, reference numbers, the names of planted test files), and names where each was found without repeating it. Its canary run plants made-up marker values where those values live, for one run, and fails if one reaches a request or a hiding place was never planted. Python standard library only, no server. INTERNAL · answer-key tripwire →
Choose where code runs Require an isolation tier on each request. A placement library selects among servers and retries elsewhere only on a request-bound refusal that says execution was not dispatched, never handed to the provider to run. INTERNAL · placement and retries →
Check, sign and replay Checked run records, linked session records, signed bundles and separately signed statements. The signing tool runs outside the server; the server holds no signing key, the private key that makes signatures. INTERNAL · records and signing →
Find wasted API calls The efficiency advisor reports repeated or avoidable calls using route templates, counts and timings. It runs after execution, calls no model and never changes the result. INTERNAL · efficiency advisor →
Operate the service Caller authentication, per-caller limits and budgets, audit logs and metrics. An operator's minimum isolation tier holds on every request, not only at startup. Hardened mode, a startup setting, refuses startup unless its required safeguards are configured. INTERNAL · hardened mode →

Payload, session and grant support vary by provider. The server's Describe call reports what its configured backend supports.

More evidence workflows

A signed receipt is like a stamped delivery slip: it identifies the contents and what the signer said about them. It does not independently repeat the inspection.

  • Match a run to its sandbox. Run records include the sandbox instance identity; Kubernetes supplies the pod's unique ID, so an outside observation log can be joined to the run. Record version 5 also states the sentence a provider requires beside its tier (WSL's: Microsoft states that WSL is not a security sandbox), whether a waiting sandbox ran the call, and the daemon's version; the daemon only states them, and a program outside it signs the record. New live calls use protocol 9 and record version 6. Upgrade server and clients together; stored-record verifiers also read published versions 1 through 5.
  • Check test results against the code revision they tested. The pull-request recipe produces signed in-toto statements, a standard layout for signed claims; JUnit test reports; and Cobertura coverage reports showing which code the tests exercised. Its challenge holds six receipts the checker must sort (honest, failing, altered, signed by another key, skipped and timed out), and a policy gate runs the repository's own rules, written in Rego, the policy language of Open Policy Agent, on a pinned release. INTERNAL · test receipt and challenge →.
  • Check timestamps and signing roles offline. Supply trusted keys, expected artifact hashes and timestamp roots separately from the receipt. The generic checker verifies the signed claims and outside timestamps without a network call. INTERNAL · offline receipt verification →.
  • Collect a coding session's execution records. Hooks label calls so records can be grouped and checked. This covers labelled Plimsoll calls, not commands an agent runs elsewhere or proof of who originated them. INTERNAL · coding-session recipe →.

See what a package did when it was installed. The dependency behavior receipt is a signed statement of what the programs in one gVisor sandbox did while a package was installed and imported: the programs started, the files written and the network calls with their destinations, read from gVisor's own system-call log outside the sandbox. A checker rebuilds the statement from the log, and the statement names the run's record by its pod. The log has stated observation gaps. INTERNAL · reader, receipt and coverage limits →, INTERNAL · receipts of three installs →.

Choose a provider

Each plimsolld serves one provider. Clients can select among several servers through the placement library. Tiers describe the boundary around a run, weakest first: process, container, kernel, vm.

Provider setting Boundary and reported tier Where it fits
wasm QuickJS inside the server: process. Snippets only. Fast local development; no operating-system isolation.
docker Default Docker runtime: container. Verified gVisor runtime (runsc): kernel. Runs and persistent workspaces on your infrastructure. INTERNAL · gVisor setup →
e2b E2B, a hosted service, runs each sandbox in a microVM, a small virtual machine, under Firecracker, the open-source monitor AWS built for them: vm. Hosted runs and sessions, billed while active. INTERNAL · E2B setup →
dockercloud Docker Cloud Sandboxes, Docker's hosted service, one microVM per run: vm. Hosted runs. The default Connect API, an RPC protocol over ordinary HTTP, supports hardened mode; the REST API has narrower support. Neither takes grants. INTERNAL · API differences and setup →
openshell OpenShell, NVIDIA's agent sandbox runtime, through its gateway: container. Existing OpenShell deployments; runs and sessions. INTERNAL · OpenShell setup →
agentsandbox Kubernetes pod from a warm pool: vm with supported Kata runtime classes (a small virtual machine per pod), kernel with gVisor, container with runc, Docker's default, which shares the host kernel. Other classes are refused. Deployments of agent-sandbox, the Kubernetes component that lends ready sandbox pods; the tier is read from the pod's runtime class. INTERNAL · Kubernetes setup →
wslc WSL containers (WSLC), the container engine Microsoft ships inside the Windows Subsystem for Linux, driven from a daemon in a WSL distribution. Per-run mode, the default: container, or vm with SANDBOX_WSLC_ACCEPT_VM_TIER=1. The per-run mode gives each run its own Hyper-V VM. It reports the container tier, because Microsoft states that WSL is not a security sandbox for running untrusted code; an operator who accepts that statement sets SANDBOX_WSLC_ACCEPT_VM_TIER=1, and it then reports vm with that statement attached. Shared mode, every run a container in one long-lived virtual machine: container. Hardened mode refuses both. A Windows machine with nothing installed beyond WSL; snippets and projects only. INTERNAL · WSL containers setup and limits →
Unset Disabled: no code runs. Fail-closed server and factory default: with nothing set, nothing runs.

A tier is configuration and provider evidence plus startup checks, not hardware attestation, cryptographic proof of the running system. Request a minimum tier; a weaker provider refuses before dispatch. A plain container is not a separate kernel, and WebAssembly here is not a VM boundary. INTERNAL · isolation evidence and limits →.

Real runs you can inspect

The completed Mandelbrot image assembled from tiles calculated across sandboxes.
One image, parallel jobs
Tiles go to nine sandbox configurations at once, and the matching answers are checked.
INTERNAL · fan-out source and reproduction guide →
Five session calls linked by their run-record fingerprints.
One workspace, several calls
A failing test, an in-place fix and a passing test, with files kept and records linked.
INTERNAL · rendered session report →
Agent-written adapter code calls the vendor API through a broker outside its sandbox.
API access without the credential
An agent-written adapter reaches only approved routes. A separate checker catches duplicate orders.
INTERNAL · rendered adapter report →
An execution record is checked, signed and attached to a software bill of materials.
A checked run, a portable receipt
Execution evidence travels in CycloneDX, a standard software parts-list format.
INTERNAL · rendered receipt report →

The simulation examples remain available too: an agent-written program balancing a pole on a moving cart, controllers (programs that steer a simulated system) compiled to WebAssembly, and a fixed batch of hand-authored controllers compared across providers. The fixed batch is not model training. Recorded timings describe those runs, not controlled provider benchmarks. INTERNAL · all examples and reproduction commands →.

The squeeze test asks whether an AI loop that graded itself on the same practice tests learned the job or memorized the test: fresh agents rebuild its work from a recipe of 32 tokens (the word pieces a model reads, about two dozen words), every controller is graded on sealed flights in sandboxes of its own, and every run is signed. Its page puts it beside two other checks for a score that looks too good, on one real hackathon entry: the ship scan, and the canary run, which tests the answer-key tripwire. INTERNAL · three checks for an AI score that looks too good →

A second squeeze page runs the recipe idea as an experiment: 40 fresh agents built a drone controller from the honest recipe, the same words shuffled, or nothing, and the recipe's order moved the landings. Every number comes from signed run records. INTERNAL · does a fresh AI agent follow the plan it is handed? →

Prime Intellect's verifiers library is a common format for reinforcement-learning environments, programs that set a model tasks and grade its answers. Its environments run with plimsoll as their sandbox: the page runs one on Docker's default runtime and under gVisor, and rechecks every record. INTERNAL · verifiers on plimsoll →

Connect an agent

Whatever kit your agent is built with, the moment it runs code it wrote, plimsoll does the same four things. It runs the code behind an isolation tier it states, refuses when the tier you asked for is not there, says plainly when nothing ran (the one case where a retry is safe), and hands back a record of the run that you can sign for someone else to check later. The kits differ only in how they plug in, as a code tool the model calls, as a sandbox backend that holds the agent's files and shell, or through MCP, and the answer underneath is the same. INTERNAL · the four things in every kit, and the three ways in →

An agent kit is a library for building an AI agent, a program in which a language model picks each next step, such as running code it wrote. SDK means software development kit; ADK means Google's Agent Development Kit.

How it plugs in Kit Package or extra Guide See a run
Code tool Vercel AI SDK @plimsollmark/client/ai-sdk Vercel AI SDK guide (INTERNAL · documentation →) Vercel AI SDK page (INTERNAL · plimsoll site →)
Code tool Mastra @plimsollmark/client/mastra TypeScript client guide, Mastra (INTERNAL · documentation →) Mastra page (INTERNAL · plimsoll site →)
Code tool Google ADK plimsoll-client[adk] Google ADK guide (INTERNAL · documentation →) Google ADK page (INTERNAL · plimsoll site →)
Code tool Agno plimsoll-client[agno] Python client guide, Agno and CrewAI tools (INTERNAL · documentation →) Agno page (INTERNAL · plimsoll site →)
Code tool CrewAI crewai-plimsoll Python client guide, Agno and CrewAI tools (INTERNAL · documentation →) CrewAI page (INTERNAL · plimsoll site →)
Code tool LangChain plimsoll-client[langchain] Python client guide, LangChain tool and Deep Agents backend (INTERNAL · documentation →) LangChain page (INTERNAL · plimsoll site →)
Code tool smolagents smolagents-plimsoll Python client guide, smolagents executor (INTERNAL · documentation →) no page yet
Sandbox backend OpenAI Agents SDK plimsoll-client[openai-agents] Python client guide, OpenAI Agents SDK (INTERNAL · documentation →) no page yet
Sandbox backend Deep Agents (LangChain) plimsoll-client[deepagents] Python client guide, LangChain tool and Deep Agents backend (INTERNAL · documentation →) no page yet
Sandbox backend Google ADK environment plimsoll-client[adk] Google ADK guide, the environment (INTERNAL · documentation →) no page yet
Sandbox backend Microsoft Agent Framework agent-framework-plimsoll Python client guide, Microsoft Agent Framework shell tool and code tool (INTERNAL · documentation →) no page yet
Sandbox backend PydanticAI pydantic-ai-plimsoll Python client guide, PydanticAI workspace (INTERNAL · documentation →) no page yet
Sandbox backend Claude Managed Agents plimsoll-client[anthropic] Python client guide, Claude Managed Agents worker (INTERNAL · documentation →) no page yet
MCP Claude Code, Codex, Claude Desktop and other MCP clients clients/mcp MCP server setup, with the Reflection Mirror recipe (INTERNAL · documentation →) no page yet

Not through a kit:

Connection Start here
Go package or remote client INTERNAL · embedding and server quickstart →
Python client INTERNAL · install and use →
TypeScript client INTERNAL · install and use →
Python shell-and-files workspace INTERNAL · workspace interface →
Prime Intellect verifiers environments INTERNAL · verifiers runtime →

Limits and project status

Plimsoll is pre-1.0. Keep the server and clients on matching protocol versions. The daemon checks provider configuration and runs a startup smoke test; that does not make the operator's machine independently trustworthy. Signatures identify a signing key and protect recorded statements from alteration. They do not prove correct code, complete tests or secure isolation.

Treat an unmarked error as a call that may have executed. Automatic retry is safe only when a refusal bound to that request says nothing was dispatched. INTERNAL · results and safe retries →.

Audit logs and advisor traces keep route templates, counts and timings, rather than API bodies or credentials. A caller-supplied correlation ID can join a run to the caller's own logs without copying their payload into Plimsoll's telemetry. INTERNAL · telemetry boundary →.

Local checks and automated public checks cover the core, clients, record formats and Docker under both its default runtime and gVisor. Public checks do not exercise the paid E2B or Docker Cloud services. No independent third-party security audit is claimed. INTERNAL · contributing and verification → · INTERNAL · security policy → · INTERNAL · full limitations →.

Find the right documentation

What you want to do Start here
Understand the idea before the API INTERNAL · plain-English browser lesson →
See what a sandbox stops, with five real programs INTERNAL · what a sandbox is →
See what a run's signed record proves, and check five in the browser INTERNAL · proof of what ran →
Run a server or embed the package INTERNAL · getting started →
Learn through working examples INTERNAL · example catalog →
Configure callers and credentials INTERNAL · caller administration →
Prepare for production INTERNAL · hardened mode → and INTERNAL · guest images and dependencies →
Extend or contribute INTERNAL · embedding seams → and INTERNAL · architecture index →
Look up an unfamiliar word INTERNAL · glossary →

The name comes from the Plimsoll line, the load limit painted on a ship's hull: a limit stated where someone can check it. Here, every run states its isolation tier.

License

Apache-2.0.

Directories ¶

Path Synopsis
Package attest is the harness's half of plimsoll's run records: it signs a checked record as a DSSE envelope around an in-toto Statement v1, verifies envelopes and whole bundles (signatures, digests, and each session's chain), and replays stored requests to compare results.
Package attest is the harness's half of plimsoll's run records: it signs a checked record as a DSSE envelope around an in-toto Statement v1, verifies envelopes and whole bundles (signatures, digests, and each session's chain), and replays stored requests to compare results.
receipt
Package receipt checks role-bound signed assertions and timestamps offline.
Package receipt checks role-bound signed assertions and timestamps offline.
tsa
Package tsa is a time witness from an RFC 3161 time-stamp authority.
Package tsa is a time witness from an RFC 3161 time-stamp authority.
tsa/tsatest
Package tsatest is a time-stamp authority for tests: a root and a time-stamping certificate made when it is built, a clock the test sets, and a token for any request, so no test needs the network or a real authority.
Package tsatest is a time-stamp authority for tests: a root and a time-stamping certificate made when it is built, a clock the test sets, and a token for any request, so no test needs the network or a real authority.
Package client dials a remote plimsolld and adapts it to sandbox.Sandbox, so isolated calls can swap providers behind the same interface.
Package client dials a remote plimsolld and adapts it to sandbox.Sandbox, so isolated calls can swap providers behind the same interface.
cmd
plimsoll-attest command
Command plimsoll-attest is a harness for plimsoll's run records, run outside the daemon: it makes a signing key, runs a request and signs its checked record into a bundle, verifies a bundle (signatures, digests, the bundle's chain of links, session chains, and with -expect the caller's own list of its calls), and replays a bundle's single runs to compare results.
Command plimsoll-attest is a harness for plimsoll's run records, run outside the daemon: it makes a signing key, runs a request and signs its checked record into a bundle, verifies a bundle (signatures, digests, the bundle's chain of links, session chains, and with -expect the caller's own list of its calls), and replays a bundle's single runs to compare results.
plimsoll-clients command
Command plimsoll-clients manages caller credentials in an offline registry.
Command plimsoll-clients manages caller credentials in an offline registry.
plimsoll-specgen command
Command plimsoll-specgen derives a host-API grant description from an OpenAPI 3.x document (Sluice "spec-import").
Command plimsoll-specgen derives a host-API grant description from an OpenAPI 3.x document (Sluice "spec-import").
plimsoll-withheld command
Command plimsoll-withheld builds a withheld set for plimsolld's ship scan (PLIMSOLL_WITHHELD_FILE) from the files and values that must never enter a sandbox, and scans a directory, or a container image, against a set offline.
Command plimsoll-withheld builds a withheld set for plimsolld's ship scan (PLIMSOLL_WITHHELD_FILE) from the files and values that must never enter a sandbox, and scans a directory, or a container image, against a set offline.
plimsolld command
Command plimsolld serves the plimsoll SandboxService over Connect (h2c, so Connect, gRPC, and gRPC-Web clients all work).
Command plimsolld serves the plimsoll SandboxService over Connect (h2c, so Connect, gRPC, and gRPC-Web clients all work).
prospector-report command
Command prospector-report renders plimsoll's exported audit stream into a single self-contained HTML report (Prospector Phase 4) — the no-Grafana companion to the dashboard.
Command prospector-report renders plimsoll's exported audit stream into a single self-contained HTML report (Prospector Phase 4) — the no-Grafana companion to the dashboard.
docker
sandboxdtls command
Command plimsoll-sandboxd-tls is the agent-sandbox image's entrypoint (docker/agentsandbox.Dockerfile): it puts TLS in front of sandboxd, the runtime daemon of Kubernetes agent-sandbox, which serves none (its v1.0.7 user guide: "sandboxd does not terminate TLS").
Command plimsoll-sandboxd-tls is the agent-sandbox image's entrypoint (docker/agentsandbox.Dockerfile): it puts TLS in front of sandboxd, the runtime daemon of Kubernetes agent-sandbox, which serves none (its v1.0.7 user guide: "sandboxd does not terminate TLS").
examples
adapter command
Command adapter is the vendor adapter example: the loop a platform needs when an AI writes the code that integrates a vendor's device API.
Command adapter is the vendor adapter example: the loop a platform needs when an AI writes the code that integrates a vendor's device API.
adapter/fleetsim
Package fleetsim is the simulated robot-fleet vendor API the adapter example runs against.
Package fleetsim is the simulated robot-fleet vendor API the adapter example runs against.
adapter/qualify
Package qualify is the platform's judge for the adapter example.
Package qualify is the platform's judge for the adapter example.
adapter/trial/devscenario command
Command devscenario prints the independent trial's development scenario for one adapter (package practice): the adapter runs in a locked-down docker sandbox through the docker provider's broker, never on the host.
Command devscenario prints the independent trial's development scenario for one adapter (package practice): the adapter runs in a locked-down docker sandbox through the docker provider's broker, never on the host.
adapter/trial/practice
Package practice is the independent trial's development scenario: what each agent could try its adapter in, once per round.
Package practice is the independent trial's development scenario: what each agent could try its adapter in, once per round.
advisor command
Command advisor shows the efficiency advisor end to end: the same question asked of a small inventory API twice, first the way an agent tends to write it (list the ids, then one call per item, then add the column up in its own code) and then the way the advice that came back suggests.
Command advisor shows the efficiency advisor end to end: the same question asked of a small inventory API twice, first the way an agent tends to write it (list the ids, then one call per item, then add the column up in its own code) and then the way the advice that came back suggests.
agent-session command
Command agent-session gathers runs carrying one coding session's trace through plimsoll's MCP server into a signed statement: which runs, behind which isolation tier, on which provider, and the weakest tier among them.
Command agent-session gathers runs carrying one coding session's trace through plimsoll's MCP server into a signed statement: which runs, behind which isolation tier, on which provider, and the weakest tier among them.
agentsandbox command
Command agentsandbox writes the agent-sandbox evidence page, docs/examples/agentsandbox/index.html, from the files published beside it.
Command agentsandbox writes the agent-sandbox evidence page, docs/examples/agentsandbox/index.html, from the files published beside it.
daemon command
Command daemon runs the whole service path end to end: it starts plimsolld with a real multi-client auth file, calls it with the official Go client, and shows what the server refuses.
Command daemon runs the whole service path end to end: it starts plimsolld with a real multi-client auth file, calls it with the official Go client, and shows what the server refuses.
dependency-receipt command
Command dependency-receipt signs, and checks, what the programs in one gVisor sandbox did while a package was installed and imported there, read from runsc's syscall log outside the sandbox (package receipt beside this file says how).
Command dependency-receipt signs, and checks, what the programs in one gVisor sandbox did while a package was installed and imported there, read from runsc's syscall log outside the sandbox (package receipt beside this file says how).
dependency-receipt/live command
Command live runs the dependency behavior receipt end to end through plimsoll and writes the page that shows it, docs/examples/dependency-receipt/: three npm packages, each installed and imported in its own run that plimsolld dispatched to a Kubernetes agent-sandbox pod under gVisor, every run's record signed into one bundle, and for each run a receipt of what the programs in that pod did, read from runsc's syscall log on the node and joined to the run's record by the pod's UID.
Command live runs the dependency behavior receipt end to end through plimsoll and writes the page that shows it, docs/examples/dependency-receipt/: three npm packages, each installed and imported in its own run that plimsolld dispatched to a Kubernetes agent-sandbox pod under gVisor, every run's record signed into one bundle, and for each run a receipt of what the programs in that pod did, read from runsc's syscall log on the node and joined to the run's record by the pod's UID.
dependency-receipt/receipt
Package receipt builds and checks the dependency behavior receipt: a signed in-toto statement of what the programs in one gVisor sandbox did, read from runsc's own syscall log outside the sandbox, and joined to the plimsoll run that sandbox served.
Package receipt builds and checks the dependency behavior receipt: a signed in-toto statement of what the programs in one gVisor sandbox did, read from runsc's own syscall log outside the sandbox, and joined to the plimsoll run that sandbox served.
dependency-receipt/runsclog
Package runsclog reads the log gVisor's runsc writes outside a sandbox when it runs with --debug --strace --debug-log-format=json, and returns what the programs inside attempted: the programs started, the files opened for writing and written, the files made, renamed, linked and removed, and the network calls with their destinations.
Package runsclog reads the log gVisor's runsc writes outside a sandbox when it runs with --debug --strace --debug-log-format=json, and returns what the programs inside attempted: the programs started, the files opened for writing and written, the files made, renamed, linked and removed, and the network calls with their destinations.
fanout command
Command fanout sends one job to every sandbox it is given and fans the answers in to one signed page: a picture of the Mandelbrot set cut into tiles, every tile computed twice, in two different rooms (a room is one daemon serving one provider at one isolation tier).
Command fanout sends one job to every sandbox it is given and fans the answers in to one signed page: a picture of the Mandelbrot set cut into tiles, every tile computed twice, in two different rooms (a room is one daemon serving one provider at one isolation tier).
fanout-cartpole command
Command fanout-cartpole grades a batch of cart-pole controllers by fanning the trials out to every sandbox it is given and fanning the answers in to one signed scoreboard: each candidate controller (a linear state-feedback law with its own pair of gains) tried from several starting angles, every trial run twice, in two different rooms (a room is one daemon serving one provider at one isolation tier).
Command fanout-cartpole grades a batch of cart-pole controllers by fanning the trials out to every sandbox it is given and fanning the answers in to one signed scoreboard: each candidate controller (a linear state-feedback law with its own pair of gains) tried from several starting angles, every trial run twice, in two different rooms (a room is one daemon serving one provider at one isolation tier).
grant command
Command grant demonstrates the capability model: agent-authored code reaching a real HTTP API through an injected client, over a route allowlist the code cannot widen, with a credential it never sees.
Command grant demonstrates the capability model: agent-authored code reaching a real HTTP API through an injected client, over a route allowlist the code cannot widen, with a credential it never sees.
internal/daemonproc
Package daemonproc builds plimsolld from source and runs it on a loopback port for the example programs, so an example exercises the real daemon, not a copy of its wiring.
Package daemonproc builds plimsolld from source and runs it on a loopback port for the example programs, so an example exercises the real daemon, not a copy of its wiring.
internal/fanjob
Package fanjob is the fan-out engine the fan-out examples share: one job cut into pieces, every piece sent twice, to two different rooms (a room is one daemon serving one provider at one isolation tier), reached through package placement as one pool, every call signed into one bundle; and the reading of a published bundle back into who ran what, checked.
Package fanjob is the fan-out engine the fan-out examples share: one job cut into pieces, every piece sent twice, to two different rooms (a room is one daemon serving one provider at one isolation tier), reached through package placement as one pool, every call signed into one bundle; and the reading of a published bundle back into who ran what, checked.
internal/fanjob/fanjobtest
Package fanjobtest holds what the fan-out examples' tests share: the real WebAssembly engine under another provider name, so a test has two rooms a bundle can tell apart, and a daemon serving a sandbox in-process.
Package fanjobtest holds what the fan-out examples' tests share: the real WebAssembly engine under another provider name, so a test has two rooms a bundle can tell apart, and a daemon serving a sandbox in-process.
internal/grade
Package grade scores trajectories with an environment's grader as the simulation image ships it, /oracle/graders/<environment>.mjs, in a project run of its own after the run that made them.
Package grade scores trajectories with an environment's grader as the simulation image ships it, /oracle/graders/<environment>.mjs, in a project run of its own after the run that made them.
internal/wasmshim
Package wasmshim holds the Node shim that runs a controller compiled to WebAssembly under the runner: controller.js, sent as a project file beside controller.wasm.
Package wasmshim holds the Node shim that runs a controller compiled to WebAssembly under the runner: controller.js, sent as a project file beside controller.wasm.
memory-grant command
Command memory-grant shows agent-written code using a hosted memory API through a plimsoll grant: the code stores a memory and recalls it in a later run, the API key stays in the broker on the host, and the run's call trace names route templates only.
Command memory-grant shows agent-written code using a hosted memory API through a plimsoll grant: the code stores a memory and recalls it in a later run, the API key stays in the broker on the host, and the run's call trace names route templates only.
minimal command
Command minimal runs one JavaScript snippet in a sandbox and prints what ran, where, and behind which isolation boundary.
Command minimal runs one JavaScript snippet in a sandbox and prints what ran, where, and behind which isolation boundary.
nemotron-agent command
Command nemotron-agent is a coding agent on an NVIDIA Nemotron model served by Nebius Token Factory, whose only tool runs code in a plimsoll session behind gVisor.
Command nemotron-agent is a coding agent on an NVIDIA Nemotron model served by Nebius Token Factory, whose only tool runs code in a plimsoll session behind gVisor.
nemotron-agent/verifier command
Command verifier is plimsoll's bundle verification compiled to WebAssembly, so a page can recheck a signed bundle in the reader's own browser: every record's digests recomputed from the stored request and response, every signature, the links between lines and each session's chain.
Command verifier is plimsoll's bundle verification compiled to WebAssembly, so a page can recheck a signed bundle in the reader's own browser: every record's digests recomputed from the stored request and response, every signature, the links between lines and each session's chain.
oracle command
Command oracle is the physics oracle demo: an agent writes a controller, plimsoll runs it against a compiled cart-pole plant, and the trajectory's fingerprint is the acceptance test.
Command oracle is the physics oracle demo: an agent writes a controller, plimsoll runs it against a compiled cart-pole plant, and the trajectory's fingerprint is the acceptance test.
providers command
Command providers runs the physics oracle's run on every provider this machine can reach and writes a page comparing them: the same controller, the same runner, the same plant, and the fingerprint of the trajectory from each provider.
Command providers runs the physics oracle's run on every provider this machine can reach and writes a page comparing them: the same controller, the same runner, the same plant, and the fingerprint of the trajectory from each provider.
sdk-grants command
Command sdk-grants shows an agent's code using the OpenAI and Anthropic Python libraries, unmodified, inside a plimsoll docker sandbox that never holds the API key, and writes the page that shows what happened.
Command sdk-grants shows an agent's code using the OpenAI and Anthropic Python libraries, unmodified, inside a plimsoll docker sandbox that never holds the API key, and writes the page that shows what happened.
sessions command
Command sessions runs one session on an NVIDIA OpenShell sandbox through the real daemon, with the harness signing every call, and writes a page that shows the calls, their chained records, and the verifier accepting the signed bundle and refusing it with one call dropped or one byte changed.
Command sessions runs one session on an NVIDIA OpenShell sandbox through the real daemon, with the harness signing every call, and writes a page that shows the calls, their chained records, and the verifier accepting the signed bundle and refusing it with one call dropped or one byte changed.
ship-scan command
Command ship-scan shows the ship scan end to end: a daemon with a withheld set, five calls that ship what a harness or an agent might, and what the caller and the operator each see.
Command ship-scan shows the ship scan end to end: a daemon with a withheld set, five calls that ship what a harness or an agent might, and what the caller and the operator each see.
squeeze command
Command squeeze runs the squeeze test on plimsoll: did a loop that graded itself on the same practice tests every round learn the job, or learn the test?
Command squeeze runs the squeeze test on plimsoll: did a loop that graded itself on the same practice tests every round learn the job, or learn the test?
verifiers command
Command verifiers runs Prime Intellect's verifiers library on plimsoll and writes the page that shows what happened: an outside environment, unchanged, whose every tool call ran in a plimsoll docker session and left a run record, rechecked afterwards from a JSON-lines log.
Command verifiers runs Prime Intellect's verifiers library on plimsoll and writes the page that shows what happened: an outside environment, unchanged, whose every tool call ran in a plimsoll docker session and left a run record, rechecked afterwards from a JSON-lines log.
wasm-buck command
Command wasm-buck runs and scores a buck converter controller written in C: the project run compiles it to WebAssembly inside the sandbox, then runs it against the buck plant, which is WebAssembly too, under the same shim as examples/wasm-controller.
Command wasm-buck runs and scores a buck converter controller written in C: the project run compiles it to WebAssembly inside the sandbox, then runs it against the buck plant, which is WebAssembly too, under the same shim as examples/wasm-controller.
wasm-controller command
Command wasm-controller runs and scores a controller written in C: the project run compiles it to WebAssembly inside the sandbox, then runs it against the cart-pole plant, which is WebAssembly too.
Command wasm-controller runs and scores a controller written in C: the project run compiles it to WebAssembly inside the sandbox, then runs it against the cart-pole plant, which is WebAssembly too.
gen
go/plimsoll/v1/plimsollv1connect
Package plimsoll.v1 is the RPC surface of the standalone code-execution sandbox.
Package plimsoll.v1 is the RPC surface of the standalone code-execution sandbox.
internal
answertest
Package answertest serves the intermediary the official clients' answer binding is tested against (failure-injection review, finding 1): a proxy that forwards every request to the daemon, so the daemon runs it, and answers every request after the first with the first one's answer, headers and all.
Package answertest serves the intermediary the official clients' answer binding is tested against (failure-injection review, finding 1): a proxy that forwards every request to the daemon, so the daemon runs it, and answers every request after the first with the first one's answer, headers and all.
auditline
Package auditline is the daemon's per-run audit line as data: the messages that mark one, and the fields its readers use, in one type.
Package auditline is the daemon's per-run audit line as data: the messages that mark one, and the fields its readers use, in one type.
boundary
Package boundary is the closed list of what a provider's startup smoke test can prove about a run, each provider's declaration of which of those its smoke test proves (and how, and when) or why it does not, and the record a smoke test keeps of what it proved.
Package boundary is the closed list of what a provider's startup smoke test can prove about a run, each provider's declaration of which of those its smoke test proves (and how, and when) or why it does not, and the record a smoke test keeps of what it proved.
boundary/boundarytest
Package boundarytest holds a provider's smoke code to its boundary declaration without running it: every record the code makes (Proof.Proved, Proof.Check, Proof.Skipped) names the function it is written in as its step and a claim the declaration answers that way, and every step the declaration names for a claim has a record of it there.
Package boundarytest holds a provider's smoke code to its boundary declaration without running it: every record the code makes (Proof.Proved, Proof.Check, Proof.Skipped) names the function it is written in as its step and a claim the declaration answers that way, and every step the declaration names for a claim has a record of it there.
clientcases
Package clientcases is the account of the test cases every client (Go, Python and TypeScript) must pass, and the judge that fails a client whose test run skipped a case or reached another verdict than the case's file states.
Package clientcases is the account of the test cases every client (Go, Python and TypeScript) must pass, and the judge that fails a client whose test run skipped a case or reached another verdict than the case's file states.
clientconfig
Package clientconfig defines the caller registry shared by the daemon and the offline operator CLI.
Package clientconfig defines the caller registry shared by the daemon and the offline operator CLI.
clientsuite
Package clientsuite is what the Go drivers of the client suites share (clients/python/client_test.go, clients/python/frameworks_test.go, clients/typescript/client_test.go): one set of named daemons, honest and hostile, served over the real RPC handler where one exists, and the checks every published client package makes of itself.
Package clientsuite is what the Go drivers of the client suites share (clients/python/client_test.go, clients/python/frameworks_test.go, clients/typescript/client_test.go): one set of named daemons, honest and hostile, served over the real RPC handler where one exists, and the checks every published client package makes of itself.
examplesnamed
Package examplesnamed finds shipped example programs that no public page names, so an example a reader could run never sits in the repository with nothing pointing at it.
Package examplesnamed finds shipped example programs that no public page names, so an example a reader could run never sits in the repository with nothing pointing at it.
fileswire
Package fileswire converts a session file call between package sandbox's types and the wire's (FilesRun, FilesResult), in both directions: the daemon reads a call and writes its result, the Go client writes a call and reads its result.
Package fileswire converts a session file call between package sandbox's types and the wire's (FilesRun, FilesResult), in both directions: the daemon reads a call and writes its result, the Go client writes a call and reads its result.
grants
Package grants resolves named host-API capability profiles for the RPC server.
Package grants resolves named host-API capability profiles for the RPC server.
insights
Package insights derives deterministic, metadata-only efficiency findings from a run's brokered host.* call trace (Prospector Phase 1).
Package insights derives deterministic, metadata-only efficiency findings from a run's brokered host.* call trace (Prospector Phase 1).
outsidefacts
Package outsidefacts is the one table of the facts about other people's software that plimsoll's code rests on, and the scan that finds code resting on such a fact with no row.
Package outsidefacts is the one table of the facts about other people's software that plimsoll's code rests on, and the scan that finds code resting on such a fact with no row.
outsidefacts/list command
Command list prints what the outside-facts check sees: every site the scan finds in product code with the row that answers it, every fixed wait in a test that carries no reason, and for each site with no row a row to copy into internal/outsidefacts/facts.json.
Command list prints what the outside-facts check sees: every site the scan finds in product code with the row that answers it, every fixed wait in a test that carries no reason, and for each site with no row a row to copy into internal/outsidefacts/facts.json.
pagetest
Package pagetest checks an example's committed page against the template its run writes it from.
Package pagetest checks an example's committed page against the template its run writes it from.
printable
Package printable makes text that came from outside a program (a daemon's answer, a bundle, a file's name or content, a request) safe to show on a terminal or in a log line: every character that can rewrite a screen, forge a line or display text in another order than it reads is written as a visible escape.
Package printable makes text that came from outside a program (a daemon's answer, a bundle, a file's name or content, a request) safe to show on a terminal or in a log line: every character that can rewrite a screen, forge a line or display text in another order than it reads is written as a visible escape.
publishflows command
Command publishflows writes the Python packages' publish workflows, .github/workflows/publish-<name>.yml, from one table (packages, below) and one template.
Command publishflows writes the Python packages' publish workflows, .github/workflows/publish-<name>.yml, from one table (packages, below) and one template.
quantise
Package quantise reports the resolution at which a module run's swept parameter was actually resolved, which is not always the resolution the caller asked for.
Package quantise reports the resolution at which a module run's swept parameter was actually resolved, which is not always the resolution the caller asked for.
refusedport
Package refusedport gives tests a loopback port that refuses connections and that no other process can take while the test runs.
Package refusedport gives tests a loopback port that refuses connections and that no other process can take while the test runs.
report
Package report renders plimsoll's exported audit stream into a single self-contained, dependency-free HTML report (Prospector Phase 4).
Package report renders plimsoll's exported audit stream into a single self-contained, dependency-free HTML report (Prospector Phase 4).
rpc
Package rpc serves the plimsoll SandboxService over Connect, wrapping the transport-agnostic sandbox package with auth, rate limiting, and request validation.
Package rpc serves the plimsoll SandboxService over Connect, wrapping the transport-agnostic sandbox package with auth, rate limiting, and request validation.
settings
Package settings is plimsolld's one table of settings: every environment variable the daemon and the providers it builds read, each declared once (registry.go) with its kind, its default and its -h text.
Package settings is plimsolld's one table of settings: every environment variable the daemon and the providers it builds read, each declared once (registry.go) with its kind, its default and its -h text.
settings/configfile
Package configfile reads a file one of plimsolld's settings names (the callers file, PLIMSOLL_CLIENTS_FILE; the grants file, PLIMSOLL_GRANTS_FILE; the withheld set, PLIMSOLL_WITHHELD_FILE) and judges whether a user other than the daemon's own and root could change what the daemon reads from it.
Package configfile reads a file one of plimsolld's settings names (the callers file, PLIMSOLL_CLIENTS_FILE; the grants file, PLIMSOLL_GRANTS_FILE; the withheld set, PLIMSOLL_WITHHELD_FILE) and judges whether a user other than the daemon's own and root could change what the daemon reads from it.
softwarewire
Package softwarewire maps the transport-neutral software admission rule to its wire form without changing its meaning.
Package softwarewire maps the transport-neutral software admission rule to its wire form without changing its meaning.
specgen
Package specgen derives a plimsoll host-API grant description from an OpenAPI 3.x document.
Package specgen derives a plimsoll host-API grant description from an OpenAPI 3.x document.
suiterun command
Command suiterun is the one reader of go test's results for the Makefile's suites.
Command suiterun is the one reader of go test's results for the Makefile's suites.
toolchain
Package toolchain exposes the single source of truth for the baked TypeScript toolchain versions (the repo-root toolchain.versions file), shared by the docker provider image and the e2b template so they cannot drift.
Package toolchain exposes the single source of truth for the baked TypeScript toolchain versions (the repo-root toolchain.versions file), shared by the docker provider image and the e2b template so they cannot drift.
unreadbody
Package unreadbody keeps an HTTP/1.x server from waiting on a request body its handler answered without reading.
Package unreadbody keeps an HTTP/1.x server from waiting on a request body its handler answered without reading.
wireenum
Package wireenum is the one table between package sandbox's typed values and their protocol enums: project outcomes, session ends, refusal reasons, capacity limits.
Package wireenum is the one table between package sandbox's typed values and their protocol enums: project outcomes, session ends, refusal reasons, capacity limits.
wiretables command
Command wiretables writes the other readers' copies of the protocol's enums and the wire rules every client checks from their one source: the enums from proto/plimsoll/v1/sandbox.proto (through the generated descriptors); the isolation tiers, cell languages, request limits and id grammars from package sandbox; the protocol number, header names and correlation id grammar from package protocol; the record versions' layouts and the record's bounds from package record; the answer size cap from package client.
Command wiretables writes the other readers' copies of the protocol's enums and the wire rules every client checks from their one source: the enums from proto/plimsoll/v1/sandbox.proto (through the generated descriptors); the isolation tiers, cell languages, request limits and id grammars from package sandbox; the protocol number, header names and correlation id grammar from package protocol; the record versions' layouts and the record's bounds from package record; the answer size cap from package client.
withheld
Package withheld is the ship scan: before a call is dispatched, the daemon looks for what the operator has declared must never enter a sandbox (a harness's source, a hidden answer, a held-out seed) in everything the call carries into one.
Package withheld is the ship scan: before a call is dispatched, the daemon looks for what the operator has declared must never enter a sandbox (a harness's source, a hidden answer, a held-out seed) in everything the call carries into one.
measurements
session-latency command
Command session-latency times what an agent's code tool pays per call on each provider with sessions: a fresh run, a session's snippet call, a cell in a warm interpreter (JavaScript and Python), the first cell (which starts the interpreter), a call after an idle suspend, and the data-reload case (a fresh run that rebuilds an array every call against a cell that keeps it).
Command session-latency times what an agent's code tool pays per call on each provider with sessions: a fresh run, a session's snippet call, a cell in a warm interpreter (JavaScript and Python), the first cell (which starts the interpreter), a call after an idle suspend, and the data-reload case (a fresh run that rebuilds an array every call against a cell that keeps it).
session-latency/report command
Command report renders docs/measurements/session-latency/*.json, written by the session-latency command, as one self-contained HTML page:
Command report renders docs/measurements/session-latency/*.json, written by the session-latency command, as one self-contained HTML page:
warm-pool/hints command
Command hints measures the warm pool's language hints: how the pool's split across language sets follows the hints sessions open with, what a member of each set holds in memory, and the time from a hinted open to its first cell's answer.
Command hints measures the warm pool's language hints: how the pool's split across language sets follows the hints sessions open with, what a member of each set holds in memory, and the time from a hinted open to its first cell's answer.
warm-pool/onecall command
Command onecall measures the one-call path (RunRequest.prefer_warm) end to end: from a client of plimsolld, the time for a Run of one cell served by a waiting pool member, the same Run in a sandbox made for it (no prefer_warm), a prefer_warm Run sent when no member is free (the miss, which runs fresh), and for comparison a session opened warm-only, one cell run in it and the session closed.
Command onecall measures the one-call path (RunRequest.prefer_warm) end to end: from a client of plimsolld, the time for a Run of one cell served by a waiting pool member, the same Run in a sandbox made for it (no prefer_warm), a prefer_warm Run sent when no member is free (the miss, which runs fresh), and for comparison a session opened warm-only, one cell run in it and the session closed.
warm-pool/openshell command
Command openshell measures the openshell provider's session pool (SANDBOX_SESSION_POOL): the time from asking for a session to its first call's answer with no pool, against the same first call in a session opened ahead of time (with its interpreter not yet started and already started: what a pool could save), and against a session claimed from a pool.
Command openshell measures the openshell provider's session pool (SANDBOX_SESSION_POOL): the time from asking for a session to its first call's answer with no pool, against the same first call in a session opened ahead of time (with its interpreter not yet started and already started: what a pool could save), and against a session claimed from a pool.
warm-pool/pooled command
Command pooled measures the docker session pool (SANDBOX_SESSION_POOL): the time from asking for a session to the first cell's answer, with and without a pool member waiting, for each language; and what a waiting member holds in memory.
Command pooled measures the docker session pool (SANDBOX_SESSION_POOL): the time from asking for a session to the first cell's answer, with and without a pool member waiting, for each language; and what a waiting member holds in memory.
Package placement chooses which plimsoll daemon runs a request, and sends it there.
Package placement chooses which plimsoll daemon runs a request, and sends it there.
Package protocol holds the one number the wire protocol is versioned by.
Package protocol holds the one number the wire protocol is versioned by.
Package record computes the digests in a plimsoll run record: what a caller sent, what came back, and the record that states both with the evidence the run executed under.
Package record computes the digests in a plimsoll run record: what a caller sent, what came back, and the record that states both with the evidence the run executed under.
Package sandbox runs untrusted, agent-authored code through an explicitly tiered execution provider.
Package sandbox runs untrusted, agent-authored code through an explicitly tiered execution provider.
agentsandbox
Package agentsandbox runs plimsoll snippets and projects on Kubernetes agent-sandbox (kubernetes-sigs/agent-sandbox, v1.0.7): one SandboxClaim per run on a warm pool, the command sent to sandboxd (the runtime daemon in each sandbox's pod) over its gRPC process service, and the claim deleted after the run.
Package agentsandbox runs plimsoll snippets and projects on Kubernetes agent-sandbox (kubernetes-sigs/agent-sandbox, v1.0.7): one SandboxClaim per run on a warm pool, the command sent to sandboxd (the runtime daemon in each sandbox's pod) over its gRPC process service, and the claim deleted after the run.
internal/deadline
Package deadline holds the one rule every provider uses to decide that a run timed out.
Package deadline holds the one rule every provider uses to decide that a run timed out.
internal/dockertest
Package dockertest gives a test in any package under sandbox the docker provider the docker suite configures: the runtime and seccomp profile it selects, its two images.
Package dockertest gives a test in any package under sandbox the docker provider the docker suite configures: the runtime and seccomp profile it selects, its two images.
internal/e2bfake/envd command
Command envd is a stand-in for E2B's envd, the agent inside an E2B sandbox, for the e2b provider's session tests: run as root inside a local container, it really starts processes, so the session conformance suite can run against the provider without E2B. It speaks the part of envd's API the provider uses, as envd does:
Command envd is a stand-in for E2B's envd, the agent inside an E2B sandbox, for the e2b provider's session tests: run as root inside a local container, it really starts processes, so the session conformance suite can run against the provider without E2B. It speaks the part of envd's API the provider uses, as envd does:
internal/egress
Package egress reads the outcome of a connection a sandbox's boundary test tried to make, one rule for every provider whose test connects out from inside the sandbox (agentsandbox, openshell).
Package egress reads the outcome of a connection a sandbox's boundary test tried to make, one rule for every provider whose test connects out from inside the sandbox (agentsandbox, openshell).
internal/guestguard
Package guestguard holds the guest guard's table of refused requests (refused.json) and turns it into the guard's filter: one classic BPF program per machine, the form prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER) installs, written as bytes beside this file (filter_<goarch>.bin) and as a C header (guest_filter.h) by go run ./sandbox/internal/guestguard/gen.
Package guestguard holds the guest guard's table of refused requests (refused.json) and turns it into the guard's filter: one classic BPF program per machine, the form prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER) installs, written as bytes beside this file (filter_<goarch>.bin) and as a C header (guest_filter.h) by go run ./sandbox/internal/guestguard/gen.
internal/guestguard/gen command
Command gen writes the guest guard's filter from its table: filter_<goarch>.bin, one per machine (and a _gvisor one each when decision 137 says "gvisor"), and guest_filter.h, the same instructions as a C array with a comment on each, into sandbox/internal/guestguard.
Command gen writes the guest guard's filter from its table: filter_<goarch>.bin, one per machine (and a _gvisor one each when decision 137 says "gvisor"), and guest_filter.h, the same instructions as a C array with a comment on each, into sandbox/internal/guestguard.
internal/lease
Package lease records what a provider asked a remote service to create and has not yet seen deleted, so orphan reconciliation never races a create.
Package lease records what a provider asked a remote service to create and has not yet seen deleted, so orphan reconciliation never races a create.
internal/nativehelper
Package nativehelper holds the native in-sandbox helper, plimsoll-helper: one static Rust program (program/, a crate with no outside package) with a mode per job plimsoll runs inside a sandbox.
Package nativehelper holds the native in-sandbox helper, plimsoll-helper: one static Rust program (program/, a crate with no outside package) with a mode per job plimsoll runs inside a sandbox.
internal/poolkit
Package poolkit is the warm session pool a session provider keeps (docker and openshell): never-used sandboxes made ready ahead of OpenSession, each with an interpreter started and its relay attached for a set of the languages the image runs, so an open hands one over instead of creating a sandbox and the first cell of each of those languages sends its code at once.
Package poolkit is the warm session pool a session provider keeps (docker and openshell): never-used sandboxes made ready ahead of OpenSession, each with an interpreter started and its relay attached for a set of the languages the image runs, so an open hands one over instead of creating a sandbox and the first cell of each of those languages sends its code at once.
internal/providerkit
Package providerkit holds the small rules every provider shares, so each has one home: output capping (Capture), timeout clamping (ClampTimeout), random names (RandHex) and what makes an image reference pinned (PinnedDigest, digest.go); and what the providers that run each payload in a sandbox reached over an API (openshell, agentsandbox) share: deadline-aware errors, a cancellable sleep, a cached readiness check and a retried delete.
Package providerkit holds the small rules every provider shares, so each has one home: output capping (Capture), timeout clamping (ClampTimeout), random names (RandHex) and what makes an image reference pinned (PinnedDigest, digest.go); and what the providers that run each payload in a sandbox reached over an API (openshell, agentsandbox) share: deadline-aware errors, a cancellable sleep, a cached readiness check and a retried delete.
internal/runnerwire
Package runnerwire is the host side of the in-sandbox project runner protocol (the native helper's run-project mode, sandbox/internal/nativehelper): the JSON plan a provider writes to the runner's stdin, the authenticated frame that carries the runner's report on its stdout, and the decoding and classification of that report.
Package runnerwire is the host side of the in-sandbox project runner protocol (the native helper's run-project mode, sandbox/internal/nativehelper): the JSON plan a provider writes to the runner's stdin, the authenticated frame that carries the runner's report on its stdout, and the decoding and classification of that report.
internal/sessionkit
Package sessionkit holds what every session provider runs inside its sandbox to keep the boundary between calls: the process lister that records a fresh sandbox's own processes, the sweep that runs after every call, and the interpreters a session may keep alive between calls (interp.go).
Package sessionkit holds what every session provider runs inside its sandbox to keep the boundary between calls: the process lister that records a fresh sandbox's own processes, the sweep that runs after every call, and the interpreters a session may keep alive between calls (interp.go).
internal/tiercheck
Package tiercheck is the one assertion every provider's tests make about the tier a result names (release-55).
Package tiercheck is the one assertion every provider's tests make about the tier a result names (release-55).
openshell
Package openshell runs plimsoll snippets and projects in NVIDIA OpenShell sandboxes, through an OpenShell gateway's gRPC API (openshell.v1, vendored at v0.1.10 under third_party/openshell and generated into gen/go/openshell).
Package openshell runs plimsoll snippets and projects in NVIDIA OpenShell sandboxes, through an OpenShell gateway's gRPC API (openshell.v1, vendored at v0.1.10 under third_party/openshell and generated into gen/go/openshell).
projecttest
Package projecttest is the one-shot project conformance suite: what every provider's RunProject promises, whatever carries its steps (the in-sandbox runner on docker, OpenShell and agentsandbox; each step through the platform's own exec on E2B and Docker Cloud).
Package projecttest is the one-shot project conformance suite: what every provider's RunProject promises, whatever carries its steps (the in-sandbox runner on docker, OpenShell and agentsandbox; each step through the platform's own exec on E2B and Docker Cloud).
sessiontest
Package sessiontest is the session conformance suite: the behavior every sandbox.SessionProvider promises, checked with node snippets and project steps through the provider itself.
Package sessiontest is the session conformance suite: the behavior every sandbox.SessionProvider promises, checked with node snippets and project steps through the provider itself.
wslc
Package wslc runs plimsoll snippets and projects in WSL containers (WSLC), the container runtime Microsoft ships inside WSL on Windows, by starting wslc.exe through WSL interop from a plimsolld running in a WSL distribution.
Package wslc runs plimsoll snippets and projects in WSL containers (WSLC), the container runtime Microsoft ships inside WSL on Windows, by starting wslc.exe through WSL interop from a plimsolld running in a WSL distribution.
wslc/internal/fakewslc command
Command fakewslc stands in for wslc.exe in package wslc's tests, and for the two other programs the per-run mode starts, powershell.exe and mkfs.ext4: the tests build it once and start it through links named after each, and it acts by the name it was started under.
Command fakewslc stands in for wslc.exe in package wslc's tests, and for the two other programs the per-run mode starts, powershell.exe and mkfs.ext4: the tests build it once and start it through links named after each, and it acts by the name it was started under.
Package sandboxtest provides shared test helpers for projects that embed the plimsoll sandbox, so the cross-cutting guarantees are asserted by ONE implementation here instead of being copy-pasted into every consumer's tests.
Package sandboxtest provides shared test helpers for projects that embed the plimsoll sandbox, so the cross-cutting guarantees are asserted by ONE implementation here instead of being copy-pasted into every consumer's tests.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL