Skip to main content
Writes a nanny.toml with safe defaults into the current working directory.

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

To reset a config to defaults, run nanny init and confirm when prompted.

Next step

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