Scan your whole stack
Are you using nontainer?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.17.0
nontainer was last scanned on 30 Nov 2026 at version 0.17.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.17.0 LATEST | 30 Nov 2026 | No rules fired |
| 0.16.0 | 25 Nov 2026 | No rules fired |
| 0.15.0 | 24 Nov 2026 | No rules fired |
| 0.14.0 | 20 Nov 2026 | Not shown |
| 0.13.0 | 17 Nov 2026 | Not shown |
Findings for v0.17.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 0.17.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Versioned, forkable workspaces for code-using agents.
Give any Python agent loop a stateful terminal and Python tool over a workspace that commits files and cache together, forks in O(1), and checks out as a unit. Run locally — where agent code can work through whitelisted live host objects — or on a microVM while the workspace history stays in the state layer.
Think of it as a fake little computer with branchable history, packaged as a
library. No Docker, cloud sandbox, or service required for the local default:
pip install nontainer.
Status: alpha. Usable and tested end to end; the API will still move before 1.0.
Nontainer keeps three concerns separate:
| Responsibility | |
|---|---|
WorkspaceProvider |
Where files and cache live, and which history operations are real. The default kvgit provider supplies cheap commits, forks, checkout, and history; other providers declare narrower capabilities rather than pretending equivalence. |
Executor |
Where terminal and Python code run and how they reach workspace state: locally through sandtrap and monkeyfs, or on a real machine through dud. |
| Adapters | How the two tools enter an existing agent loop: the core Python API, the shared Toolset any loop can call, an agno toolkit built on it, or an MCP server. A loop wraps each run in a turn (ws.turn(run_id)), which lands one commit stamped with how the run ended. |
The model-facing surface stays small: a terminal and a run_python tool.
Unlike stateless sandbox calls, both are stateful and bound to a session —
the shell's cd sticks, files one call writes the next call reads, and a
cache dict persists for the whole conversation. Because that state is a
versioned workspace, each state-changing call can be committed as one
unit: the host can fork a session in O(1), check out any commit, or audit
its history without teaching the agent a version control protocol.
What the sandbox is (and isn't). In-process, the Python sandbox (sandtrap) is a walled garden for cooperative LLM-generated code — it gates what agent code can reach (modules, host objects, the filesystem) to an allowlist you control (safe stdlib on by default, everything else opt-in), not a hardened boundary against code trying to escape. That's the right posture for your own agent's code. For crash containment and kernel-enforced defense-in-depth around cooperative code, use
isolation="process"/"kernel". For actively untrusted code, or execution exposed to anonymous clients, step off the local model and useDudExecutor()'s microVM backend (see the quick start). Full framing in the design notes.
from nontainer import store
st = store() # default ~/.nontainer
ws = st.open("user-42") # one session, one kvgit branch
ws.terminal("mkdir -p data && echo 'a,b\n1,2' > data/in.csv")
r = ws.run_python("""
import csv
rows = list(csv.reader(open('data/in.csv'))) # sees the shell's file
cache['n_rows'] = len(rows) # persists across the session
print(rows)
""")
r.commit # this call's commit; ws.checkout(it) restores it
ws.index.commit("baseline") # or compose one and name it yourself
child = ws.fork("what-if") # O(1) branch; the original is untouched
child.files.write("notes.md", "# findings\n")
child.index.commit("a thought")
ws.index.merge("what-if") # and bring its work back
child.close()
The sandbox config, the backends, the executor rungs, the adapters and the apps loop are all in the quick start.
nontainer composes kvgit, monkeyfs, termish, sandtrap, and reprobate -- each independently useful, each zero/minimal-dep -- and optionally dud when the little computer should be a real one. agex is the full agent framework over the same substrate; nontainer is the environment layer alone, offered to someone else's loop.
Using it
What the agent sees
ws-pytest and ws-vitest: discovery, the flags, calling a handler with a fake, mocking at the fetch boundaryExtending it
Why it's shaped this way
Seeing it run
analyst.py) and a build-and-verify web app (webapp.py)pip install nontainer # workspace + terminal + run_python
pip install nontainer[agno] # + agno Toolkit adapter
pip install nontainer[mcp] # + MCP server (python -m nontainer.adapters.mcp)
pip install nontainer[apps] # + handlers/curl, Playwright test_app, serving router
pip install nontainer[agentfs] # + AgentFS substrate (agentfs-sdk)
pip install nontainer[dud] # + real-machine / microVM execution (needs 3.11+)
pip install nontainer[postgres] # + Postgres for the store (Store(kv="postgresql://..."))
uv sync --extra dev --extra apps --extra agno --extra mcp --extra dud
uv run pytest -q -n auto # one worker per core; drop -n for a single test
uv run ruff check nontainer tests && uv run ruff format --check nontainer tests
Include --extra dud: the DudExecutor tests guard themselves with
importorskip, so without it the whole real-machine suite skips
silently and the run is green for the wrong reason.
MIT
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.