Course
Overview
Koog is JetBrains' open source framework for building AI agents in Kotlin, right at the heart of your applications — on the server side as well as in multiplatform.
Knowing how to master it is the difference between a simple call to an LLM and a reliable, controlled agent that is ready for production.
This course guides you from connecting to a first model all the way to industrialization: prompts and context, conversation memory, local tools and MCP servers, workflows and strategies, Goal Oriented Programming, resilience, state persistence, cost control, streaming, and observability with OpenTelemetry and Langfuse.
By the end of these two days, you will be able to design, equip, and run in production robust AI agents integrated into your Kotlin applications.
Program
Objectives
Choose the right approach to integrate AI into a Kotlin application.
Connect Koog to an LLM and frame its behavior through prompts and context.
Equip an agent with local functions and MCP servers.
Orchestrate an agent's behavior with workflows, strategies, and Goal Oriented Programming.
Make an agent robust, cost-efficient, and observable in production.
Prerequisites
Knowing the basics of the Kotlin language. No prior experience with LLMs or AI agents is required.
Program
D1
Building your first agent
Morning
Ecosystem
discover Koog and the tools around it
Integrate or equip
choose the right approach
Defining the use case
make integration into the application easier
Connecting to an LLM
connect Koog to a model
Afternoon
System and user prompts
steer the model's responses
Context & rules
frame the agent's behavior
Memory
manage the conversation history
Local tools
give the LLM the ability to act
MCP client
plug in an existing MCP server
D2
Orchestrating and industrializing your agents
Morning
MCP server
create your own shareable tools
Workflows
understand execution graphs
Strategies
optimize the agent's behavior
Goal Oriented Programming
specify the actions and the goal
Afternoon
Resilience
withstand failures
Persistence
save and restore an agent's state
History
limit and compress to reduce costs
Streaming
stream the conversation in real time
Observability
monitor behavior with OTel and Langfuse
Details
- Format
In-company
- Duration
2 days (14 hrs)
- Audience
Kotlin developers
These trainings might interest you
Our workshops are designed for professionals. Each program is tailored to your team's level and context, whether in-house or as an open session.
Kotlin Multiplatform: Mobile
Share your business logic between Android and iOS without sacrificing the native experience: master the Kotlin Multiplatform toolchain and Swift interoperability to design, distribute, and integrate a robust shared SDK that accelerates your teams.
The Kotlin Language: Concepts & Tools
Discover how Kotlin lets you write less code with fewer errors: its key concepts and tools will quickly make you productive at building safe, readable, and maintainable applications.
Compose: Interfaces in All Their Forms
Embrace declarative thinking to build reactive, maintainable, and performant interfaces. Master state and data flow to share a single UI codebase across Android, iOS, Desktop, and Web.
The Kotlin Language: Expertise for Deploying APIs
Go beyond everyday Kotlin: understand the deep mechanisms of the language and compiler to write idiomatic, safe code, design durable public APIs, and automate code generation.
Kotlin Coroutines: Expert Usage
Go beyond everyday coroutine usage: understand their inner mechanisms, from language primitives to flows, to write reliable, performant, and testable asynchronous code, and choose the right tool for each problem.
Gradle: Master & Optimize Your Builds
Finally understand what happens in your Gradle builds to make them reliable, fast, and maintainable: factor out your configuration, automate your specific needs, and save precious time on every build.