Install
The Nanny CLI is a system tool — install it once and usenanny run from any project.
- macOS
- Linux
- Rust toolchain (all platforms)
Initialise a config
Run this in the root of your project:nanny.toml with safe defaults:
[start].cmd to your agent’s entry point and edit the limit values to match your requirements.
Run your agent
[start].cmd from nanny.toml, spawns the process, and kills it the moment any limit is crossed.
Use named limits
Define limit sets for different workloads in the samenanny.toml:
[limits] and override only the fields you declare.
Read the event log
Every run emits structured NDJSON to stdout:nanny.toml: