# Goal API

The goal loop keeps the agent working toward a completion condition across turns,
judged by a small, fast model. See [Goal loop](../advanced/goal.md) for the
overview and the CLI `/goal` command.

## GoalEvaluator

::: pydantic_deep.goal.GoalEvaluator
    options:
      show_source: false

## GoalState

::: pydantic_deep.goal.GoalState
    options:
      show_source: false

## GoalEvaluation

::: pydantic_deep.goal.GoalEvaluation
    options:
      show_source: false

## parse_goal_command

::: pydantic_deep.goal.parse_goal_command
    options:
      show_source: false

## build_goal_transcript

::: pydantic_deep.goal.build_goal_transcript
    options:
      show_source: false

## goal_continue_directive

::: pydantic_deep.goal.goal_continue_directive
    options:
      show_source: false

## format_goal_status

::: pydantic_deep.goal.format_goal_status
    options:
      show_source: false
