Skip to content

xtr_ai.command

Console commands, registered when the console bundle is active.

AgentCallCommand

AgentCallCommand(agents: ServiceLocator[AbstractAgent], scopes: ScopeFactoryInterface)

Talk to an agent; an empty line ends the conversation.

Each prompt is answered in a unit of work of its own, so a conversation held open for hours keeps no scoped service — a database session — open for as long.

Reach the agents through agents; open each prompt's unit through scopes.

DebugAiCommand

List the platforms and agents as configured, before the environment is read.

PlatformInvokeCommand

PlatformInvokeCommand(registry: PlatformRegistryInterface)

Send one message to a model of a platform; print the answer and the usage.

Reach the platforms through registry.