Spring AI 2.1: the Session API is a general-purpose state API for agent harnesses.
A session is an append-only event log. The harness keeps no state of its own. Conversation memory is its first application, not its only one.

@spring-ai.bsky.social
An Application Framework for AI Engineering. Spring AI addresses the fundamental challenge of AI integration: Connecting your enterprise Data and APIs with the AI Models.
Spring AI 2.1: the Session API is a general-purpose state API for agent harnesses.
A session is an append-only event log. The harness keeps no state of its own. Conversation memory is its first application, not its only one.
Asking for human approval is easy. Handling the wait is the hard part.
Park the agent. Shut down the JVM. Start a new one. Approve or deny. Resume the turn where it paused.
Human in the loop with Spring AI 2.1 and Session Extensions 👇
spring.io/blog/2026/11...
In my new article, I show how to use decision models in #java with the new DecisionModel API in Spring AI 2.1: typed yes/no, choice, and score answers, each with its probabilities. Plus, input and output guardrails for your chat models! @spring-ai.bsky.social
Spring AI 2.1.0-RC1 and 2.0.2 are available now. Spring AI 2.1.0-RC1 includes session memory, tool call confirmation, Qxotic jinfer support , enhancements and bug fixes. More on this here: spring.io/blog/2026/10...