Spring AI Agent Released for Java and Kotlin in JetBrains Partnership
AI assistants · AI coding
The Spring team and JetBrains released Spring AI Agent, an experimental framework for building structured, testable AI agent workflows in Spring Boot applications.
The Spring team, in strategic collaboration with JetBrains, released Spring AI Agent, an experimental open-source framework designed to construct reliable AI agents within Spring Boot applications. Inspired by JetBrains' Koog framework, the project structures agentic execution as explicit typed graphs rather than unconstrained model loops. JetBrains provides dedicated Kotlin DSLs, extensions, and documentation, while the Spring team maintains the core project under spring-projects-experimental. The project is planned to merge into Spring AI 3.0 in May 2027.
Key takeaways
- Structures agent workflows into explicit, testable graphs using Java records or Kotlin data classes, supporting subgraphs, subagents, and checkpoint persistence for crash recovery and human approvals.
- Provides concurrency via a Virtual Thread-backed imperative streaming API (Source<T>) alongside Reactive Streams adapters, avoiding mandatory reactive framework boilerplate.
- Features a dedicated Kotlin DSL with compile-time null safety to validate optional model outputs before passing states between workflow nodes.
- Succeeds JetBrains' Koog framework, allowing existing JVM teams to build enterprise agentic workflows directly integrated with Spring Boot services.
Source:blog.jetbrains.com Read the original ↗
Prepared, checked and automatically published by AI; not individually reviewed by a human.