logo
episode-header-image
Nov 17
1h 22m

Building AI Agents With Koog

Talking Kotlin
About this episode

Sebastian and Márton talk to Vadim Briliantov, the Technical Lead for Koog: an agentic framework built by JetBrains. We learn about what AI agents are, and why building them in Kotlin with Koog is a great choice. We also discuss all the different ways AI agents can connect to other systems and your existing code, and look at advanced features for agents like custom strategies, model switching, and history compression.

Resources:

Hosts:

Guest:

Timeline:
(0:00) Intro
(1:11) Vadim’s history at JetBrains
(4:21) What’s an AI Agent?
(5:47) Koog!
(7:12) Applications for agents
(12:43) Koog’s building blocks
(15:05) Strategies, feedback loops
(23:55) The Kotlin DSL
(26:12) Persistent state
(29:48) Subgraphs
(32:33) Tools
(39:52) MCP support (and A2A)
(44:01) Entry point and type safety
(49:39) Spring and Ktor support
(51:27) LLM Providers
(53:30) Model switching
(56:02) History and memory
(59:22) Enterprise-ready
(1:02:12) History compression
(1:11:47) Markdown?!
(1:14:37) What’s next?
(1:18:22) Going open-source
(1:20:32) Conclusion

Up next
Oct 23
Discussing Kotlin Coroutines with Marcin Moskała
Sebastian and Márton chat with Marcin Moskała about coroutines.Resources: Coroutines Mastery course Coroutines | Kotlin Documentation kotlinx.coroutines Taming Asynchronous Beasts | Marcin Moskała Coroutine Debugging in IntelliJ IDEA | Alexey Merkulov Lifecycles, Coroutines and S ... Show More
2h 3m
Aug 11
kotlinx.rpc
Sebastian and Alex chat about the kotlinx.rpc project, in a special episode recorded in the Munich JetBrains office. They explore all the different components of the library, how you can use it to define RPC services and clients, integrate with Ktor and existing gRPC definitions, ... Show More
1h 30m
May 2025
Powering TV Broadcasts Worldwide
Sebastian and Márton are joined by Denis Borisevich from RIEDEL Communications, and learn about how Kotlin is used behind-the-scenes to power media, sports, and entertainment broadcasts watched by millions around the globe. Tune in for an exciting story about how Kotlin, Ktor, an ... Show More
57m 18s
Recommended Episodes
Oct 2024
832: Potluck: When to Use a Framework × Goodbye Webpack × Custom Events in React + More!
Scott and Wes answer your burning questions! They cover everything from moving off create-react-app and the benefits of Next.js, to transitioning from junior to senior dev, working with QA teams, and even dive into game development with Godot. Show Notes 00:00 Welcome to Synta ... Show More
1h 2m
Jul 2024
Java, but why? The state of Java in 2024
<p>You can connect with Lenny Primak at <a href="https://flowlogix.com/" target="_blank">Flow Logix</a>, <a href="https://twitter.com/lprimak" target="_blank">X</a>, <a href="https://www.linkedin.com/in/lprimak/" target="_blank">LinkedIn</a>, <a href="https://github.com/lprimak" ... Show More
26m 12s
Jul 2024
796: Do We Need JS Frameworks × Are You Over-Engineering? × Webview vs Native
Scott and Wes tackle a variety of audience questions, from the nuances of over-engineering to the energy consumption of AI LLMs. They also discuss the pros and cons of monorepos, frameworks, and the ever-important question: Do you really need to learn all the developer tooling? ... Show More
58m 33s
Mar 2025
Inside Bolt: From near-death to ~$40m ARR in 5 months—one of the fastest-growing products in history | Eric Simons (founder and CEO of StackBlitz)
<p><strong>Eric Simons</strong> is the founder and CEO of StackBlitz, the company behind Bolt—the #1 web-based AI coding agent and one of the fastest-growing products in history. After nearly shutting down, StackBlitz launched Bolt on Twitter and exploded from zero to $40 million ... Show More
1h 28m
Mar 2025
Notion’s lost years, its near collapse during Covid, staying small to move fast, the joy and suffering of building horizontal, more | Ivan Zhao (CEO and co-founder)
<p><strong>Ivan Zhao</strong> is the co-founder and CEO of Notion. Ivan shares the untold story of Notion, from nearly running out of database space during Covid to finding product-market fit after several “lost years,” and the hard-won lessons along the way.</p><p>—</p><p><stron ... Show More
1h 12m
Oct 2024
837: You Should Drop Express and Try Hono
CJ joins Scott and Wes to dive into why he’s all-in on Hono, a fast and lightweight web framework for every JavaScript runtime. From familiar route creation to type-safe middleware, find out how Hono keeps things simple, powerful, and ready to use inside Next.js. Show Notes 00 ... Show More
29m 32s
Jul 2025
#474 – DHH: Future of Programming, AI, Ruby on Rails, Productivity & Parenting
David Heinemeier Hansson (aka DHH) is a legendary programmer, creator of Ruby on Rails, co-owner & CTO of 37signals that created Basecamp, HEY, & ONCE, and is a NYT-best-selling author (with Jason Fried) of 4 books: REWORK, REMOTE, Getting Real, and It Doesn't Have To Be Crazy At ... Show More
6h 15m
Sep 2024
Leveling up JavaScript with Deno 2 (Interview)
Jerod is joined by Ryan Dahl to discuss his second take on leveling up JavaScript developers all around the world. Jerod asks Ryan why not try to fix or fork Node instead of starting fresh, how Deno (the open source project) can avoid the all too common rug pull (not cool) scenar ... Show More
1h 15m