Runnable examples for the AG-UI protocol Java libraries
(ag-ui and
ag-ui-spring).
Each example is a self-contained project — build and run it on its own.
| Example | Description |
|---|---|
spring-ai-ollama |
A Spring Boot + Spring AI agent backed by a local Ollama model (with a server-side weather tool), exposing the AG-UI /agent SSE endpoint. |
adk-gemini |
A Spring Boot agent backed by a Google ADK LlmAgent (Gemini) via ag-ui-adk, exposing the AG-UI /agent SSE endpoint. |
The examples depend on the ag-ui and ag-ui-spring artifacts. Until those are
published to Maven Central, build them into your local Maven repository first:
mvn -f /path/to/ag-ui/pom.xml install -DskipTests
mvn -f /path/to/ag-ui-spring/pom.xml install -DskipTestsLicensed under the Apache License 2.0.