AI Agent Engineering > Build an AI agent > Saving and validating the flow
  

Saving and validating the flow

You can save an agent flow at any point during its development. You can also validate an agent flow to check for design-time errors.
To save an agent flow, click Save in the upper right corner of the canvas. You can save the flow whether or not it contains errors.
To check the agent flow for design-time errors, click the validation icon in the upper right corner of the canvas. Design-time errors include issues like configuration errors and missing required values. When you validate an agent flow, a badge appears next to the flow name indicating whether the flow is valid or invalid. If the flow is invalid, the components and fields that contain errors are highlighted in red.