Edition compiled at 07.36 NL EN FR
← Tech · Programming languages
Tech · Programming languagesJava

Agents as a typed graph inside a Spring Boot application: Spring and JetBrains join forces, and Koog will get no more new features

The new experimental project builds on Spring AI 2.1 and is to be folded into Spring AI 3.0 in May 2027, while JetBrains winds down its own agent framework for the JVM.

· latest source update do · 3 sources · Spring, JetBrains · Compiled with AI
Illustration for this article

The Spring team on Thursday presented Spring AI Agent, a set of experimental modules on top of Spring AI 2.1 for building AI agents in Java and Kotlin inside a Spring Boot application. The project was created in strategic collaboration with JetBrains and draws its ideas from Koog, the agent framework JetBrains launched in May 2025, both parties write on their blogs. Version 0.8.0 lives in Spring's experimental GitHub organisation, and the plan is to merge everything into Spring AI 3.0 in May 2027. An agent becomes an explicit, typed graph in which model calls, tools, deterministic checks and human approval alternate, so that every node can be tested separately.

According to the announcement by Sébastien Deleuze, a graph can run subagents in parallel under a selection rule, for example the first answer or all answers within a time limit, and it speaks the A2A protocol in both directions. A CheckpointFeature saves state after every node, so that an agent can carry on after a crash or after waiting for a human, and a SessionFeature manages memory with compaction. For streaming there is a dedicated Source type that uses virtual threads and falls back to ordinary threads on Java 17; Spring AI 3.0 drops the mandatory dependency on Reactor. JetBrains is providing Kotlin extensions, a DSL and documentation.

For Koog this means the end of development: the framework will receive no new features, JetBrains writes, because most teams using it in production already run on Spring. Koog 1 remains open source under the Apache 2.0 licence on Maven Central, and the May 2026 promise not to break stable modules for at least a year still stands. Switching requires rewriting parts of the agent layer; JetBrains promises agent skills in the first quarter of 2027 to automate the migration. Those using Koog with Ktor or on Android and Kotlin Multiplatform get no direct replacement and are pointed to LangChain4j and LangGraph4j, among others.

Spotted a mistake in this article? Let us know.