Koog 0.4.0, an replace to the JetBrains Kotlin framework for constructing AI brokers, options native structured output meant to carry up in manufacturing. It additionally provides Appleās iOS as a goal platform, in addition to GPT-5 mannequin and OpenTelemetry assist.
Introduced August 28, Koog 0.4.0 is meant to make brokers observable, seamless, deployable in a personās stack, and extra predictable, whereas including assist for brand spanking new platforms and fashions, JetBrains stated. Code is accessible from GitHub. Native structured output addresses a scenario by which a giant language mannequin (LLM) can present the precise knowledge format wanted, however then the method stops working. Koog 0.4.0 provides native structured output supported by some LLMs, with pragmatic guardrails like retries and fixing methods. When a mannequin helps structured output, the framework makes use of it straight. In any other case, Koog falls again to a tuned prompt-and-retry, with a fixing parser powered by a separate mannequin, till the payload appears precisely the way it ought to.
For iOS, Koog is now obtainable on Appleās cellular working system as a part of a deal with Kotlin Multiplatform. Builders can construct an agent as soon as and ship it to iOS, Android, and JVM again endsāall with the identical technique graphs, observability hooks, and assessments. However builders should use Koog 0.4.1 to construct for iOS. Moreover with Koog 0.4.0, GPT-5 assist and customized LLM parameters assist a mannequin assume tougher on complicated parameters. Settings comparable to reasoningEffort
allow a stability of high quality, value, and latency for every name, in line with JetBrains. OpenTelemetry backing, in the meantime, helps each the W&B Weave AI growth toolkit and the Langfuse open supply LLM engineering platform.