█

AI/TLDR

Buy me a coffee
Buy me a coffee

nono

Kernel-enforced sandboxing for AI agents — deny by default, one unprivileged binary, no containers

Code Sandboxes & IsolationOpen source
Language
Rust
License
Apache-2.0
$curl -fsSL https://nono.sh/install.sh | sh
IN SHORT

What is nono?

nono is an agent runtime security tool: a single binary that wraps Claude Code, Codex, Copilot, OpenCode, Goose or an agent you built yourself with ADK, Mastra, Pydantic AI or LangChain, and confines it with kernel-enforced sandboxing. It sits in the Code Sandboxes & Isolation category of the Agents & Automation tools and is open-source, written in Rust and licensed Apache-2.0.

Overview

nono is an agent runtime security tool: a single binary that wraps Claude Code, Codex, Copilot, OpenCode, Goose or an agent you built yourself with ADK, Mastra, Pydantic AI or LangChain, and confines it with kernel-enforced sandboxing. It needs no root privileges and runs on macOS, Linux and Windows through WSL2, so the same tool works on a developer laptop, inside a Kubernetes pod, in a CI workflow, a container or a microVM, composing with whatever isolation is already there.

The model is deny by default, allow explicitly. On Linux nono uses the Landlock security module and on macOS Apple's Seatbelt framework; the sandbox is applied before the agent is exec'd, every child process inherits it, and once applied it cannot be widened — not even by nono. Sensitive paths such as ~/.ssh, ~/.aws, ~/.kube, ~/.npmrc and shell history stay blocked even when a parent directory is granted, path traversal and symlink tricks are refused by the kernel, and if the sandbox cannot be initialised nono exits instead of running the command unrestricted.

Flowchart of nono's instruction-file verification: compute a SHA-256 digest, check a blocklist, locate and verify the Sigstore bundle, match the signer against trusted publishers and the digest against the file, otherwise hard deny
Supply-chain checks: an instruction file is allowed only after its Sigstore bundle, signer and digest all verify.nono docs ↗

Around that foundation sit the pieces an agent workflow needs. A local proxy filters outbound traffic by domain and, for credential routes, by HTTP method and path, and injects API keys so the real secret never enters the sandbox. Skills, hooks and instruction files can be verified against Sigstore signatures from publishers you trust, sessions leave a tamper-evident audit record, and --rollback snapshots tracked files so you can review and restore whatever the agent changed. Policies live in composable JSON profiles outside the agent's control, and ready-made profiles for popular agents are published at registry.nono.sh.

What it does

  • Kernel-level filesystem isolation via Landlock on Linux and Seatbelt on macOS, inherited by every child process and irreversible once applied
Flow diagram of a sandboxed child process sending an HTTP CONNECT request to the nono proxy, which validates the session token, checks the host against the allowlist and the resolved IPs against deny CIDRs before relaying to the upstream API
Network filtering: the sandboxed agent reaches the internet only through nono's proxy, which checks every destination before relaying.nono docs ↗
  • Network control: block everything with --block-net, or allow only listed domains (optionally path-scoped) through a local filtering proxy
  • Credential injection through a reverse proxy, with keys from the system keystore, 1Password, Bitwarden, Apple Passwords, files or environment variables — the agent only sees a phantom token
  • Supply-chain checks that verify skills, hooks and instruction files against Sigstore bundles and reject unsigned or tampered files your policy covers
  • Atomic rollbacks: content-addressed snapshots with Merkle-tree integrity, an interactive diff on exit and per-session restore
  • Composable JSON profiles, a public registry of agent profiles, nono why to explain any allow or deny, and Rust, Python, TypeScript and Go SDKs to sandbox your own process

Getting started

Install the binary, sandbox a plain command to see the model, then run a coding agent under a reviewed profile. Other Linux distributions and WSL2 have their own install instructions in the docs.

Install nono

Use the install script or Homebrew on macOS and Linux. A Nix flake is also provided (nix run github:nolabs-ai/nono).

bashbash
curl -fsSL https://nono.sh/install.sh | sh

