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 & Setup2
Tools and Agent-Environment Interaction3
Strategy Graphs and Complex Workflows4
Memory Systems and Agent Persistence5
Observability, Tracing, and Debugging6
Advanced Features and Integrations7
Framework Integration and Deployment8
Real-world Projects and Best PracticesLearning 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 & SetupIntroduction to KOOG framework, core concepts, and setting up your first AI agent
What is KOOG and Why Kotlin for AI Agents?
video • 20 min
KOOG Architecture Overview (LLM, Tools, Strategy, Memory)
video • 25 min
Setting up KOOG Dependencies and API Keys
video • 15 min
Your First 'Hello Agent' - Single-run Implementation
video • 30 min
Understanding LLM Clients and Prompt Executors
video • 22 min
Agent Configuration (Temperature, Max Iterations, Model Selection)
video • 18 min
KOOG vs Other AI Frameworks Comparison
article • 12 min
Practice: Building Basic Conversational Agents
exercise • 60 min
2
Tools and Agent-Environment InteractionCreating custom tools, tool registries, and enabling agents to interact with external systems
Understanding Tools in KOOG Framework
video • 20 min
Built-in Tools Overview (SayToUser, File Operations)
video • 15 min
Creating Custom Tools with @LLMFunction
video • 35 min
Tool Registry and Tool Discovery
video • 25 min
Parallel Tool Calls and Tool Call Management
video • 28 min
Tool Error Handling and Validation
video • 20 min
Advanced Tool Patterns (API Clients, Database Operations)
video • 30 min
Practice: Building Calculator and Banking Agent with Custom Tools
exercise • 90 min
3
Strategy Graphs and Complex WorkflowsDesign complex agent behaviors using graph-based strategies and workflow orchestration
Introduction to Strategy Graphs
video • 25 min
Nodes, Edges, and Control Flow
video • 30 min
Building Your First Strategy Graph
video • 35 min
Conditional Routing and Dynamic Flow Control
video • 28 min
Subgraphs and Modular Workflow Design
video • 32 min
Context Passing Between Nodes and Subgraphs
video • 25 min
Advanced Graph Patterns (Loops, Parallel Execution)
video • 30 min
Graph Debugging and Visualization
video • 20 min
Strategy Graph Best Practices and Design Patterns
article • 15 min
Practice: Building Trip Planning Agent with Complex Workflows
exercise • 120 min
4
Memory Systems and Agent PersistenceImplement persistent memory, knowledge retention, and agent state management
Agent Memory Concepts and Use Cases
video • 22 min
Implementing AgentMemory Feature
video • 28 min
Memory Scopes and Subject Organization
video • 25 min
Persistent Storage Options (Local, Redis, S3)
video • 30 min
Memory Encryption and Security
video • 20 min
Agent Checkpointing and State Recovery
video • 25 min
Memory Optimization and Compression
video • 22 min
Practice: Building Customer Support Agent with Memory
exercise • 90 min
5
Observability, Tracing, and DebuggingMonitor, trace, and debug agent behavior with comprehensive observability tools
KOOG Observability Architecture
video • 20 min
Event Handling and Agent Lifecycle Events
video • 25 min
OpenTelemetry Integration Setup
video • 30 min
Tracing with Langfuse Integration
video • 28 min
W&B Weave Integration for Agent Monitoring
video • 25 min
Custom Span Creation and Instrumentation
video • 22 min
Debugging Agent Workflows and Tool Calls
video • 30 min
Performance Monitoring and Token Usage Tracking
video • 18 min
Practice: Adding Comprehensive Tracing to Chess Agent
exercise • 75 min
6
Advanced Features and IntegrationsExplore advanced KOOG features including multimodal support, MCP integration, and framework integrations
Multimodal Agents (Images, Audio, Documents)
video • 30 min
Structured Data Output and Response Formatting
video • 25 min
Model Context Protocol (MCP) Integration
video • 35 min
Streaming Responses and Real-time UI Updates
video • 28 min
LLM Provider Switching and Multi-model Support
video • 25 min
History Compression Strategies
video • 22 min
Retry Logic and Error Recovery Patterns
video • 20 min
Custom Feature Development
video • 30 min
Practice: Building Multimodal Content Generation Agent
exercise • 100 min
7
Framework Integration and DeploymentIntegrate KOOG with Spring Boot, Ktor, and deploy across multiple platforms
KOOG with Spring Boot Integration
video • 35 min
Ktor Plugin Development and Integration
video • 30 min
Docker Containerization with Model Runner
video • 32 min
Kotlin Multiplatform Agent Deployment
video • 28 min
Android Integration Patterns
video • 25 min
Production Configuration and Security
video • 30 min
Scaling and Load Balancing Considerations
video • 20 min
Practice: Deploying Banking Agent with Spring Boot
exercise • 90 min
8
Real-world Projects and Best PracticesBuild comprehensive real-world agents and learn production best practices
Project 1: E-commerce Assistant with Complex Workflows
project • 180 min
Project 2: Code Review Agent with GitHub Integration
project • 150 min
Project 3: Data Analysis Agent with RAG Integration
project • 160 min
Agent Testing Strategies and Mock Tools
video • 30 min
Performance Optimization and Resource Management
video • 25 min
Security Best Practices for Production Agents
video • 28 min
Agent Versioning and Migration Strategies
video • 20 min
Community Contribution and Open Source Development
article • 15 min
Final Project: Build Your Own AI Agent Solution
capstone • 300 min