AgentMiddleware[GoalCriteriaState, Any]| Name | Type | Description |
|---|---|---|
criteria_agent* | Any | Context-enabled nested agent (repository/web/MCP). |
fallback_agent | Any | Default: NoneOptional goal-only agent used when the context-enabled
agent fails at the graph level (e.g. exhausts its recursion
budget) or returns no usable proposal. |
Run goal-criteria requests entirely inside the main server graph.