█

AI/TLDR

मुझे पिलाएं कॉफ़ी
मुझे एक कॉफ़ी पिलाएँ

nono

AI एजेंट्स के लिए kernel-enforced sandboxing — डिफ़ॉल्ट रूप से सब कुछ ब्लॉक, एक unprivileged binary, बिना containers के

Code Sandboxes & Isolationओपन सोर्स
भाषा
Rust
लाइसेंस
Apache-2.0
$curl -fsSL https://nono.sh/install.sh | sh
संक्षेप में

nono क्या है?

nono AI एजेंट्स के लिए kernel-enforced sandboxing — डिफ़ॉल्ट रूप से सब कुछ ब्लॉक, एक unprivileged binary, बिना containers के. यह Agents & Automation टूल्स की Code Sandboxes & Isolation श्रेणी में आता है; ओपन सोर्स है, Rust में लिखा गया है और Apache-2.0 लाइसेंस के तहत है। शुरू करने के लिए: nono इंस्टॉल करें.

सारांश

nono एक agent runtime security tool है: एक single binary जो Claude Code, Codex, Copilot, OpenCode, Goose या ADK, Mastra, Pydantic AI या LangChain से खुद बनाए गए एजेंट को रैप करता है, और kernel-enforced sandboxing से उसे सीमित रखता है। इसे root privileges की ज़रूरत नहीं होती, और यह macOS, Linux और Windows पर WSL2 के ज़रिए चलता है, इसलिए वही टूल डेवलपर के लैपटॉप पर, Kubernetes pod के अंदर, CI workflow में, container या microVM में काम करता है, और पहले से मौजूद isolation के साथ जुड़ जाता है।

मॉडल डिफ़ॉल्ट रूप से सब कुछ बंद रखता है और सिर्फ़ स्पष्ट रूप से अनुमति देता है। Linux पर nono Landlock security module इस्तेमाल करता है और macOS पर Apple का Seatbelt framework; sandbox को एजेंट के exec होने से पहले लागू किया जाता है, हर child process उसे विरासत में पाता है, और एक बार लागू होने के बाद उसे बढ़ाया नहीं जा सकता — nono भी नहीं। ~/.ssh, ~/.aws, ~/.kube, ~/.npmrc और shell history जैसे संवेदनशील paths parent directory की अनुमति होने पर भी ब्लॉक रहते हैं, path traversal और symlink की चालें kernel द्वारा ठुकरा दी जाती हैं, और अगर sandbox शुरू नहीं हो पाता तो nono बिना restriction के कमांड चलाने के बजाय बाहर निकल जाता है।

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 ↗

इस नींव के चारों ओर वे हिस्से हैं जिनकी एजेंट workflow को ज़रूरत होती है। एक local proxy outbound traffic को domain के आधार पर फ़िल्टर करता है, और credential routes के लिए HTTP method और path के आधार पर भी, और API keys inject करता है ताकि असली secret कभी sandbox के अंदर न जाए। Skills, hooks और instruction files को भरोसेमंद publishers के Sigstore signatures से verify किया जा सकता है, sessions एक tamper-evident audit record छोड़ते हैं, और --rollback tracked files का snapshot लेता है ताकि आप देख और restore कर सकें कि एजेंट ने क्या बदला। Policies एजेंट के नियंत्रण से बाहर composable JSON profiles में रहती हैं, और लोकप्रिय एजेंट्स के लिए तैयार profiles registry.nono.sh पर प्रकाशित हैं।

यह क्या करता है

  • Linux पर Landlock और macOS पर Seatbelt के ज़रिए kernel-level filesystem isolation, जो हर child process को विरासत में मिलता है और एक बार लागू होने के बाद पलटा नहीं जा सकता
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-net से सब कुछ ब्लॉक करें, या local filtering proxy के ज़रिए सिर्फ़ सूचीबद्ध domains (वैकल्पिक रूप से path-scoped) की अनुमति दें
  • Reverse proxy के ज़रिए credential injection, जिसकी keys system keystore, 1Password, Bitwarden, Apple Passwords, files या environment variables से आती हैं — एजेंट को सिर्फ़ एक phantom token दिखता है
  • Supply-chain checks: skills, hooks और instruction files को Sigstore bundles से verify करते हैं, और आपकी policy के दायरे में आने वाली unsigned या tampered files को अस्वीकार करते हैं
  • Atomic rollbacks: Merkle-tree integrity के साथ content-addressed snapshots, exit पर interactive diff और हर session के लिए restore
  • Composable JSON profiles, agent profiles का public registry, किसी भी allow या deny को समझाने के लिए nono why, और अपनी process को sandbox करने के लिए Rust, Python, TypeScript और Go SDKs

