AIAgentPlannerPipeline
Represents a specific implementation of an AI agent pipeline that uses a planner approach.
Represents a specific implementation of an AI agent pipeline that uses a planner approach.
Represents a specific implementation of an AI agent pipeline that uses a planner approach.
Constructors
Properties
Provides access to a Clock instance representing the current system time. The Clock can be used to retrieve the current time, create date-time instances, or perform operations based on a specific moment in time.
Represents the configuration settings for the AI agent.
Functions
Collects metadata contributions from every feature that registered a handler via provideToolCallMetadata and returns the combined map.
Collects metadata contributions from every feature that registered a handler via provideToolCallMetadata and returns the combined map.
Collects metadata contributions from every feature that registered a handler via provideToolCallMetadata and returns the combined map.
Installs a feature into the AI agent storage using the provided feature key, configuration, and implementation.
Installs a planner feature into the pipeline with the provided configuration.
Installs a non-graph feature into the pipeline with the provided configuration.
Installs a non-graph feature into the pipeline with the provided configuration.
Intercepts and sets a handler to be invoked before an agent is closed.
Intercepts and sets a handler to be invoked before an agent is closed.
Intercepts the completion of an agent's operation and assigns a custom handler to process the result.
Intercepts the completion of an agent's operation and assigns a custom handler to process the result.
Intercepts and handles errors occurring during the execution of an AI agent's strategy.
Intercepts and handles errors occurring during the execution of an AI agent's strategy.
Intercepts on before an agent started to modify or enhance the agent.
Intercepts on before an agent started to modify or enhance the agent.
Intercepts environment creation to allow features to modify or enhance the agent environment.
Intercepts environment creation to allow features to modify or enhance the agent environment.
Intercepts LLM calls after they are made to process or log the response.
Intercepts LLM calls after they are made to process or log the response.
Intercepts errors during LLM calls.
Intercepts a failed call to the Language Learning Model (LLM) within a specific AI agent feature and delegates the handling of the failure context to the provided interceptor.
Intercepts LLM calls before they are made to modify or log the prompt.
Intercepts LLM calls before they are made to modify or log the prompt.
Intercepts streaming operations after they complete to perform post-processing or cleanup.
Intercepts streaming operations after they complete to perform post-processing or cleanup.
Intercepts errors during the streaming process.
Intercepts errors during the streaming process.
Intercepts stream frames as they are received during the streaming process.
Intercepts stream frames as they are received during the streaming process.
Intercepts streaming operations before they begin to modify or log the streaming request.
Intercepts streaming operations before they begin to modify or log the streaming request.
Intercepts plan completion evaluation completed event to perform actions when a plan is evaluated for completion.
Intercepts plan completion evaluation completed event to perform actions when a plan is evaluated for completion.
Intercepts plan completion evaluation completed event to perform actions when a plan is evaluated for completion.
Intercepts plan completion evaluation completed event to perform actions when evaluating if a plan is completed.
Intercepts plan completion evaluation starting event to perform actions when a plan is about to be evaluated for completion.
Intercepts plan completion evaluation starting event to perform actions when a plan is about to be evaluated for completion.
Intercepts plan completion evaluation starting event to perform actions when a plan is about to be evaluated for completion.
Intercepts plan completion evaluation starting event to perform actions when a plan is about to be evaluated for completion.
Intercepts plan creation completed event to perform actions when a plan completes creation.
Intercepts plan creation completed event to perform actions when a plan completes creation.
Intercepts plan creation completed event to perform actions when a plan completes creation.
Intercepts plan creation completed event to perform actions when a plan completes creation.
Intercepts plan creation starting event to perform actions when a plan begins creation.
Intercepts plan creation starting event to perform actions when a plan begins creation.
Intercepts plan creation starting event to perform actions when a plan begins creation.
Intercepts plan creation starting event to perform actions when a plan begins creation.
Intercepts step execution completed event to perform actions when a plan step completes execution.
Intercepts step execution completed event to perform actions when a plan step completes execution.
Intercepts step execution completed event to perform actions when a plan step completes execution.
Intercepts step execution completed event to perform actions when a plan step completes execution.
Intercepts step execution starting event to perform actions when a plan step begins execution.
Intercepts step execution starting event to perform actions when a plan step begins execution.
Intercepts step execution starting event to perform actions when a plan step begins execution.
Intercepts step execution starting event to perform actions when a plan step begins execution.
Sets up an interceptor to handle the completion of a strategy for the given feature.
Sets up an interceptor to handle the completion of a strategy for the given feature.
Intercepts the strategy starting event to perform actions when an agent strategy begins execution.
Intercepts starting strategy event to perform actions when an agent strategy begins execution.
Intercepts the result of a tool call with a custom handler for a specific feature.
Intercepts the result of a tool call with a custom handler for a specific feature.
Sets up an interception mechanism to handle tool call failures for a specific feature.
Sets up an interception mechanism to handle tool call failures for a specific feature.
Intercepts and handles tool calls for the specified feature.
Intercepts and handles tool calls for the specified feature.
Intercepts validation errors encountered during the execution of tools associated with the specified feature.
Intercepts validation errors encountered during the execution of tools associated with the specified feature.
Invoked before an agent is closed to perform necessary pre-closure operations.
Notifies all registered handlers that an agent has finished execution.
Transforms the agent environment by applying all registered environment transformers.
Notifies all registered handlers about an error that occurred during agent execution.
Notifies all registered handlers that an agent has started execution.
Notifies all registered LLM handlers after a language model call has completed.
Notifies all registered LLM handlers if a validation error occurs during a language model call.
Notifies all registered LLM handlers before a language model call is made.
Invoked after streaming from a language model completes.
Invoked if an error occurs during the streaming process.
Invoked when a stream frame is received during the streaming process.
Invoked before streaming from a language model begins.
Notifies all registered planner handlers when a plan-completion check has been evaluated.
Notifies all registered planner handlers when evaluating whether a plan is completed.
Notifies all registered planner handlers when evaluating whether a plan is completed.
Notifies all registered planner handlers when a plan-completion check is about to be evaluated.
Notifies all registered planner handlers when evaluating whether a plan is completed.
Notifies all registered planner handlers when evaluating whether a plan is completed.
Notifies all registered planner handlers that a plan creation has completed.
Notifies all registered planner handlers that a plan creation has completed.
Notifies all registered planner handlers that a plan creation has completed.
Notifies all registered planner handlers that a plan creation has started.
Notifies all registered planner handlers that a plan creation has started.
Notifies all registered planner handlers that a plan creation has started.
Notifies all registered planner handlers that a plan step execution has completed.
Notifies all registered planner handlers that a plan step execution has completed.
Notifies all registered planner handlers that a plan step execution has completed.
Notifies all registered planner handlers that a plan step execution has started.
Notifies all registered planner handlers that a plan step execution has started.
Notifies all registered planner handlers that a plan step execution has started.
Notifies all registered strategy handlers that a strategy has finished execution.
Notifies all registered strategy handlers that a strategy has started execution.
Notifies all registered tool handlers about the result of a tool call.
Notifies all registered tool handlers when a tool call fails with an exception.
Notifies all registered tool handlers when a tool is called.
Notifies all registered tool handlers when a validation error occurs during a tool call.
Registers a handler that contributes per-call metadata before a tool executes.
Registers a handler that contributes metadata for every tool call.
Registers a handler that contributes metadata for every tool call.
Uninstalls the specified feature associated with the given key from storage.