Nat Optimization
Agent Buildingnat-optimizationNat Optimization is an Agent Skill for agent building published in the NVIDIA/NeMo-Agent-Toolkit repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Use when configuring or running NeMo Agent Toolkit optimization with `nat optimize`, including Optuna parameter tuning, prompt evolution, optimizer sizing, output interpretation, and optimizer datasets.
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/NVIDIA/NeMo-Agent-Toolkit/blob/HEAD/skills/nat-optimization/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/nat-optimization, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
NeMo Agent Toolkit Optimization
Use this skill when improving workflow quality through nat optimize.
Workflow
- Fix workflow correctness issues before optimizing.
- Size the run and explain the chosen
n_trials, parallelism, and stopping behavior. - Use separate evaluators for separate quality dimensions.
- Run
nat optimizewith a generous timeout. - Inspect output artifacts before writing tuned values back to workflow YAML.
Guardrail
Do not kill nat optimize mid-run unless the user asks. It writes final artifacts when the study finishes cleanly.
References
references/overview.mdreferences/choosing-parameters.mdreferences/configuration.mdreferences/output-and-cli.mdreferences/complete-config-example.mdreferences/optimizer_example_dataset.json