शुरू करें

Binary इंस्टॉल करें, model को समझने के लिए एक साधारण कमांड को sandbox करें, फिर एक reviewed profile के तहत coding agent चलाएं। अन्य Linux distributions और WSL2 के इंस्टॉल निर्देश docs में अलग से दिए गए हैं।

nono इंस्टॉल करें

macOS और Linux पर install script या Homebrew इस्तेमाल करें। Nix flake भी दिया गया है (nix run github:nolabs-ai/nono)।

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

# or
brew install nono

कोई भी कमांड sandbox करें

--allow किसी path पर read और write की अनुमति देता है; बाकी सब kernel द्वारा ब्लॉक रहता है। Network डिफ़ॉल्ट रूप से allowed है, इसलिए builds और tests जैसे offline काम के लिए --block-net जोड़ें, और पहले capabilities देखने के लिए --dry-run इस्तेमाल करें।

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

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

Registry से coding agent चलाएं

Registry में खोजें, profile लाएं और उसके साथ agent चलाएं। Sandbox लागू करने से पहले nono filesystem, network और credential access की सटीक जानकारी दिखाता है। Claude Code (nolabs-ai/claude) और Codex (nolabs-ai/codex) के लिए भी profiles उपलब्ध हैं।

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

Network फ़िल्टर करें और keys बाहर रखें

--allow-domain proxy के ज़रिए outbound traffic को नामित hosts तक सीमित करता है। --credential के साथ proxy keystore से key inject करता है और child के environment में OPENAI_BASE_URL सेट करता है, ताकि एजेंट के पास कभी असली 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

एजेंट के बदलाव पलटें

--rollback एक baseline और एक final snapshot लेता है, और एजेंट के exit होने पर interactive diff दिखाता है। पिछले sessions की सूची देखी, जांची और बाद में restore की जा सकती है।

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

Profile को अपने हिसाब से बनाएं

एक editable profile scaffold करें जो registry profile को extend करे, उसे validate करें, और nono से पूछें कि कोई path या कमांड क्यों allowed या 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

कमांड और कोड प्रोजेक्ट के अपने दस्तावेज़ों से लिए गए हैं — हमेशा जांचें आधिकारिक repo ताज़ा जानकारी के लिए।

कब इस्तेमाल करें

  • अपनी मशीन पर Claude Code, Codex या कोई और coding agent चलाएं, बिना उसे अपनी SSH keys, cloud credentials या home directory के बाकी हिस्से सौंपे
  • एजेंट को API access दें, पर key को उसकी process से बाहर रखें, और सिर्फ़ उन्हीं endpoints और HTTP methods तक सीमित रखें जिन्हें आप मंज़ूरी दें
  • CI, container या Kubernetes pod में एजेंट steps को sandbox करें, मौजूदा isolation के ऊपर एक अतिरिक्त, unprivileged layer के रूप में
  • अपनी Python, Node.js, Go या Rust process को untrusted input छूने से पहले SDK के ज़रिए अंदर से लॉक करें

How nono compares

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

टूलस्टारयह क्या करता है
Daytona★ 71.2kAI-जनरेटेड कोड चलाने के लिए सुरक्षित, लचीले सैंडबॉक्स
NVIDIA NemoClaw★ 23.1kNVIDIA का रेफ़रेंस स्टैक, जिससे तीसरे-पक्ष के एजेंट OpenShell सैंडबॉक्स के अंदर चलाए जा सकते हैं
OpenShell★ 22.1kNVIDIA का ओपन सोर्स, नीति-आधारित sandbox रनटाइम, जो AI एजेंट्स के पूरे बेड़े को सुरक्षित रूप से चलाता है
OpenSandbox★ 18.1kAI-जनित कोड को अलग-अलग कंटेनर में चलाने वाला सामान्य-उद्देश्य सैंडबॉक्स प्लेटफ़ॉर्म
E2B★ 15.1kसुरक्षित, अलग-थलग cloud sandboxes में AI-generated कोड चलाएं
AX (Agent Executor)★ 15kGoogle का डिक्लेरेटिव ऑर्केस्ट्रेटर, जो Kubernetes क्लस्टर पर सैंडबॉक्स में अविश्वसनीय agent टास्क चलाता है
AWS Emulator★ 10.4kAWS APIs का मुफ़्त लोकल स्टैंड-इन, टेस्ट, CI और AI coding agents के लिए
nono★ 5.2kAI एजेंट्स के लिए kernel-enforced sandboxing — डिफ़ॉल्ट रूप से सब कुछ ब्लॉक, एक unprivileged binary, बिना containers के