Agent
createAgent
Set up createAgent with workflow sources, runtime config, and provider wiring.
processChat
Run one chat cycle with workflow resolution, graph execution, resume handling, and SSE output.
Stream Protocol
Consume typed stream chunks for text deltas, messages, interrupts, transitions, and completion.