create_goal_criteria_agent(
*,
model: str | BaseChatModel,
repository_backend: BackendProtocol | None| Name | Type | Description |
|---|---|---|
model* | str | BaseChatModel | Chat model or model identifier used by the server graph. |
repository_backend* | BackendProtocol | None | Server backend rooted at the active repository or
sandbox, or |
repository_root | str | Default: '/'Absolute path that bounds reads on |
context_tools* | Sequence[BaseTool | Callable[..., Any]] | |
model_retries | int | Default: DEFAULT_MODEL_RETRIES |
cli_max_retries | int | None | Default: None |
environ | Mapping[str, str] | None | Default: None |
Create the ephemeral server-side criteria agent graph.
Loaded fetch_url, optional web_search, and MCP tools.
Model-node retry attempts after the first call.
Explicit --max-retries value for runtime model switches.
Workspace environment retained for runtime model switches.