spring ai

Spring AI: Agents & Tools Foundations

Give the application the power to act. Learn to implement Tool Calling with the @Tool annotation and build agents that perform tasks in Java.

Expected Outcome

The ability to use the @Tool annotation to safely expose Java logic and build agents that make decisions and perform actions.

Target Audience

Java developers looking to move from passive chats to active services that can use Java methods as tools in their systems.

Prerequisites

Experience with Spring AI equivalent to 'Spring AI Jumpstart: Professional' is required to handle Tool Calling logic.

Curriculum & Highlights

Tool Calling & @Tool Annotation
Declarative Tool Definitions
Multi-step Agent Reasoning
Tool Metadata & @ToolParam
ChatClient Tool Integration
Bean-based Tool Resolution
Tool Selection Logic
Agent State & Feedback Loops

Challenges we address

"How is the @Tool annotation used to expose Java code to a language model?"

"How are methods and parameters described so the AI agent understands exactly how to use them?"

"How are complex flows handled where the AI needs to invoke multiple different tools to solve a task?"

Detailed Description
A standard chat AI is limited to its training data, but agents can actively interact with their surrounding systems. Using Tool Calling (formerly known as Function Calling), the AI model gains the ability to independently choose and invoke the right Java method to retrieve real-time data or execute changes within the application. This workshop teaches the foundations of creating these actionable agents in Spring AI through Active Learning. The focus is on the modern, declarative way of working with AI tools through annotations. The goal is to provide the team with a clear structure for bridging the gap between the language model's reasoning and the existing codebase in a way that is both secure and maintainable. It explores how to define and register tools using the @Tool annotation directly on Java methods. @ToolParam is used to describe input data in a way the LLM understands, minimizing the risk of incorrect calls. During the day, agents capable of multi-step reasoning are built, where the model independently decides when it needs to invoke a tool to complete a task. The importance of clear method descriptions is also addressed, as these instructions govern the model's ability to choose the right tool at the right time. Actlea's core philosophy is that the power of AI lies in its ability to act, but responsibility always remains with the code. Experience shows that the @Tool annotation is the single most important key to making AI integrations understandable for Java developers. A key insight for modern teams is that agents do not replace logic—they use it. This workshop provides the foundation for transforming AI from an advisor into an active participant in business processes on the Java platform.
Recommendation & Next Steps

Empower the agents with the company's own data by moving on to: 'Enterprise RAG with Spring AI'.

Format Workshop
Duration 1 day
Level Professional
Instructor Andreas Olsson
Price per group $2,900

Standard price per group (up to 12 participants) for remote delivery. Additional costs apply for onsite delivery.

Tech Stack
AI Agents Tool Calling @Tool Spring AI Automation Java
Andreas Olsson

Your Instructor

Andreas Olsson

Expertise through Active Learning

Java and the Spring Framework have been my core focus for over 20 years. Today, my mission is primarily to help organizations step into the future by integrating intelligent agents and AI-driven features into modern Java systems.

Actlea stands for Active Learning – the philosophy that programming is best learned by writing code, not by watching slides. My workshops focus on intensive, hands-on exercises designed to solve real-world problems.

I deliver proven training concepts globally across all timezones. While I specialize in remote delivery, I love to travel for onsite workshops. My modules are ready for immediate impact but can be tailored to your team's specific requirements.

Connect on LinkedIn

Enterprise teams trained by Actlea

Academic Work
Handelsbanken
Scania
Swedbank
CGI
SEB
Participant Reviews

What past participants say

Read about the pedagogical approach, the hands-on labs, and the impact on daily work.

Related Training

java Foundational

Java Jumpstart: Essentials

1 day
Group Rate: $2,900

Master Java's core: from the JVM and encapsulation to deep object-orientation, Collections, and error handling.

  • Classes, Objects & Encapsulation
  • Polymorphism & Inheritance
  • Interfaces & Clean Code
java Professional

Functional Java: Lambda & Streams

1 day
Group Rate: $2,900

Replace loops with Lambdas and Streams for readable, crash-safe, and efficient data processing in modern Java.

  • Lambdas & Method References
  • Functional Interfaces
  • Streams API (Filter, Map)
spring ai Professional

Enterprise RAG with Spring AI

1 day
Group Rate: $2,900

Build secure RAG systems with Spring AI. Learn to import data from databases and documents via vectors and similarity search.

  • RAG Architecture & Patterns
  • VectorStore & Embedding Models
  • Data Import & Vectorization
Take the next step

Ready to elevate your
Team's expertise?

Book a single workshop, a multi-day course, or a complete training package. The programs are built on proven standard modules of high technical quality, designed to be deployed immediately without lengthy preparation.

  • Expert-led training: Designed for professional development teams.
  • Standardized quality: Proven modules ready for immediate delivery.
  • Flexible formats: Execution is handled remote or onsite.

Send an inquiry to discuss availability and setup, completely without sales pressure.

Prefer connecting directly on LinkedIn? Skip the form:

Connect & Message on LinkedIn →