Building AI Agents with Spring AI Agent and Querier A developer explored integrating the Spring team's newly announced Spring AI Agent project with Querier Core, a type-safe SQL construction layer, to build a commerce analytics assistant in Java. The demo uses Spring AI Agent's typed Agent abstraction and graph-based orchestration for LLM interaction while Querier Core handles SQL generation, exposing existing Java domain models as tools agents can call. Spring AI Agent, announced December 3, 2026, is an incubating project built on Spring AI 2.1 and planned for merge into Spring AI 3.0 in May 2027. On December 3, 2026, the Spring team announced Spring AI Agent https://spring.io/blog/2026/12/03/spring-ai-agent-announcement , a new project bringing type-safe agentic foundations to Java and Kotlin. Built on top of Spring AI 2.1, the project introduces a different approach to building AI agents in the Spring ecosystem. Rather than focusing exclusively on model interaction and tool calling, it provides abstractions for composing agents, orchestrating workflows using strongly typed graphs, managing execution contexts, handling interruptions, and building more durable agentic applications. I wanted to explore how Querier https://github.com/AytmaTech/Querier , specifically its core module, can fit into this new ecosystem. The idea is to use Spring AI Agent for everything related to agent orchestration and LLM interaction, while using Querier Core as our type-safe SQL construction layer. We will build a small commerce analytics assistant that can answer questions about products, orders, customers, and sales using our existing Java domain models. The goal isn't to build another natural-language-to-SQL solution. Instead, we want to demonstrate how existing Java applications can expose their business capabilities as tools that AI agents can intelligently use. Let's explore the architecture and the possibilities. Before writing code, let's understand what Spring AI Agent brings to the table. The Spring AI team describes an agent as a model plus a harness. Spring AI already provides ChatClient , which can be used to build agents with model interaction, instructions, memory and tool calling. Spring AI 2.1 added important capabilities such as session memory with compaction, tool-call confirmation, and reasoning preservation across model interactions. Spring AI Agent takes these foundations further by introducing dedicated abstractions for agent composition and orchestration. Some of its main capabilities include: Agent