Open Agent Loops
API Reference

GradeContext

@open-agent-loops/core


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

The per-round snapshot handed to a Grader after a round's inner run settles.

See

Grader

Properties

PropertyTypeDescriptionDefined in
goalstringThe objective being pursued, verbatim.goal/goal.types.ts:25
resultRunResultThe runAgent result of the round just completed.goal/goal.types.ts:29
roundnumber1-based number of the round just completed.goal/goal.types.ts:27
signal?AbortSignalThe goal loop's cancel signal, forwarded so a grader that does its own I/O (e.g. a model call) can honor it.goal/goal.types.ts:34

On this page