---
title: 'LangChain4j 1.24.0 adds decision models and declarative agent support'
url: 'https://tutego.de/blog/javainsel/2026/11/langchain4j-1-24-0-adds-decision-models-and-declarative-agent-support-5f4768d5'
markdown: 'https://tutego.de/blog/javainsel/2026/11/langchain4j-1-24-0-adds-decision-models-and-declarative-agent-support-5f4768d5.md'
date: '2026-11-19'
description: 'The release introduces a model type that answers with typed answers and probabilities instead of generated text, aimed at classification, routing, gating, and grading, with a Gemini-backed implementation among the first providers. It also adds helper objects for declarative agents with full CDI sup…'
taxonomy:
  category: {  }
---

# LangChain4j 1.24.0 adds decision models and declarative agent support

![Illustration einer tropischen Insel mit Palmen und einem hohen Berg](https://tutego.de/blog/javainsel/user/themes/tutego/images/insel-cover.jpg)# Java Blog für Programmierer

[Java Blog für Programmierer](https://tutego.de/blog/javainsel/)

## LangChain4j 1.24.0 adds decision models and declarative agent support

19.11.2026 · [Christian Ullenboom](https://tutego.de/blog/javainsel/author/admin/)

The release introduces a model type that answers with typed answers and probabilities instead of generated text, aimed at classification, routing, gating, and grading, with a Gemini-backed implementation among the first providers. It also adds helper objects for declarative agents with full CDI support, a Decision Scheduler agentic pattern, token-usage reporting for agentic flows, and a new langchain4j-test module that captures AI Service interactions for assertions; listeners now receive an invocation ID linking nested AI Service calls. Upgrading is not drop-in: constants for OpenAI models that have been shut down were removed, Milvus 2.6.20+ filters changed how isNotEqualTo/isNotIn treats entries without the key, and an async agent whose output is never read now runs fire-and-forget. <https://github.com/langchain4j/langchain4j/releases/tag/1.24.0>

[← Alle Beiträge](https://tutego.de/blog/javainsel/)

---

## Navigation

- Previous: [JEP 548, Vector API (Thirteenth Incubator), is now Proposed to Target for JDK 28](https://tutego.de/blog/javainsel/2026/11/jep-548-vector-api-thirteenth-incubator-is-now-proposed-to-target-for-jdk-28-4063223d.md)
- Next: [Spring Boot 4.2.0-RC2](https://tutego.de/blog/javainsel/2026/11/spring-boot-4-2-0-rc2.md)
