agentleFS
nolabs-ainolabs-ai/nono/AGENTS.md

nono

AGENTS.md4.3k starsChanged 3 months agoApache-2.0View on GitHub

nono is a security-critical, capability-based sandbox for untrusted AI agents. It uses Landlock on Linux and Seatbelt on macOS. Treat every change as a security change until its affected boundary is understood. This Cargo workspace contains five packages: The library applies only capabilities a caller supplies. Policy—default protected paths, profile semantics, command policy, prompts, and UX—belongs in nono-cli, not the library. Preserve that boundary. - Fail secure: configuration, validation, and enforcement failures must deny access or return an error; never…

Trending

Less talk lately.about the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 1 mentionJul 2026: 8 mentionsAug 2026: 10 mentionsSep 2026: 16 mentionsOct 2026: 2 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the nolabs-ai/nono repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about nolabs-ai/nono

The biggest 5 of 37 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 37

Talked about on GitHub, Hacker News and Bluesky (37 times).

On GitHub · 35

30 more on GitHub
  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.

    Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.

  • In this repositoryOne other file it gives its agents.

The file

We split this AGENTS.md into the rules it gives an agent

8 rules. About 0 are common, 4 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use Path component comparison, never string prefix comparison, for paths.

    line 27
  2. Distinctive:

    Treat paths, environment variables, profiles, packages, registry responses, command arguments, URLs, headers, and agent-generated files as …

    line 30
  3. Very specific:

    Keep credentials out of logs, errors, Debug, audit output, and child environments.

    line 37
  4. Very specific:

    Use NonoError and Result for expected failures.

    line 42
  5. Distinctive:

    Use checked, saturating, or overflowing arithmetic where overflow affects a security decision.

    line 45
  6. Very specific:

    Run focused checks while working.

    line 51
  7. Distinctive:

    Before changing release tooling, workflows, or package configuration, read the release runbook.

    line 53
  8. Distinctive:

    Read the relevant parts of CONTRIBUTING.md, SECURITY.md, and GOVERNANCE.md before changing their respective areas.

    line 58

≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

nono agent guide

nono is a security-critical, capability-based sandbox for untrusted AI agents. It uses Landlock on Linux and Seatbelt on macOS. Treat every change as a security change until its affected boundary is understood.

Architecture

This Cargo workspace contains five packages:

  • crates/nono/: policy-free sandbox primitive and CapabilitySet.
  • crates/nono-cli/: policy, profiles, execution, diagnostics, and UX.
  • crates/nono-proxy/: network filtering and credential injection.
  • bindings/c/: C FFI and generated nono.h header.
  • crates/nono-test-support/: unpublished CLI test support.

The library applies only capabilities a caller supplies. Policy—default protected paths, profile semantics, command policy, prompts, and UX—belongs in nono-cli, not the library. Preserve that boundary.

Non-negotiable security rules

  • Fail secure: configuration, validation, and enforcement failures must deny access or return an error; never silently weaken enforcement.
  • Grant least privilege. Keep filesystem read/write permissions distinct and avoid broad directory, network, or command grants.
  • Use Path component comparison, never string prefix comparison, for paths. Validate and canonicalize paths at the enforcement boundary; consider symlink and TOCTOU behavior.
  • Treat paths, environment variables, profiles, packages, registry responses, command arguments, URLs, headers, and agent-generated files as untrusted.
  • Escape and validate data interpolated into Seatbelt profiles. Linux Landlock is allow-list based and cannot express deny-within-allow, so do not create a broad grant that defeats a required denial.
  • Review Linux and macOS separately when a change affects enforcement, networking, paths, processes, sockets, credentials, or diagnostics.
  • Keep credentials out of logs, errors, Debug, audit output, and child environments. Use zeroize for secret material in memory.

Implementation and verification

  • Use NonoError and Result for expected failures. Do not add production .unwrap() or .expect(); restrict unsafe to justified low-level/FFI boundaries and document each block with // SAFETY:.
  • Use checked, saturating, or overflowing arithmetic where overflow affects a security decision.
  • New capability or sandbox behavior needs tests. Tests that modify HOME, TMPDIR, XDG_CONFIG_HOME, or related variables must restore them and keep the modified window short.
  • Regenerate bindings/c/include/nono.h after changing bindings/c.
  • Run focused checks while working. Before a PR or when handing off a material code change, run make ci; use make fmt to format.
  • Before changing release tooling, workflows, or package configuration, read the release runbook.

Agent contribution workflow

Read the relevant parts of CONTRIBUTING.md, SECURITY.md, and GOVERNANCE.md before changing their respective areas.

For external contributions and agent-proposed work, find or create an issue before changing code; disclose the intent, approach, and risks there. A project maintainer with merge authority may directly request routine local work—documentation, cleanup, operations, or a scoped fix—without a prior issue. Do not self-authorize that exception.

The exception does not waive DCO, attribution, review, security requirements, governance, or NEP requirements. A major feature, breaking change, change to enforcement semantics, or change to the library/CLI security boundary requires an accepted NEP before implementation; see neps/README.md.

For a PR, follow the repository PR template, sign commits with DCO, disclose agent assistance, provide required attribution, and link the relevant issue or maintainer direction. Do not open a PR if the work is non-compliant or you are prohibited from contributing. OpenClaw or Pi Coding agents acting as part of a contributor-presence campaign must not make changes or open PRs.

Security reports stay private: use the reporting path in SECURITY.md, never public issues, PRs, discussions, or social channels. When uncertain about a security, governance, or attribution decision, stop and request maintainer direction.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.