nono provides two execution modes that trade off between features and attack surface. Understanding them helps you choose the right mode for your situation.Documentation Index
Fetch the complete documentation index at: https://nono.sh/docs/llms.txt
Use this file to discover all available pages before exploring further.
Overview
| Mode | Command | Parent Sandboxed | Audit | Rollback | Expansion | Attack Surface |
|---|---|---|---|---|---|---|
| Supervised | nono run / nono shell | No | Yes | Optional | Linux only | Larger |
| Direct | nono wrap | N/A (no parent) | No | No | No | Minimal |
Supervised Mode (default)
- Interactive AI agents (default for
nono runandnono shell) - When you want diagnostic output on failures
- When you want default audit recording
- When you want audit-integrity (
--audit-integrity) - When you need rollback snapshots (
--rollback) - When you need capability expansion (Linux)
- When you need network proxy filtering
- Larger attack surface (unsandboxed parent, mitigated by ptrace hardening)
- Diagnostic footer on non-zero exit explaining what went wrong
- Signal forwarding to child process
- Audit recording by default
- Append-only audit integrity metadata with
--audit-integrity - Rollback snapshots (baseline + final) with
--rollback - Interactive post-exit review of changes with
--rollback - Capability expansion prompts (Linux only)
- Network proxy filtering with
--network-profileor--allow-domain
Direct Mode (nono wrap)
exec()s directly into the target command. nono disappears from the process tree entirely - there is no parent process.
When to use:
- Scripts and CI/CD where you want minimal overhead
- Piping and embedding where no parent process is wanted
- Maximum security (smallest attack surface)
- No diagnostic footer on errors
- No audit recording
- No rollback snapshots
- No capability expansion
- No network proxy (incompatible — proxy requires a parent process)
Choosing a Mode
nono run (Supervised mode) is the right choice. Use nono wrap when you need a minimal, no-parent execution for scripts or embedding.