# Nat Optimization

> Nat 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.

- Skill name: `nat-optimization`
- Category: [Agent Building](https://www.openparable.com/skill/agent-building/1)
- Source: https://github.com/NVIDIA/NeMo-Agent-Toolkit/blob/HEAD/skills/nat-optimization/SKILL.md
- Repository: NVIDIA/NeMo-Agent-Toolkit (2,496 GitHub stars when collected)

## SKILL.md

# NeMo Agent Toolkit Optimization

Use this skill when improving workflow quality through `nat optimize`.

## Workflow

1. Fix workflow correctness issues before optimizing.
2. Size the run and explain the chosen `n_trials`, parallelism, and stopping behavior.
3. Use separate evaluators for separate quality dimensions.
4. Run `nat optimize` with a generous timeout.
5. 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.md`
- `references/choosing-parameters.md`
- `references/configuration.md`
- `references/output-and-cli.md`
- `references/complete-config-example.md`
- `references/optimizer_example_dataset.json`

---

Source: https://www.openparable.com/skill/agent-building/nat-optimization (OpenParable). Cite the canonical URL above.
