Open Agent Loops
API Reference

Grade

@open-agent-loops/core


Defined in: goal/goal.types.ts:42

A grader's verdict on one round.

Properties

PropertyTypeDescriptionDefined in
donebooleantrue when the goal is satisfied — the loop stops with success.goal/goal.types.ts:44
feedback?stringWhen not done, the prompt for the next round (the redirect that tells the agent what to fix). Omitted → the next round re-prompts with the goal restated.goal/goal.types.ts:50
score?numberOptional numeric score, surfaced for observability; never gates the loop.goal/goal.types.ts:52

On this page