Koog is a Kotlin‑based framework for building and running AI agents entirely in idiomatic Kotlin, supporting both single‑run agents that process individual inputs and complex workflow agents with custom strategies and configurations. It features pure Kotlin implementation, seamless Model Control Protocol (MCP) integration for enhanced model management, vector embeddings for semantic search, and a flexible system for creating and extending tools that access external systems and APIs. Ready‑to‑use components address common AI engineering challenges, while intelligent history compression optimizes token usage and preserves context. A powerful streaming API enables real‑time response processing and parallel tool calls. Persistent memory allows agents to retain knowledge across sessions and between agents, and comprehensive tracing facilities provide detailed debugging and monitoring.

Features

  • Pure Kotlin implementation with no external DSL or wrapper overhead
  • Native support for embedding models via Model Context Protocol (MCP)
  • Custom tool integration enabling agents to call APIs or services
  • Intelligent memory management: persistent agent state, checkpoints, and history compression
  • Streaming API and support for parallel “MapReduce”-style tool execution
  • Observability with OpenTelemetry tracing, moderation filters, and detailed logging

Project Samples

Project Activity

See All Activity >

License

Apache License V2.0

Follow Koog

Koog Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Koog!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Kotlin

Related Categories

Kotlin AI Agent Frameworks

Registered

6 days ago