Trace one run end to end
- Resolve — Navi finds the flow by name or path and binds its arguments, workspace, model, tools, skills, and output schema.
- Compile — Navi maps every declared step to a Mastra agent or command step and rejects invalid wiring.
- Run — Mastra executes the committed workflow.
- Validate — Navi validates the final answer, verdict, gate, or structured result.
- Record — Navi writes the turn to the selected session and renders human
output or a
navi.run.v2JSON envelope.
Know what Mastra owns and what Navi owns
Choose the repository, model, review, and session
- Repository — the current directory or
-w <path>becomes the workspace read boundary. - Model —
NAVI_MODELselects any compatible route exposed by Mastra’s Model Router and AI SDK provider adapters. - Review — a built-in or project-owned
action.yamldefines the steps, tools, and result. - Session — a new ID starts one line of work;
-t <session>continues it and--forkbranches its history.