Groovy's Updated AI Tutorial Covers Ollama4j, Spring AI, Embabel and Micronaut on JDK 25
therealdanvega · x · 2026-09-19
Apache Groovy PMC member Paul King has updated the long-form tutorial "Exploring AI with Groovy", built on Groovy 6 and JDK 25, showing six ways to hook JVM code up to local open-source models (mainly mistral:7b and qwen3:8b):
- Ollama4j 1.1.7 for direct local Ollama calls
- LangChain4j 1.20 and Quarkus LangChain4j 1.13
- Spring AI 2.0
- Embabel 1.5, including autonomous agent examples
- Micronaut LangChain4j 2.2, with new tools and native-image examples
All examples run locally via Ollama with no API keys; the repo includes Docker and GitHub Actions setup, and most frameworks switch to remote models by changing a line or two of config. A related post covers Groovy with agentic design patterns.
More from coding & agent
- Energy AI agent can log in and pay for you, credentials stay in Mac keychain — emilahlback · 2026-09-19
- Stripe launches agentic payments: let AI agents book and pay for your services — jeff_weinstein · 2026-09-19
- Jev answers in 455ms — a gate you can afford to run on everything — AlexKim · 2026-09-19
- I ran 16 models to vet one tool: one task is not a benchmark — AlexKim · 2026-09-19
- Dev Slams Wasted 3-Hour Meeting: "I Could Claude Code a Week of Your Work in an Hour" — vxnuaj · 2026-09-19
- iMCP 1.5.0 ships Phone call history service, per-tool toggles and auto-updates — pcuenq · 2026-09-19