Receive daily AI-curated summaries of engineering articles from top tech companies worldwide.
Endigest AI Core Summary
Spring AI Session API replaces ChatMemory with event-sourced conversation history and turn-aware context compaction for multi-agent scenarios.
•SessionEvent adds UUID, timestamp, and branch labels to messages; turns group a UserMessage with all following tool calls and results to maintain coherence
•Four compaction strategies: SlidingWindow and TokenCount keep verbatim suffixes; RecursiveSummarization uses LLMs to create rolling compressed summaries
•SessionMemoryAdvisor integrates with ChatClient to automatically manage history, trigger compaction, and track context windows
•Recall storage preserves archived events for keyword search, allowing models to retrieve past exchanges via conversation_search tool
•Branch isolation enables multi-agent orchestration where sub-agents see only their own events and root-level shared events
This summary was automatically generated by AI based on the original article and may not be fully accurate.