Experimentations with Spring AI. Multi agent architecture with streaming of what the agent is actually doing while running. #javabubble
1 repost6 likes
Experimentations with Spring AI. Multi agent architecture with streaming of what the agent is actually doing while running. #javabubble
1 repost6 likes
The live agent activity stream is possible thanks to NDJSON (Newline Delimited JSON) where each event is sent as an individual JSON object separated by a newline. Allowing the UI to display agent thoughts, tool calls, and intermediate results as they happen without waiting for the workflow to finish