Skip to main content

Module decision

Module decision 

Source
Expand description

AI Decision Definition

Decision represents the final outcome of an agent’s run. It signals whether the proposed changes should be applied, rejected, or if the agent needs human intervention.

§Decision Types

  • Commit: Changes are good, apply them.
  • Abandon: Task is impossible or not worth doing.
  • Retry: Something went wrong, try again (with different params/prompt).
  • Checkpoint: Save progress but don’t finish yet.
  • Rollback: Revert changes.

Structs§

Decision
Decision object linking process to outcomes. Records the final outcome of a run.

Enums§

DecisionType
Type of decision.