Tagged articles

Tool Annotation

7 articles · Page 1 of 1
AI Illustrated Series
AI Illustrated Series
Jul 11, 2026 · Artificial Intelligence

Turn Java Methods into AI Agent Tools with @Tool Annotation – Day 2 of 3‑Day Spring AI Crash Course

This article explains how to equip a Spring AI Agent with real‑world capabilities by annotating Java methods with @Tool, registers those tools for the agent, demonstrates single‑ and multi‑tool orchestration, and shows how the Advisor mechanism brings AOP‑style processing such as RAG and memory management into AI workflows.

AI AgentAdvisorBackend Development
0 likes · 10 min read
Turn Java Methods into AI Agent Tools with @Tool Annotation – Day 2 of 3‑Day Spring AI Crash Course
Coder Trainee
Coder Trainee
Jun 19, 2026 · Artificial Intelligence

Deep Dive into Spring AI: Advanced ChatClient, Prompt Templates, and Function Calling

This article explores Spring AI's core design patterns, advanced ChatClient usage, dynamic PromptTemplate creation, few‑shot prompting, structured output parsing, and declarative function calling with @Tool annotations, providing code examples, advisor mechanisms, and testing tips for Java developers.

AI integrationChatClientFunction Calling
0 likes · 13 min read
Deep Dive into Spring AI: Advanced ChatClient, Prompt Templates, and Function Calling
Java Web Project
Java Web Project
Apr 23, 2026 · Artificial Intelligence

How a Single @Tool Annotation Lets AI Take Over Your Business System

The article explains how the Spring AI @Tool annotation transforms large language models from guesswork to real‑time data retrieval and action execution, presenting ten concrete scenarios—query, write, aggregation, cross‑system integration, proactive push, Text‑to‑SQL, role‑based access, external services, workflow triggers, and intelligent diagnostics—each illustrated with Java code, LLM decision flow, best‑practice tips, and cost considerations.

AI integrationJavaSpring AI
0 likes · 51 min read
How a Single @Tool Annotation Lets AI Take Over Your Business System
macrozheng
macrozheng
Apr 3, 2026 · Artificial Intelligence

Building Reliable Java AI Agents with JetBrains’ Koog Framework

JetBrains’ new Koog framework provides a native Java Builder‑style API that lets developers define annotated tools and assemble AI agents capable of handling multi‑step tasks such as banking transfers or e‑commerce customer service without writing explicit control flow, illustrating the evolving Java AI Agent ecosystem.

AI AgentJavaKoog
0 likes · 9 min read
Building Reliable Java AI Agents with JetBrains’ Koog Framework
Java Architecture Diary
Java Architecture Diary
Mar 25, 2026 · Artificial Intelligence

Building Java AI Agents with Koog: A Hands‑On Guide to Native Java Agent APIs

JetBrains' newly released Koog for Java provides a native Java AI Agent framework that lets developers annotate methods as tools, assemble agents with a Builder‑style API, and let large language models orchestrate multi‑step tasks without writing explicit control flow, as demonstrated with banking and e‑commerce examples.

AI AgentBuilder APIJava
0 likes · 9 min read
Building Java AI Agents with Koog: A Hands‑On Guide to Native Java Agent APIs
Java Web Project
Java Web Project
Apr 15, 2025 · Backend Development

Transform a Spring Boot CRUD Service into an AI‑Powered MCP Endpoint

This guide walks through converting a traditional Spring Boot book‑management API into a Model Context Protocol (MCP) service that can be invoked via natural‑language prompts, covering dependency setup, proxy configuration, @Tool annotations, MCP server registration, chat client wiring, data initialization, and end‑to‑end testing.

AI integrationChatClientMCP
0 likes · 17 min read
Transform a Spring Boot CRUD Service into an AI‑Powered MCP Endpoint
Architect
Architect
Apr 8, 2025 · Backend Development

Turn a Spring Boot CRUD Service into an AI‑Powered MCP Endpoint

This guide shows how to convert a traditional Spring Boot book‑management service into a Model Context Protocol (MCP) server that lets large language models interact with the service via natural‑language commands, covering dependency setup, MCP configuration, tool annotations, chat client integration, and end‑to‑end testing.

AI integrationBackend DevelopmentModel Context Protocol
0 likes · 18 min read
Turn a Spring Boot CRUD Service into an AI‑Powered MCP Endpoint