runAsync

fun runAsync(parentContext: InvocationContext): Flow<Event>

Public entry point for executing the agent asynchronously (text-based).

Return

A Flow of events generated by this agent (and its callbacks).

Parameters

parentContext

The context from the caller (runner or parent agent).