<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/from-assistants-to-agents-self-improving-agentic-systems-with-spring-ai-by-christian-tzolov-a5hx3xaij" -->

---
title: From Assistants to Agents: Self-Improving Agentic...
description: A conference talk walks through how Spring AI builds complex agentic systems out of a single core abstraction: the advisor (interceptor/hook) that augments...
canonical: https://daily.dev/posts/from-assistants-to-agents-self-improving-agentic-systems-with-spring-ai-by-christian-tzolov-a5hx3xaij
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: From Assistants to Agents: Self-Improving Agentic Systems with Spring AI by Christian Tzolov | daily.dev
og:description: A conference talk walks through how Spring AI builds complex agentic systems out of a single core abstraction: the advisor (interceptor/hook) that augments...
og:url: https://daily.dev/posts/from-assistants-to-agents-self-improving-agentic-systems-with-spring-ai-by-christian-tzolov-a5hx3xaij
og:image: https://api.daily.dev/og/posts/a5hX3XaIj.png
og:image:alt: From Assistants to Agents: Self-Improving Agentic Systems with Spring AI by Christian Tzolov
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# From Assistants to Agents: Self-Improving Agentic Systems with Spring AI by Christian Tzolov

**[Spring I/O](https://daily.dev/sources/springio)** · 51 min read · 0 upvotes · 0 comments

## Summary

A conference talk walks through how Spring AI builds complex agentic systems out of a single core abstraction: the advisor (interceptor/hook) that augments input and output around LLM calls. Starting from chat memory and naive RAG, it progresses through guardrails, structured output validation with automatic retry loops, LLM-as-judge self-refinement, tool calling reimplemented as an advisor, and progressive disclosure patterns like tool search tool (registering thousands of tools without blowing the context window), agent skills, tool augmentation for inner-thought reasoning, to-do list enforcement borrowed from Claude Code, clarification-seeking tools, and sub-agents that isolate context for sub-tasks. Live demos show token savings from progressive tool disclosure and self-correcting loops using judge LLMs. The tool search tool feature is slated for the upcoming Spring AI 2.0 release.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.youtube.com/watch?v=_ZZuzakjgxQ>

## Questions this post answers

### How can I avoid overloading the LLM context when I have hundreds or thousands of tools registered in Spring AI?

Use the tool search tool pattern (progressive tool disclosure), which registers only a single search tool up front instead of every tool definition. The LLM queries this tool on demand to retrieve just the tools relevant to the current task, cutting token usage roughly in half compared to registering all tools upfront in a demo comparison (about 40K vs half that). This is planned for Spring AI 2.0.

_Developers optimizing token costs in tool-heavy agents can find similar Spring AI patterns on daily.dev._

### How does Spring AI implement tool calling internally instead of embedding it in the chat model?

Tool calling in Spring AI is implemented as an advisor rather than low-level logic baked into the chat model, which was the original approach and made behavior hard to observe. As an advisor, the framework intercepts the LLM's tool-call response message, dispatches it through a tool call manager, retrieves results, and appends them back into the conversation context before re-querying the model.

_Engineers debugging or extending tool-calling behavior can track Spring AI advisor changes on daily.dev._

### How can I make an LLM agent self-correct when its tool output looks wrong, without extra user involvement?

Add a self-refinement advisor that uses a second judge LLM to check whether the response satisfies the original question or complies with expectations; if not, it feeds corrective feedback back into the context and retries automatically, typically capped at a few attempts (e.g., three) before giving up. This adds latency but removes the need for manual retry logic.

_Teams building resilient agent loops can follow Spring AI self-correction patterns on daily.dev._

## Similar posts on daily.dev

- [Spring AI 2.0 in Practice: Adding LLM Features to a Java Web App](https://daily.dev/posts/spring-ai-2-0-in-practice-adding-llm-features-to-a-java-web-app-kqfaxawkj) · Vaadin · 1 upvotes · 0 comments
- [Guide to Subagent Orchestration in Spring AI](https://daily.dev/posts/guide-to-subagent-orchestration-in-spring-ai-vaxa7tyli) · Baeldung · 9 upvotes · 0 comments

---

Tags: [#llm](https://daily.dev/tags/llm), [#java](https://daily.dev/tags/java), [#rag](https://daily.dev/tags/rag), [#agentic-ai](https://daily.dev/tags/agentic-ai), [#spring-ai](https://daily.dev/tags/spring-ai)

[View this post on daily.dev](https://daily.dev/posts/from-assistants-to-agents-self-improving-agentic-systems-with-spring-ai-by-christian-tzolov-a5hx3xaij)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"From Assistants to Agents: Self-Improving Agentic Systems with Spring AI by Christian Tzolov","url":"https://daily.dev/posts/from-assistants-to-agents-self-improving-agentic-systems-with-spring-ai-by-christian-tzolov-a5hx3xaij","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/from-assistants-to-agents-self-improving-agentic-systems-with-spring-ai-by-christian-tzolov-a5hx3xaij"},"datePublished":"2026-09-27T07:26:36.660Z","dateModified":"2026-09-27T07:53:22.467Z","description":"A conference talk walks through how Spring AI builds complex agentic systems out of a single core abstraction: the advisor (interceptor/hook) that augments...","image":"https://i.ytimg.com/vi/_ZZuzakjgxQ/sddefault.jpg","thumbnailUrl":"https://i.ytimg.com/vi/_ZZuzakjgxQ/sddefault.jpg","isAccessibleForFree":true,"articleSection":"Spring I/O","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Spring I/O","logo":"https://media.daily.dev/image/upload/s--e-TcwM9B--/f_auto,q_auto/v1790493985/logos/springio?_a=BAMAMicg0","url":"https://daily.dev/sources/springio"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/from-assistants-to-agents-self-improving-agentic-systems-with-spring-ai-by-christian-tzolov-a5hx3xaij","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"llm,java,rag,agentic-ai,spring-ai","timeRequired":"PT51M","video":{"@type":"VideoObject","name":"From Assistants to Agents: Self-Improving Agentic Systems with Spring AI by Christian Tzolov","description":"A conference talk walks through how Spring AI builds complex agentic systems out of a single core abstraction: the advisor (interceptor/hook) that augments...","thumbnailUrl":"https://i.ytimg.com/vi/_ZZuzakjgxQ/sddefault.jpg","uploadDate":"2026-09-27T07:26:36.660Z","duration":"PT51M","url":"https://api.daily.dev/r/a5hX3XaIj","embedUrl":"https://www.youtube.com/embed/_ZZuzakjgxQ"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Spring I/O","item":"https://daily.dev/sources/springio"},{"@type":"ListItem","position":3,"name":"From Assistants to Agents: Self-Improving Agentic Systems with Spring AI by Christian Tzolov"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/from-assistants-to-agents-self-improving-agentic-systems-with-spring-ai-by-christian-tzolov-a5hx3xaij#faq","mainEntity":[{"@type":"Question","name":"How can I avoid overloading the LLM context when I have hundreds or thousands of tools registered in Spring AI?","acceptedAnswer":{"@type":"Answer","text":"Use the tool search tool pattern (progressive tool disclosure), which registers only a single search tool up front instead of every tool definition. The LLM queries this tool on demand to retrieve just the tools relevant to the current task, cutting token usage roughly in half compared to registering all tools upfront in a demo comparison (about 40K vs half that). This is planned for Spring AI 2.0. Developers optimizing token costs in tool-heavy agents can find similar Spring AI patterns on daily.dev."}},{"@type":"Question","name":"How does Spring AI implement tool calling internally instead of embedding it in the chat model?","acceptedAnswer":{"@type":"Answer","text":"Tool calling in Spring AI is implemented as an advisor rather than low-level logic baked into the chat model, which was the original approach and made behavior hard to observe. As an advisor, the framework intercepts the LLM's tool-call response message, dispatches it through a tool call manager, retrieves results, and appends them back into the conversation context before re-querying the model. Engineers debugging or extending tool-calling behavior can track Spring AI advisor changes on daily.dev."}},{"@type":"Question","name":"How can I make an LLM agent self-correct when its tool output looks wrong, without extra user involvement?","acceptedAnswer":{"@type":"Answer","text":"Add a self-refinement advisor that uses a second judge LLM to check whether the response satisfies the original question or complies with expectations; if not, it feeds corrective feedback back into the context and retries automatically, typically capped at a few attempts (e.g., three) before giving up. This adds latency but removes the need for manual retry logic. Teams building resilient agent loops can follow Spring AI self-correction patterns on daily.dev."}}]}
```

