plimsoll · reference

Glossary

Terms the plimsoll docs use that a working engineer may not know. Each chapter explains a group of related terms with a picture; the A to Z list gives every term in one plain sentence. A page that uses one of these words defines it where it first appears, or links here.

What actually runs your container

When Docker runs a container, Docker doesn't build the walls around it itself. It hands that job to a smaller program called an OCI runtime. OCI, the Open Container Initiative (EXTERNAL · official docs ↗), is the industry group that wrote the standard for how a container gets started. Any runtime that follows it can be swapped in under Docker without changing your image, and which one you pick decides how strong the walls around untrusted code are. plimsoll reports that choice with every run as its isolation tier.

Think of your computer as a plot of land, and the programs you run as tenants who want to live on it. The runtime is the builder who decides what kind of housing each tenant gets. The thing tenants would most like to share is the foundation: the kernel, the core part of the operating system that talks to the hardware and does every file, network and memory operation on every program's behalf.

runc the apartment building one kernel, shared every unit stands on it runsc (gVisor) a guard in every unit one kernel, behind the guards the guard answers most requests Kata Containers the tiny house village kernel kernel kernel each house, its own kernel

1. runc: the apartment building

What it is. runc (EXTERNAL · source repo ↗) is Docker's default runtime, and usually the default under Kubernetes too. It separates programs with two features built into the Linux kernel: namespaces (EXTERNAL · official docs ↗), which control what each program can see (its own files, its own process list, its own network), and cgroups (EXTERNAL · official docs ↗), which cap how much memory and CPU it can use.

In the analogy. An apartment building. Every unit has its own walls and its own front door, but they all stand on one foundation and share the building's plumbing and wiring: the one kernel.

