Building AI Agents on the JVM
summary
Builds an LLM agent in Kotlin using the Koog framework, wiring a prompt executor to OpenAI, Google, and local providers like Ollama (Mistral models), plus a file-system tool and shell exec for Gradle builds. Demonstrates a coding agent that creates a Gradle-based Snake game, often compiling and running but exposing hallucinated or missing tool calls. Shows a strategy DSL that composes typed, graph-based workflows, validates structured plan outputs, and generates dynamic execution graphs for safer tool-driven loops.
AI-written summary Β· about
chapters (9)
- 0:00Introduction and expectations
- 1:26Why build agents on the JVM
- 4:57How agents work in Kook
- 7:23Live coding a simple agent
- 13:11Testing the agent with tools
- 24:17Exploring local models and tool reliability
- 34:38Strategies and agent workflows
- 41:44Enforcing behavior with structured plans
- 45:17Summary and resources
