What nanny guarantees
When you run an agent under nanny, these three things are true:- It will not take more steps than you allow.
- It will not spend more than your cost budget.
- It will not run longer than your timeout.
ExecutionStopped event is emitted with the exact reason, and Nanny exits with a non-zero status code.
What nanny is not
Nanny is not intelligent. It does not understand what your agent is doing, why it is doing it, or whether the result is good. It does not suggest better limits, summarise results, adapt based on context, or retry on failure. It is a primitive — a hard boundary you configure once and trust completely. This is intentional. The value comes from the guarantee: if you set a limit, it holds.Who it is for
Nanny is for developers and teams running agents in production — or preparing to. It is a good fit if you:- Are running autonomous agents that call external tools, browse the web, or write to APIs
- Need hard guarantees that an agent cannot exceed a cost budget or run indefinitely
- Want a structured audit trail of every tool call and stop reason for every execution
- Are building with CrewAI, LangChain, or any Python or Rust agent framework
- Want enforcement that is decoupled from your agent code — no lock-in, no wrapper framework
The nanny ecosystem
Nanny is designed to meet you where you are and grow with you. Nanny CLI — The universal entry point. Wraps any agent process in any language. Install it once as a system tool and usenanny run from any project that has a nanny.toml with a [start] command configured.
#[nanny::tool], #[nanny::rule], and #[nanny::agent] to get per-function cost accounting, allowlist enforcement, and custom rules. See the Rust SDK guide.
Python SDK (coming v0.1.4) — The same model as the Rust SDK, as Python decorators. @tool, @rule, @agent. This is the public launch milestone. See Python SDK.
Nanny Cloud (coming v0.1.6) — Durable audit logs, team dashboards, org-level budget aggregation, and managed enforcement across all your agents. The OSS runtime stays unchanged — Cloud is the observability and coordination layer above it.
Open source
The Nanny runtime is fully open source under the Apache 2.0 licence. Source code, issues, and contributions live at github.com/nanny-run/nanny. Cloud is the managed layer above the OSS primitive — not a replacement for it.Next steps
Quickstart
Install nanny and run your first governed agent in under five minutes.
How it works
Understand the enforcement model and passthrough mode.
nanny.toml reference
Full schema for the configuration file.
Rust SDK guide
Per-function governance with
#[nanny::tool], #[nanny::rule],
#[nanny::agent].