Skip to main content

Documentation Index

Fetch the complete documentation index at: https://springaicommunity.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Learning Path

This tutorial takes you from zero to running agent tasks with multiple providers. Each lesson builds on the previous one.
1

First Task

Create a file using an agent — the simplest possible task. You’ll set up a Spring Boot project, configure a provider, and verify the result.Start Lesson 1 →
2

Multi-Provider

Run the same task with Claude, Codex, and Gemini. Learn the Maven profile pattern for switching providers without changing code.Start Lesson 2 →

Prerequisites

  • Java 17+
  • Maven 3.9+
  • At least one CLI agent installed:
    • Claude Code: npm install -g @anthropic-ai/claude-code
    • Codex CLI: npm install -g @openai/codex
    • Gemini CLI: npm install -g @anthropic-ai/gemini (check current install method)

Source Code

All tutorial code is available in the agent-client-tutorial repository:
git clone https://github.com/spring-ai-community/agent-client-tutorial.git
cd agent-client-tutorial
Each lesson corresponds to a numbered directory (01-create-file/, etc.).