The catch. The walls are only as good as the foundation. Every tenant talks straight to the shared kernel, so a bug in the kernel is a crack in the foundation. A tenant who finds one can reach the building's utilities, and from there every unit, the landlord's (your machine's) included.

In plimsoll: the container tier.

2. runsc (gVisor): a security guard in every unit

What it is. gVisor (EXTERNAL · official docs ↗) comes from Google, and runsc is the name of its runtime. It puts a stand-in kernel, written in Go and running as an ordinary program, between your code and the real kernel. Your code's requests (open this file, send this packet) go to the stand-in, which handles almost all of them itself and uses only a short, locked-down list of real kernel calls.

In the analogy. Still the apartment building, but every unit has a security guard inside, and tenants aren't allowed to touch the pipes, wires or doors themselves. Ask for a glass of water and the guard gets it, mostly from his own supply. He only goes to the building's real plumbing for a short list of simple jobs, so a trick that would crack the real foundation never gets near it.

The catch. Every request goes through the guard, so programs that do a lot of file or network work run slower. And the guard doesn't know every trick the real kernel does: some less common kernel features are missing, so a few programs won't run under it.

In plimsoll: the kernel tier (the docker provider, plimsoll's name for the backend that runs the code, with SANDBOX_DOCKER_RUNTIME=runsc).

3. Kata Containers: the tiny house village

What it is. Kata Containers (EXTERNAL · official docs ↗) starts a small virtual machine (VM) for each sandbox, with its own separate kernel inside. The CPU's virtualization features keep the VMs apart, not just the host kernel's rules.

In the analogy. A village of separate tiny houses. Each one has its own foundation, plumbing and wiring, so breaking the plumbing in your house floods nobody else's.

The catch. Every house has to be built before anyone moves in, so a sandbox takes longer to start, and each one uses more memory because it carries its own kernel. It also needs a machine that allows virtualization, which on a cloud server often means bare metal or nested virtualization (a VM running inside another VM) switched on.

In plimsoll: the VM tier. The e2b provider uses the same idea with Firecracker (EXTERNAL · official docs ↗), a VM builder made for small VMs that start fast, and Docker Cloud Sandboxes, Docker's hosted service, also run each sandbox in its own small VM.

Side by side

runc

What keeps tenants apart
Walls in the shared kernel (namespaces, cgroups)
What an attacker has to break
One kernel bug
What it costs
Almost nothing extra
plimsoll tier
container
Fits
Code you or your team wrote

runsc (gVisor)

What keeps tenants apart
A stand-in kernel that does the work itself
What an attacker has to break
The stand-in, then the short list of real kernel calls it may use
What it costs
Slower file and network work; some kernel features missing
plimsoll tier
kernel
Fits
Untrusted code, including on servers that can't run VMs

Kata

What keeps tenants apart
A separate VM per sandbox, kept apart by the CPU
What an attacker has to break
The VM's own kernel, then the hypervisor (the program that runs VMs)
What it costs
Slower start, more memory, needs virtualization
plimsoll tier
VM
Fits
Untrusted code, when the start time and memory are affordable

plimsoll has one more tier that isn't an OCI runtime at all: process. The wasm provider runs code inside plimsoll's own process, which is fine for quick snippets you trust and not for a stranger's code.

Why this matters when you use plimsoll. When you ask for a minimum tier on a run (minimum_isolation), this ladder is what you're choosing on, and plimsoll refuses the run rather than quietly use a weaker builder. It's also why plimsoll can only say "container" for the openshell provider today: OpenShell, NVIDIA's agent sandbox runtime, doesn't report which runtime its Docker uses.

Every term, A to Z

admission
The daemon's capacity check just before a run starts: it reserves a slot within the concurrency and memory limits, or refuses at once instead of queueing.
agent
An AI model left alone with a job and a terminal: it writes code, runs it, reads what happened and tries again, like a new hire on a first day with a laptop and no manager.
agent kit
A library for building an AI agent, such as LangChain, CrewAI or OpenAI's Agents SDK: it calls the model, makes the tool calls the model asks for and hands back their answers. plimsoll plugs into one as a code tool, a sandbox backend or an MCP server.
agent-sandbox
A component of Kubernetes (a system for managing containers across machines) that lends a ready sandbox pod from a warm pool for one run; plimsoll checks the pod and its runtime before sending code, then deletes its claim.
answer-key tripwire
A check that reads every request a test harness sent to the model, exactly as sent, and looks for values the model must never see, such as the right answers; finding one means the exam leaked.
attestation
Cryptographic proof, usually rooted in the hardware, of exactly what software a machine is running; plimsoll's isolation tiers are evidence it collected, not attestation.
backpressure
An overloaded service telling its callers to slow down, and the callers doing so.
baseline
The starting point every group is compared against: here, the same plain program every agent began from, so any improvement is measured against it.
broker
The part of plimsoll that makes API calls for sandboxed code: it checks each call against the grant, attaches the credential itself, and counts the calls, so the code never sees the credential.
buck converter
A power-supply circuit that turns a higher DC voltage into a lower one by switching it on and off many times a second.
call
One request to plimsoll to run some code, the way one phone call is one request to someone to do something.
canary
A made-up marker value planted where a secret lives, so that spotting it anywhere else proves a leak; named after the canaries miners took underground as an early alarm.
canary run
A test of the test harness itself: it plants a canary in every hiding place, runs the harness, and fails if any canary shows up where it should not.
cart-pole
A cart on a rail with a pole hinged on top; the task is to push the cart left and right so the pole stays upright.
cell
Code a session runs in a Python or Node.js interpreter that it keeps alive between calls, so what one cell defines can still be there for the next, as in a notebook.
cgroup
The Linux kernel feature that caps and counts the memory, CPU time and number of processes a group of processes may use. More: What actually runs your container ↑
checkpoint
A saved snapshot of a model partway through training, like saving a game so you can compare how you played at different stages.
checkpoint store
Storage an application keeps for its sessions' checkpoints, with an atomic compare-and-set, which the Python client passes every call of a session through so two processes never send at once.
circuit breaker
A switch in the broker that, after the API answers 429 (too many requests) or 503 (unavailable), stops forwarding calls for a cooldown so the API can recover.
code mode
Letting an AI agent write a short program that calls an API and run it in a sandbox, instead of calling one tool per step.
compressor
The model asked to read everything a loop produced and write a short note (the recipe) that captures what mattered, like a student boiling a textbook down to one cheat sheet.
Connect
An RPC framework whose Go library serves protobuf-defined procedures over ordinary HTTP; plimsolld and its Go client use that library, and the Python and TypeScript clients speak its JSON form over plain HTTP.
container
A process started with its own view of files, network and other processes, while still sharing the host's operating-system kernel.
content-addressed
Identified by a digest of its own content, so the identifier can never later point at different content.
control
A group given everything except the thing being tested, so any difference between it and the tested group shows what that thing did, like two garden plots with the same seeds and water where only the fertilizer differs.
control law
The formula a controller applies at each tick to turn its measurements into an action.
controller
A program that reads a system's state at every tick and decides how to push it, for example to keep a pole balanced on a cart.
critic
Another model asked to score a piece of work out of 10, like a second teacher who reads an essay and marks it.
deny-all
A network policy that blocks every connection unless a rule explicitly allows it.
digest
A SHA-256 hash of some content, used as its name: the same digest always means the same bytes.
dispatch
Handing a checked request to the provider so the code starts running; a request refused before dispatch ran nothing.
Docker Cloud Sandboxes
Docker's hosted service that runs each sandbox as a microVM on Docker-managed machines; the dockercloud provider starts one per run and is billed per use.
DSSE
Dead Simple Signing Envelope: a small standard format that wraps a payload together with its signatures.
E2B
A hosted service that runs code in Firecracker microVMs; the e2b provider starts one per run and is billed per use.
egress
Network traffic leaving the sandbox; plimsoll runs have none, apart from the single path a grant opens to the broker.
escape
A bug that lets code inside a sandbox act outside it.
explained gap
A takeover of a session across one call whose answer never reached the process that sent it: the takeover names that call, and the daemon allows it only when its last record is that call.
fail closed
To refuse, rather than allow, when a check cannot be completed or a required setting is missing.
fan-out
Calling an API once per item of a list instead of once for the whole list; also called the N+1 pattern.
fingerprint
A SHA-256 hash that stands for some content: equal fingerprints mean identical bytes, and any change gives a different fingerprint.
Firecracker
The open-source virtual machine monitor, built by AWS, that starts and runs microVMs; E2B runs every sandbox on it.
floor
The weakest isolation tier a request will accept; if the daemon's provider is weaker, the request is refused and nothing runs.
govulncheck
Go's official vulnerability scanner, which reports known vulnerabilities only in code your program actually calls.
grant
Permission, attached to one run, for its code to call listed routes of one HTTP API through the broker; a run without a grant has no network at all.
grant profile
A grant stored on the server under a name, holding the API's address, the allowed routes, the callers allowed to use it and how its credential is made; a caller sends only the name.
guard
The HTTPS endpoint, served by the plimsoll daemon, that is the only address a microVM run with a grant may reach; it checks the run's guard credential and hands each call to the broker.
guest
The code running inside a sandbox, seen from the host machine that runs it.
guest guard
A small program of plimsoll's that starts first in front of every program the docker provider starts in a sandbox and puts a seccomp filter on it, which refuses the code the requests that make a namespace or a mount of its own, and tracing; every program started after it keeps the filter.
gVisor
Google's open-source stand-in kernel, written in Go and running as an ordinary program, that handles almost every request a container's code makes itself and uses only a short, locked-down list of real kernel calls. More: What actually runs your container ↑
hardened mode
The startup setting PLIMSOLL_HARDENED=1, under which the daemon refuses to start unless every production safeguard is configured, and refuses any run below the kernel isolation tier.
hardware virtualization
Processor support for running several virtual machines on one computer, each with its own kernel, kept apart by the CPU itself.
harness
A program outside the daemon that drives runs and checks their results; plimsoll's attest harness signs run records and verifies them later.
held-out flights
Test flights no agent ever saw while it worked, made from a secret fixed before the runs began; the final exam, as opposed to the practice quizzes.
hypervisor
The program that runs virtual machines and keeps them apart, so code that breaks out of a virtual machine still has to break the hypervisor. More: What actually runs your container ↑
in-toto
A standard format for signed statements about software; plimsoll's harness signs each run record as an in-toto statement inside a DSSE envelope.
isolation tier
How strong the wall around a run is, reported as one of four levels, weakest first: process, container, kernel, vm; the disabled provider reports none, and a provider that has not yet checked its runtime reports unknown. More: What actually runs your container ↑
Kata Containers
An open-source container runtime that starts a small virtual machine, with its own kernel, for each sandbox, so the processor's virtualization features keep sandboxes apart. More: What actually runs your container ↑
kernel
The core part of the operating system that talks to the hardware and does every file, network and memory operation on every program's behalf. More: What actually runs your container ↑
load line
The mark painted on a ship's hull showing how low it may safely sit in the water, where anyone can check it; plimsoll is named after it.
loop
An agent that improves its own work round after round: write, test, look at the result, change, repeat.
manifest
A file that lists what something contains, such as the files in a release or the layers of a container image.
MCP
Model Context Protocol: the open standard an AI application uses to offer tools, such as a run-code tool, to a language model.
median
The middle value when you line a set of numbers up in order, so half are below it and half above; one wild value cannot drag it far, unlike an average.
microVM
A small virtual machine with its own kernel, started for one run and destroyed after it.
mint
To create a fresh credential for one run, ideally short-lived and limited to that run's routes, so a stolen copy is soon useless.
module run
Running a compiled simulator that is baked into a docker image, once for each row of a table of parameters.
namespace
A Linux kernel feature that controls what a program can see: its own files, its own process list, its own network. More: What actually runs your container ↑
nested virtualization
Running a virtual machine inside another virtual machine; not every cloud server allows it.
noexec
A mount option that stops the kernel from running any program stored on that filesystem.
non-dumpable
Said of a Linux process that other programs of the same user may not inspect: they can open none of its descriptors and read none of its memory. plimsoll makes its own programs in a docker sandbox so with a small library loaded before each starts.
nosuid
A mount option that stops a program on that filesystem from gaining extra privileges through its set-user-ID bit.
OCI runtime
The program Docker hands a container to, which builds the walls around it, such as runc (the default), runsc (gVisor) or Kata Containers; OCI, the Open Container Initiative, wrote the standard it follows, so one can replace another without changing the image. More: What actually runs your container ↑
OpenShell
NVIDIA OpenShell, an agent sandbox runtime whose gateway server creates and deletes sandboxes on request; the openshell provider asks a gateway for one sandbox per run, or one per session.
overfitting
Scoring well on the practice set by memorizing it instead of getting better at the job, like a student who memorized last year's quiz and fails this year's.
ownership generation
A number a session starts with at 1 and that goes up by one each time another process takes the session over; every call and close carries it, and an older one is refused before anything runs.
percentage points
The plain difference between two percentages: going from 40% to 46% is 6 percentage points, not 6%.
physics oracle
The example that tests an agent-written controller by running it against a simulated cart-pole inside the sandbox and fingerprinting what happens.
pinned
Fixed to one exact version, usually by digest, so it changes only when someone edits the pin.
practice flights
The flights a loop grades itself on every round: a rehearsal the agent can see, unlike the held-out flights it is finally judged on.
practice seeds
The numbers behind the practice flights; each one decides one flight's payload, wind and gusts, so with the seed an agent could replay that flight exactly.
preflight
The configuration check a provider runs at startup and on each readiness poll: for docker it confirms the images and the runtime exist; for openshell it asks the gateway which driver it runs; for e2b and dockercloud it checks settings only.
principal
The authenticated identity a request comes from; in plimsolld, the caller id listed in the clients file, or static for the one caller of a shared PLIMSOLL_TOKEN.
process
One running program, with its own memory and its own permissions.
prompt
The written text sent to a model telling it what to do, plus anything else it is shown with the request.
prompt cache
A discount the model's provider gives when the start of a long conversation matches one it already read: it keeps that part and charges a fraction of the fresh price to read it again.
prompt injection
Instructions hidden in data, such as a tool's output, written so that a model reading the data follows them.
protobuf
Protocol Buffers: Google's schema-defined binary format for messages, which plimsoll uses for its RPC requests and responses.
protocol number
A number every request carries to name the protocol version it speaks; a daemon serving a different version refuses the request before reading it, rather than running it without fields it does not know.
provenance
A record of where an artifact came from and how it was built, kept so that someone else can check it.
provider
The backend that actually runs the code; each daemon uses exactly one: wasm, docker, e2b, dockercloud, openshell, agentsandbox, or disabled, which runs nothing and is what an unset SANDBOX_PROVIDER selects.
QuickJS
A small JavaScript engine; plimsoll embeds a build of it, compiled to WebAssembly, for its wasm provider.
rebuild
A fresh agent in a fresh sandbox, given only the task, a recipe and a few smoke flights, which builds its own controller from scratch to show whether the recipe carries enough to work from.
receipt
A signed claim about an operation or file, whose signature and subject can be checked without independently repeating the work.
recipe
A short note, capped at a fixed number of tokens, written by a model that read a loop's whole record: the sticky note the last person on the job left for the next one.
resampling
Estimating how much a result could vary by redrawing the data again and again at random, like pulling names from a hat many times to see how different the draws can look.
RPC
Remote procedure call: one program sending a request to another over the network and getting an answer back.
run record
The statement plimsolld attaches to every answered run: SHA-256 digests of the request and the result, the isolation evidence, and the start and end times; the official Go, Python and TypeScript clients recompute the digests and reject a mismatch.
runc
Docker's default container runtime, and usually Kubernetes's too, which separates containers with the kernel's namespaces and cgroups while they all share the host's kernel. More: What actually runs your container ↑
runsc
gVisor's container runtime: the program docker calls instead of runc to start a container under gVisor. More: What actually runs your container ↑
RuntimeClass
The Kubernetes setting that chooses which container runtime, such as gVisor's runsc, runs a pod.
sandbox
A place where code runs with something stopping it from reaching the rest of the machine.
sealed values
Anything the model being tested must never be sent, such as the right answers or the numbers behind the held-out flights.
seccomp
A Linux kernel feature that limits which system calls a process may make; plimsoll ships a profile listing the calls its containers may use.
seed
One number that decides a random choice, so anyone can redo the exact same shuffle or flight, because the same seed always gives the same result.
session
One sandbox kept open for many calls: the files a call writes are there for the next, a cleanup between calls ends what a call left running, and an interpreter kept for cells can carry its state from one call to the next.
session checkpoint
What an application saves after each call of a session so another process can take it over: the session's fingerprint, its ownership generation, its count of calls, its last record's digest and the policy it stated at open, and no secret.
SHA-256
A way to turn any file into a 64-character fingerprint; change one byte of the file and the fingerprint changes completely, so publishing it first proves the file was not altered later.
shed
To refuse extra work at once, instead of queueing it, when a limit is reached.
ship scan
A check on every call on its way into the sandbox: anything matching the withheld set is refused before it ships, like airport security checking a bag against a list of banned items.
side channel
A way to learn about another program through how long or how hard something works, such as shared CPU caches, rather than through any permission.
signing key
A private key that signs statements so that anyone holding the matching public key can check them; the MCP server signs each receipt with an Ed25519 key read from a file only its owner can read.
smoke flights
A few throwaway flights, run only to check that code runs at all, named after plugging in new hardware to see whether smoke comes out.
squeeze gap
A loop's practice score minus the median practice score of the rebuilds made from its recipe: the part of the score the recipe could not carry, so a big gap means the score did not come from anything a short note can pass on.
stdio
Standard input and output: the two byte streams every program starts with, which an MCP host connects to a local MCP server so the two exchange messages with no network between them.
supply chain
Everything outside your own code that ends up in what you run: dependencies, base images, build tools, and the people and servers that publish them.
syscall
A request from a program to the operating-system kernel, such as opening a file, starting a process or opening a network connection.
TCB
Trusted computing base: the code that has to be correct for a security promise to hold, so a bug anywhere in it can break the promise.
threat model
The list of attackers and attacks a system is designed to hold out against.
tick
One fixed time step of a simulation; the cart-pole examples take 10 ms per tick, so 100 ticks make one simulated second.
tmpfs
A filesystem held in memory, with a size limit set when it is mounted; its contents disappear when the container stops.
token
The unit a language model reads and writes in: a short English word is usually one token, a long number several.
token bucket
A rate limit that allows short bursts: each caller's allowance refills at a steady rate and each run spends one unit of it.
tool
One named action an MCP server offers a model, with a schema for its arguments and one for its result; run_code is one, and the model calls it by name.
trajectory
The full record of a simulation run: every state at every tick, in order.
Trigger.dev
A hosted job runner for TypeScript whose durable chat agents can sleep between messages; the trigger-chat example gives one an executeCode tool backed by plimsoll.
truth label
The right answer for a test question; if it is pasted into the model's prompt, the exam leaked.
validation set
The examples a learner checks itself against while it works, here the practice flights; kept apart from the final exam it is judged on.
virtual machine
A complete computer simulated in software, with its own kernel, kept apart from other virtual machines by the processor's virtualization features. More: What actually runs your container ↑
wazero
A WebAssembly runtime written in pure Go; plimsoll uses it to run QuickJS inside the daemon with a hard memory cap.
WebAssembly
A portable bytecode format that runs inside a host program, which decides everything the code can reach: no files, network or system calls unless the host provides them.
withheld set
A list of fingerprints of things that must never go into the sandbox, written by whoever runs the plimsoll server; any file or line that matches is refused.