🚀 Enrollments Open for Jetpack Compose Cohort 2 — 7 Days of Live Learning to Build Modern Android UIs 💚Join Now
Roadmap/JetBrains KOOG AI Agent Framework
Intermediate to Advanced

JetBrains KOOG AI Agent Framework

Master building AI agents with Kotlin using JetBrains' official KOOG framework - from simple single-run agents to complex graph-based workflows with tools, memory, and observability

10-12 weeks
2.8k students
4.8 rating
Progress0/69 lessons

Key Topics You'll Master

1
KOOG Fundamentals & Setup
2
Tools and Agent-Environment Interaction
3
Strategy Graphs and Complex Workflows
4
Memory Systems and Agent Persistence
5
Observability, Tracing, and Debugging
6
Advanced Features and Integrations
7
Framework Integration and Deployment
8
Real-world Projects and Best Practices
Learning Outcomes
  • Build single-run and complex AI agents using KOOG framework
  • Create custom tools for agent-environment interaction
  • Design graph-based strategies for complex agent workflows
  • Implement memory systems for persistent agent knowledge
  • Add observability and tracing with OpenTelemetry integration
  • Deploy agents across multiple platforms (JVM, Android, iOS, JS, WASM)
  • Integrate with popular frameworks (Spring Boot, Ktor)
  • Use Model Context Protocol (MCP) for tool integration
  • Build production-ready agents with persistence and fault tolerance
Prerequisites
  • Solid Kotlin programming knowledge (variables, functions, classes, coroutines)
  • Understanding of object-oriented programming concepts
  • Basic knowledge of REST APIs and HTTP clients
  • Familiarity with Gradle build system
  • Understanding of asynchronous programming with Kotlin coroutines
  • Basic knowledge of AI/LLM concepts (optional but helpful)
1
KOOG Fundamentals & Setup
Introduction to KOOG framework, core concepts, and setting up your first AI agent
1.5 weeks
What is KOOG and Why Kotlin for AI Agents?
video20 min
KOOG Architecture Overview (LLM, Tools, Strategy, Memory)
video25 min
Setting up KOOG Dependencies and API Keys
video15 min
Your First 'Hello Agent' - Single-run Implementation
video30 min
Understanding LLM Clients and Prompt Executors
video22 min
Agent Configuration (Temperature, Max Iterations, Model Selection)
video18 min
KOOG vs Other AI Frameworks Comparison
article12 min
Practice: Building Basic Conversational Agents
exercise60 min
2
Tools and Agent-Environment Interaction
Creating custom tools, tool registries, and enabling agents to interact with external systems
1.5 weeks
Understanding Tools in KOOG Framework
video20 min
Built-in Tools Overview (SayToUser, File Operations)
video15 min
Creating Custom Tools with @LLMFunction
video35 min
Tool Registry and Tool Discovery
video25 min
Parallel Tool Calls and Tool Call Management
video28 min
Tool Error Handling and Validation
video20 min
Advanced Tool Patterns (API Clients, Database Operations)
video30 min
Practice: Building Calculator and Banking Agent with Custom Tools
exercise90 min
3
Strategy Graphs and Complex Workflows
Design complex agent behaviors using graph-based strategies and workflow orchestration
2 weeks
Introduction to Strategy Graphs
video25 min
Nodes, Edges, and Control Flow
video30 min
Building Your First Strategy Graph
video35 min
Conditional Routing and Dynamic Flow Control
video28 min
Subgraphs and Modular Workflow Design
video32 min
Context Passing Between Nodes and Subgraphs
video25 min
Advanced Graph Patterns (Loops, Parallel Execution)
video30 min
Graph Debugging and Visualization
video20 min
Strategy Graph Best Practices and Design Patterns
article15 min
Practice: Building Trip Planning Agent with Complex Workflows
exercise120 min
4
Memory Systems and Agent Persistence
Implement persistent memory, knowledge retention, and agent state management
1.5 weeks
Agent Memory Concepts and Use Cases
video22 min
Implementing AgentMemory Feature
video28 min
Memory Scopes and Subject Organization
video25 min
Persistent Storage Options (Local, Redis, S3)
video30 min
Memory Encryption and Security
video20 min
Agent Checkpointing and State Recovery
video25 min
Memory Optimization and Compression
video22 min
Practice: Building Customer Support Agent with Memory
exercise90 min
5
Observability, Tracing, and Debugging
Monitor, trace, and debug agent behavior with comprehensive observability tools
1.5 weeks
KOOG Observability Architecture
video20 min
Event Handling and Agent Lifecycle Events
video25 min
OpenTelemetry Integration Setup
video30 min
Tracing with Langfuse Integration
video28 min
W&B Weave Integration for Agent Monitoring
video25 min
Custom Span Creation and Instrumentation
video22 min
Debugging Agent Workflows and Tool Calls
video30 min
Performance Monitoring and Token Usage Tracking
video18 min
Practice: Adding Comprehensive Tracing to Chess Agent
exercise75 min
6
Advanced Features and Integrations
Explore advanced KOOG features including multimodal support, MCP integration, and framework integrations
1.5 weeks
Multimodal Agents (Images, Audio, Documents)
video30 min
Structured Data Output and Response Formatting
video25 min
Model Context Protocol (MCP) Integration
video35 min
Streaming Responses and Real-time UI Updates
video28 min
LLM Provider Switching and Multi-model Support
video25 min
History Compression Strategies
video22 min
Retry Logic and Error Recovery Patterns
video20 min
Custom Feature Development
video30 min
Practice: Building Multimodal Content Generation Agent
exercise100 min
7
Framework Integration and Deployment
Integrate KOOG with Spring Boot, Ktor, and deploy across multiple platforms
1.5 weeks
KOOG with Spring Boot Integration
video35 min
Ktor Plugin Development and Integration
video30 min
Docker Containerization with Model Runner
video32 min
Kotlin Multiplatform Agent Deployment
video28 min
Android Integration Patterns
video25 min
Production Configuration and Security
video30 min
Scaling and Load Balancing Considerations
video20 min
Practice: Deploying Banking Agent with Spring Boot
exercise90 min
8
Real-world Projects and Best Practices
Build comprehensive real-world agents and learn production best practices
2 weeks
Project 1: E-commerce Assistant with Complex Workflows
project180 min
Project 2: Code Review Agent with GitHub Integration
project150 min
Project 3: Data Analysis Agent with RAG Integration
project160 min
Agent Testing Strategies and Mock Tools
video30 min
Performance Optimization and Resource Management
video25 min
Security Best Practices for Production Agents
video28 min
Agent Versioning and Migration Strategies
video20 min
Community Contribution and Open Source Development
article15 min
Final Project: Build Your Own AI Agent Solution
capstone300 min
Android Engineers - Master Android App Development