Skip to content

DefaultAgent

Namespace: E2E

public static class DefaultAgent

Upstream’s createBuiltInAgent (agent/default-agent.ts): the tool loop with the built-in rules, tools, and opening prompt.

Inheritance: object

View source

public static IStepExecutor CreateBuiltInAgent(BuiltInAgentOptions? options = null)

Builds the built-in step executor: the model loop with the grammar tools of the target’s engine and the project tools. It drives the step’s own context, so it runs only where the runtime builds one, as a step’s executor or inside a custom executor that hands its context on.

Parameters

Name Type Description
options BuiltInAgentOptions

Returns: IStepExecutor

View source