Feature

Represents a feature that integrates debugging capabilities into an AI agent's pipeline.

This companion object provides functionality for configuring and enabling a debugging system in the AI agent framework. It logs debugging events, connects to a debugging server, and handles various stages of an agent's lifecycle such as start, finish, and error events. Debugger Feature also tracks strategy executions, node executions, LLM calls, and tool operation events.

The feature can be customized using the DebuggerConfig and works in tandem with the AIAgentPipeline infrastructure to intercept various events and log them to a remote writer connected to a debugging server. The port for the debugger server can either be explicitly set in the configuration or derived from environment variables.

Properties

Link copied to clipboard
open override val key: AIAgentStorageKey<Debugger>

Functions

Link copied to clipboard
open override fun createInitialConfig(): DebuggerConfig
Link copied to clipboard
open override fun install(config: DebuggerConfig, pipeline: AIAgentPipeline)
Link copied to clipboard
open fun installUnsafe(config: Any?, pipeline: AIAgentPipeline)