Class AgentsConsoleExperimental

Process-wide singleton that carries the console transport (and audio IO) from the console CLI runner into the AgentSession that starts inside the agent entrypoint. Mirrors python AgentsConsole.

The runner sets enabled and the transport; AgentSession._startImpl then calls acquireIo to wire the session and build its SessionHost.

Properties

audioInput?: TcpAudioInput
audioOutput?: TcpAudioOutput
enabled: boolean = false
record: boolean = false
sessionDirectory: string

Directory where console recordings (audio + session report) are written, relative to the working directory. Mirrors python's AgentsConsole.

transport?: SessionTransport

Accessors

Methods