# or
brew install nono

Sandbox any command

--allow grants read and write to a path; everything else is denied by the kernel. Network is allowed by default, so add --block-net for offline work such as builds and tests, and --dry-run to preview the capabilities first.

bashbash
nono run --allow . -- <COMMAND> [ARGS...]

nono run --allow . --block-net -- cargo build

Run a coding agent from the registry

Search the registry, pull a profile and run the agent with it. nono shows the exact filesystem, network and credential access before applying the sandbox. Profiles exist for Claude Code (nolabs-ai/claude) and Codex (nolabs-ai/codex) as well.

bashbash
nono search pi
nono pull nolabs-ai/pi
nono run --profile nolabs-ai/pi -- pi

Filter the network and keep keys out

--allow-domain limits outbound traffic to named hosts through the proxy. With --credential, the proxy injects the key from the keystore and sets OPENAI_BASE_URL in the child's environment, so the agent never holds the real secret.

bashbash
nono run --allow . --allow-domain api.openai.com -- my-agent

# store the key once (macOS), then inject it
security add-generic-password -s "nono" -a "openai" -w "sk-..."
nono run --allow-cwd --network-profile claude-code --credential openai -- my-agent

Undo what the agent changed

--rollback takes a baseline and a final snapshot and offers an interactive diff when the agent exits. Past sessions can be listed, inspected and restored later.

bashbash
nono run --rollback --profile nolabs-ai/claude -- claude

nono rollback list
nono rollback show 20260214-143022-12345 --diff
nono rollback restore 20260214-143022-12345

Make the profile your own

Scaffold an editable profile that extends a registry profile, validate it, and ask nono why a path or command is allowed or denied.

bashbash
nono profile init pi-local --extends nolabs-ai/pi
nono profile validate pi-local
nono run --profile pi-local -- pi

nono why --path ~/.ssh/id_rsa --op read

Commands and code are distilled from the project's own documentation — always check the official repo for the latest.

When to use it

  • Run Claude Code, Codex or another coding agent on your own machine without handing it your SSH keys, cloud credentials or the rest of your home directory
  • Give an agent API access while keeping the key itself outside its process, limited to the endpoints and HTTP methods you approve
  • Sandbox agent steps in CI, a container or a Kubernetes pod as an extra, unprivileged layer on top of the existing isolation
  • Lock down your own Python, Node.js, Go or Rust process from inside with the SDK before it touches untrusted input

How nono compares

nono alongside other open-source code sandboxes & isolation tools AI/TLDR tracks, ranked by GitHub stars.

ToolStarsWhat it does
Daytona★ 71.2kDaytona is an open-source runtime that spins up isolated sandboxes in under 90ms so agents can safely run and persist AI-generated code.
NVIDIA NemoClaw★ 23.1kNVIDIA's reference stack for running OpenClaw, Hermes and LangChain Deep Agents Code inside OpenShell sandboxes, adding managed inference, network policy, snapshots and CLI lifecycle control.
OpenShell★ 22.1kNVIDIA's open-source runtime that runs autonomous AI agents in sandboxes, enforcing a declared policy on every file access, syscall and network connection and formally verifying policy changes.
OpenSandbox★ 18kOpenSandbox gives AI agents a safe place to run code and commands, with one unified API across Docker and Kubernetes runtimes and SDKs in five languages.
E2B★ 15.1kE2B is open-source infrastructure that runs AI-generated code inside secure, isolated cloud sandboxes, controlled from JavaScript or Python SDKs.
AX (Agent Executor)★ 15kGoogle's declarative orchestrator for agent workloads: a Task runs untrusted agent code in a sandbox, while Workspace, Gateway and Model resources wire up its repos, network allowlist and LLM credentials.
Astrid★ 10.3kA portable Rust runtime that executes software as sandboxed WebAssembly capsules, where every file, network, process and tool call is gated by a signed, revocable, per-principal capability instead of ambient authority.
nono★ 5.2kKernel-enforced sandboxing for AI agents — deny by default, one unprivileged binary, no containers