This guide explains on how to use new ai agent API of Peaka
messages
state.
values
: Emit all values of the state for each step.updates
: Emit only the node name(s) and updates that were returned by the node(s) after each step.debug
: Emit debug events for each step.messages
: Emit LLM messages token-by-token.messages
.