Debugger

class Debugger(val port: Int, val awaitInitialConnectionTimeout: Duration? = null)(source)

Debugger feature provides the functionality of monitoring and recording events during the operation of an AI agent. It integrates into an AI agent pipeline, allowing the collection and processing of various agent events such as start, end, errors, tool calls, and strategy executions.

This feature serves as a debugging tool for analyzing the AI agent's behavior and interactions with its components, providing insights into the execution flow and potential issues.

Constructors

Link copied to clipboard
constructor(port: Int, awaitInitialConnectionTimeout: Duration? = null)

Types

Link copied to clipboard

Companion object implementing agent feature, handling Debugger creation and installation.

Properties

Link copied to clipboard

The timeout duration for the debugger server to wait for a connection.

Link copied to clipboard
val port: Int

The port number on which the debugger server is listening for connections.