Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.nanny.run/llms.txt

Use this file to discover all available pages before exploring further.

Writes a nanny.toml with safe defaults into the current working directory.
nanny init

What it does

Creates a nanny.toml with conservative defaults that work for most agents out of the box. Set [start].cmd to your agent’s entry point and adjust the limit values to match your requirements. The generated file includes inline comments for every field and links to the full nanny.toml reference.

Flags

nanny init takes no flags. It always writes to the current working directory.

Errors

ConditionBehaviour
nanny.toml already existsPrompts for confirmation. Overwrites on y or yes. Exits without changes on any other input.
Multiple nanny*.toml files existExits with an error listing the conflicting files. A project must have exactly one nanny.toml.
No write permission in current directoryExits with an error.
To reset a config to defaults, run nanny init and confirm when prompted.

Next step

Once your config is in place, run your agent:
nanny run
See nanny run for the full command reference.