{"id":"6b08c24c38c84264c2027464","slug":"ai-in-java","title":"AI in Java: the official SDK, Spring AI and LangChain4j in practice","summary":"A map of the AI ecosystem on the JVM – when the official Anthropic SDK is enough, when Spring AI and when LangChain4j – plus streaming, structured responses in records, tools, RAG with pgvector and tests with a fake model.","servedLang":"en","availableLangs":["pl","en"],"topics":["ai-in-java","rag","tool-use","embeddings-vector-db"],"techs":["java"],"tags":["java","spring-ai","spring-boot","langchain4j","anthropic-sdk","pgvector","structured-outputs","claude"],"level":"intermediate","kind":"article","access":"members","status":"published","cover":null,"author":{"id":"6b08bd2e80884893657cc8cf","name":"Redakcja Art of Devs","avatar":null,"handle":"redakcja","community":false},"readingMinutes":18,"stats":{"views":3,"likes":0,"bookmarks":0,"comments":0},"publishedAt":"2026-11-26T23:35:40.204Z","updatedAt":"2026-11-27T13:05:10.180Z","requestedLang":"en","theme":{"hero":"classic","heroMedia":null,"accent":"rose","background":"tint","weaveResources":true,"toc":"right"},"seoDescription":"AI in Java: Anthropic Java SDK (streaming, structured outputs, tool runner), Spring AI 2.1 (ChatClient, @Tool, QuestionAnswerAdvisor, pgvector) and LangChain4j (AiServices, RAG), testing and production.","wordCount":3470,"doc":{"type":"doc","content":[{"type":"paragraph","content":[{"type":"text","text":"Most systems that handle orders, payments and warehouses run on the JVM – and that is where an AI feature usually lands, not in a separate Python service. The Java ecosystem has grown up to the job: there is the "},{"type":"text","text":"official Anthropic SDK","marks":[{"type":"bold"}]},{"type":"text","text":", "},{"type":"text","text":"Spring AI","marks":[{"type":"bold"}]},{"type":"text","text":" with Spring Boot integration and "},{"type":"text","text":"LangChain4j","marks":[{"type":"bold"}]},{"type":"text","text":" with declarative \"AI services\". This guide shows the same tasks in all three approaches and helps you decide when to use which."}]},{"type":"stats","attrs":{"items":[{"value":"3","label":"paths on the JVM","hint":"official SDK, Spring AI, LangChain4j"},{"value":"1","label":"Java record","hint":"describes the shape of the model's answer and becomes a JSON Schema"},{"value":"2.1","label":"Spring AI version","hint":"GA in November 2026, on Spring Boot 4"}]}},{"type":"callout","attrs":{"variant":"info","title":"TL;DR"},"content":[{"type":"bulletList","content":[{"type":"listItem","content":[{"type":"paragraph","content":[{"type":"text","text":"The "},{"type":"text","text":"official SDK","marks":[{"type":"bold"}]},{"type":"text","text":" ("},{"type":"text","text":"com.anthropic:anthropic-java","marks":[{"type":"code"}]},{"type":"text","text":") gives full access to the API: streaming, structured responses mapped to records, the tool runner, prompt caching and batch."}]}]},{"type":"listItem","content":[{"type":"paragraph","content":[{"type":"text","text":"Spring AI","marks":[{"type":"bold"}]},{"type":"text","text":" plugs models into the Spring world: "},{"type":"text","text":"ChatClient","marks":[{"type":"code"}]},{"type":"text","text":", tools with the "},{"type":"text","text":"@Tool","marks":[{"type":"code"}]},{"type":"text","text":" annotation, advisors for RAG and logging, auto-configuration and observability through Micrometer."}]}]},{"type":"listItem","content":[{"type":"paragraph","content":[{"type":"text","text":"LangChain4j","marks":[{"type":"bold"}]},{"type":"text","text":" generates the implementation of your interface ("},{"type":"text","text":"AiServices","marks":[{"type":"code"}]},{"type":"text","text":") with conversation memory, tools and RAG – independent of any framework, also in Quarkus and Helidon."}]}]}]}]},{"type":"heading","attrs":{"level":2,"id":"the-problem-resttemplate-and-hand-built-json"},"content":[{"type":"text","text":"The problem: RestTemplate and hand-built JSON"}]},{"type":"paragraph","content":[{"type":"text","text":"The ordering platform of Halina's Pierogi is a Spring Boot monolith. The team wrote the first AI feature – summarizing complaints – on "},{"type":"text","text":"RestTemplate","marks":[{"type":"code"}]},{"type":"text","text":": the request JSON was assembled from strings, the response parsed by "},{"type":"text","text":"ObjectMapper","marks":[{"type":"code"}]},{"type":"text","text":" into a "},{"type":"text","text":"Map<String, Object>","marks":[{"type":"code"}]},{"type":"text","text":", and the result pulled out of the text with a regular expression. A month later:"}]},{"type":"bulletList","content":[{"type":"listItem","content":[{"type":"paragraph","content":[{"type":"text","text":"a change in the model's answer format broke the parser once a week,"}]}]},{"type":"listItem","content":[{"type":"paragraph","content":[{"type":"text","text":"every call blocked a server thread for over ten seconds, so Tomcat's thread pool ran dry at peak hours,"}]}]},{"type":"listItem","content":[{"type":"paragraph","content":[{"type":"text","text":"nobody knew how many tokens each feature used, because there were no metrics or usage logs,"}]}]},{"type":"listItem","content":[{"type":"paragraph","content":[{"type":"text","text":"integration tests needed an API key, so they were switched off in CI."}]}]}]},{"type":"paragraph","content":[{"type":"text","text":"Each of these problems has a ready-made solution in the Java ecosystem – provided you pick the right layer."}]},{"type":"heading","attrs":{"level":2,"id":"ecosystem-map"},"content":[{"type":"text","text":"Ecosystem map"}]},{"type":"table","content":[{"type":"tableRow","content":[{"type":"tableHeader","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"Layer"}]}]},{"type":"tableHeader","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"Libraries"}]}]},{"type":"tableHeader","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"What for"}]}]}]},{"type":"tableRow","content":[{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"Provider SDKs"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"com.anthropic:anthropic-java","marks":[{"type":"code"}]},{"type":"text","text":", "},{"type":"text","text":"com.openai:openai-java","marks":[{"type":"code"}]}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"the full API: streaming, structured outputs, tool runner, caching, batch, files"}]}]}]},{"type":"tableRow","content":[{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"Spring integration"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"Spring AI ("},{"type":"text","text":"spring-ai-starter-model-anthropic","marks":[{"type":"code"}]},{"type":"text","text":", "},{"type":"text","text":"spring-ai-client-chat","marks":[{"type":"code"}]},{"type":"text","text":")"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"ChatClient","marks":[{"type":"code"}]},{"type":"text","text":", "},{"type":"text","text":"@Tool","marks":[{"type":"code"}]},{"type":"text","text":", advisors, auto-configuration, Micrometer"}]}]}]},{"type":"tableRow","content":[{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"Framework-independent"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"LangChain4j ("},{"type":"text","text":"langchain4j","marks":[{"type":"code"}]},{"type":"text","text":", "},{"type":"text","text":"langchain4j-anthropic","marks":[{"type":"code"}]},{"type":"text","text":"), Quarkus LangChain4j"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"AiServices","marks":[{"type":"code"}]},{"type":"text","text":", memory, tools, RAG, agents"}]}]}]},{"type":"tableRow","content":[{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"Vector stores"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"pgvector, Qdrant, Elasticsearch, Redis – via "},{"type":"text","text":"VectorStore","marks":[{"type":"code"}]},{"type":"text","text":" (Spring AI) or "},{"type":"text","text":"EmbeddingStore","marks":[{"type":"code"}]},{"type":"text","text":" (LangChain4j)"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"semantic search – see "},{"type":"text","text":"embeddings and vector databases","marks":[{"type":"link","attrs":{"href":"/en/topics/embeddings-vector-db"}}]}]}]}]},{"type":"tableRow","content":[{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"Local embeddings"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"spring-ai-transformers","marks":[{"type":"code"}]},{"type":"text","text":", "},{"type":"text","text":"langchain4j-embeddings-*","marks":[{"type":"code"}]},{"type":"text","text":" (ONNX)"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"embeddings inside the JVM process, without sending data out"}]}]}]},{"type":"tableRow","content":[{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"Local models"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"Ollama (Spring AI and LangChain4j modules)"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"open models on your own hardware – see "},{"type":"text","text":"local LLMs","marks":[{"type":"link","attrs":{"href":"/en/topics/local-llms"}}]}]}]}]},{"type":"tableRow","content":[{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"Protocol"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"MCP Java SDK, the Spring AI MCP starter"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"MCP","marks":[{"type":"link","attrs":{"href":"/en/topics/mcp"}}]},{"type":"text","text":" servers and clients"}]}]}]},{"type":"tableRow","content":[{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"Observability and tests"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"Micrometer, OpenTelemetry, JUnit, Testcontainers"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"token metrics, tracing, tests with a fake model"}]}]}]}]},{"type":"packageCard","attrs":{"eco":"maven","name":"org.springframework.ai:spring-ai-client-chat"}},{"type":"packageCard","attrs":{"eco":"maven","name":"dev.langchain4j:langchain4j"}},{"type":"diagram","attrs":{"kind":"mermaid","code":"flowchart TB\n  A[\"New AI feature in a JVM application\"] --> B([\"A Spring Boot application?\"])\n  B -->|\"yes\"| C([\"Need API features<br/>Spring AI does not expose?\"])\n  C -->|\"no\"| D[\"Spring AI:<br/>ChatClient, @Tool, advisors\"]\n  C -->|\"yes\"| E[\"Official SDK<br/>(e.g. batch, new parameters)\"]\n  B -->|\"no\"| F([\"Want declarative AI services<br/>with memory and RAG?\"])\n  F -->|\"yes\"| G[\"LangChain4j AiServices<br/>(also Quarkus, Helidon)\"]\n  F -->|\"no\"| E","caption":"Which layer to choose? Start with the simplest one that fits your stack"}},{"type":"section","attrs":{"background":"dots","width":"wide","padding":"m"},"content":[{"type":"heading","attrs":{"level":2,"id":"how-the-jvm-ecosystem-matured"},"content":[{"type":"text","text":"How the JVM ecosystem matured"}]},{"type":"columns","attrs":{"layout":"1-1","valign":"top"},"content":[{"type":"column","content":[{"type":"paragraph","content":[{"type":"text","text":"As recently as 2023, Java developers wrote model integrations by hand or ported ideas from Python's LangChain. Today all three paths have stable versions, and Spring AI's Anthropic module uses the official SDK under the hood – so new API features reach Spring faster than they used to."}]},{"type":"paragraph","content":[{"type":"text","text":"The code in this article is compiled against the versions current in November 2026: "},{"type":"text","text":"anthropic-java","marks":[{"type":"code"}]},{"type":"text","text":" 3.14, Spring AI 2.1 on Spring Boot 4.2 and LangChain4j 1.24. Older tutorials often use API names that changed in the move to versions 1.x and 2.x."}]}]},{"type":"column","content":[{"type":"timeline","attrs":{"items":[{"date":"2023","title":"LangChain4j","text":"first releases of a library inspired by LangChain but designed from scratch for Java."},{"date":"2023","title":"Spring AI","text":"the project starts in the Spring ecosystem."},{"date":"2025","title":"Stable APIs","text":"March: anthropic-java 1.0; May: LangChain4j 1.0 and Spring AI 1.0 GA."},{"date":"2026","title":"Spring AI 2.0","text":"June: a new major version on Spring Framework 7."},{"date":"2026","title":"anthropic-java 3.0","text":"October: a new major SDK version together with a new API version."},{"date":"2026","title":"Spring AI 2.1","text":"November: among others, human confirmation of tool calls."}]}}]}]}]},{"type":"heading","attrs":{"level":2,"id":"the-official-sdk-streaming-and-an-answer-in-a-record"},"content":[{"type":"text","text":"The official SDK: streaming and an answer in a record"}]},{"type":"paragraph","content":[{"type":"text","text":"The Anthropic SDK for Java has builders for every request and one thread-safe client – you create it once, for example as a bean. For structured responses, pass a record class to "},{"type":"text","text":"outputConfig(...)","marks":[{"type":"code"}]},{"type":"text","text":": the SDK generates a JSON Schema from it and returns the answer as a ready-made object."}]},{"type":"codeGroup","attrs":{"title":"Streaming and extracting an order into a record"},"content":[{"type":"codeBlock","attrs":{"language":"java","filename":"StreamAnswer.java"},"content":[{"type":"text","text":"import com.anthropic.client.AnthropicClient;\nimport com.anthropic.client.okhttp.AnthropicOkHttpClient;\nimport com.anthropic.core.http.StreamResponse;\nimport com.anthropic.models.messages.MessageCreateParams;\nimport com.anthropic.models.messages.OutputConfig;\nimport com.anthropic.models.messages.RawMessageStreamEvent;\n\npublic class StreamAnswer {\n    public static void main(String[] args) {\n        // Reads ANTHROPIC_API_KEY from the environment; the client is thread-safe - create it once.\n        AnthropicClient client = AnthropicOkHttpClient.fromEnv();\n\n        MessageCreateParams params = MessageCreateParams.builder()\n                .model(\"claude-opus-5-5\")\n                .maxTokens(64000L)\n                .outputConfig(OutputConfig.builder().effort(OutputConfig.Effort.LOW).build())\n                .system(\"You are the support assistant of Halina's Pierogi. Answer briefly.\")\n                .addUserMessage(\"How long do you cook frozen pierogi?\")\n                .build();\n\n        // try-with-resources closes the HTTP stream even if the consumer stops early.\n        try (StreamResponse<RawMessageStreamEvent> stream = client.messages().createStreaming(params)) {\n            stream.stream()\n                    .flatMap(event -> event.contentBlockDelta().stream())\n                    .flatMap(delta -> delta.delta().text().stream())\n                    .forEach(text -> System.out.print(text.text()));\n        }\n    }\n}"}]},{"type":"codeBlock","attrs":{"language":"java","filename":"ExtractOrder.java"},"content":[{"type":"text","text":"import com.anthropic.client.AnthropicClient;\nimport com.anthropic.client.okhttp.AnthropicOkHttpClient;\nimport com.anthropic.models.messages.MessageCreateParams;\nimport com.anthropic.models.messages.StructuredMessageCreateParams;\nimport com.fasterxml.jackson.annotation.JsonPropertyDescription;\nimport java.util.List;\n\npublic class ExtractOrder {\n    enum Dish { RUSKIE, CABBAGE, MEAT, SPINACH }\n\n    record OrderLine(Dish dish, int quantity) {}\n\n    record OrderDraft(\n            List<OrderLine> lines,\n            @JsonPropertyDescription(\"HH:MM, or null when not given\") String pickupTime,\n            String notes) {}\n\n    public static void main(String[] args) {\n        AnthropicClient client = AnthropicOkHttpClient.fromEnv();\n\n        // outputConfig(Class) derives the JSON schema from the record and returns a typed builder.\n        StructuredMessageCreateParams<OrderDraft> params = MessageCreateParams.builder()\n                .model(\"claude-opus-5-5\")\n                .maxTokens(16000L)\n                .system(\"Turn the customer's message into an order draft. Do not invent dishes.\")\n                .outputConfig(OrderDraft.class)\n                .addUserMessage(\"2x ruskie and one cabbage for 18:30, no onion please\")\n                .build();\n\n        client.messages().create(params).content().stream()\n                .flatMap(block -> block.text().stream())\n                .forEach(typed -> {\n                    OrderDraft draft = typed.text(); // already deserialized\n                    draft.lines().forEach(l -> System.out.println(l.quantity() + \"x \" + l.dish()));\n                    System.out.println(\"pickup: \" + draft.pickupTime());\n                });\n    }\n}"}]}]},{"type":"paragraph","content":[{"type":"text","text":"What to watch for:"}]},{"type":"bulletList","content":[{"type":"listItem","content":[{"type":"paragraph","content":[{"type":"text","text":"The stream must be closed.","marks":[{"type":"bold"}]},{"type":"text","text":" "},{"type":"text","text":"StreamResponse","marks":[{"type":"code"}]},{"type":"text","text":" holds an open HTTP connection; "},{"type":"text","text":"try-with-resources","marks":[{"type":"code"}]},{"type":"text","text":" guarantees it is closed even when you stop reading halfway."}]}]},{"type":"listItem","content":[{"type":"paragraph","content":[{"type":"text","text":"effort","marks":[{"type":"code"}]},{"type":"text","text":" instead of temperature.","marks":[{"type":"bold"}]},{"type":"text","text":" Current Claude models do not accept sampling parameters; you set reasoning depth in "},{"type":"text","text":"OutputConfig","marks":[{"type":"code"}]},{"type":"text","text":". Details in "},{"type":"text","text":"LLM fundamentals","marks":[{"type":"link","attrs":{"href":"/en/topics/llm-fundamentals"}}]},{"type":"text","text":"."}]}]},{"type":"listItem","content":[{"type":"paragraph","content":[{"type":"text","text":"Jackson annotations are documentation for the model.","marks":[{"type":"bold"}]},{"type":"text","text":" "},{"type":"text","text":"@JsonPropertyDescription","marks":[{"type":"code"}]},{"type":"text","text":" goes into the schema and tells the model the field format (for example "},{"type":"text","text":"HH:MM","marks":[{"type":"code"}]},{"type":"text","text":")."}]}]}]},{"type":"heading","attrs":{"level":2,"id":"tools-the-tool-runner-on-classes"},"content":[{"type":"text","text":"Tools: the tool runner on classes"}]},{"type":"paragraph","content":[{"type":"text","text":"In the Java SDK the "},{"type":"text","text":"tool use","marks":[{"type":"link","attrs":{"href":"/en/topics/tool-use"}}]},{"type":"text","text":" loop is run by the "},{"type":"text","text":"tool runner","marks":[{"type":"bold"}]},{"type":"text","text":" (in beta). Each tool is a class implementing "},{"type":"text","text":"Supplier<String>","marks":[{"type":"code"}]},{"type":"text","text":": public fields become the argument schema, Jackson annotations become descriptions, and the "},{"type":"text","text":"get()","marks":[{"type":"code"}]},{"type":"text","text":" method runs the tool. The runner returns the model's messages one by one until it is done."}]}]},"toc":[{"id":"the-problem-resttemplate-and-hand-built-json","text":"The problem: RestTemplate and hand-built JSON","level":2,"locked":false},{"id":"ecosystem-map","text":"Ecosystem map","level":2,"locked":false},{"id":"how-the-jvm-ecosystem-matured","text":"How the JVM ecosystem matured","level":2,"locked":false},{"id":"the-official-sdk-streaming-and-an-answer-in-a-record","text":"The official SDK: streaming and an answer in a record","level":2,"locked":false},{"id":"tools-the-tool-runner-on-classes","text":"Tools: the tool runner on classes","level":2,"locked":false},{"id":"spring-ai-chatclient-tool-and-rag-with-pgvector","text":"Spring AI: ChatClient, @Tool and RAG with pgvector","level":2,"locked":true},{"id":"langchain4j-declarative-ai-services","text":"LangChain4j: declarative AI services","level":2,"locked":true},{"id":"testing-and-observability","text":"Testing and observability","level":2,"locked":true},{"id":"sdk-spring-ai-or-langchain4j","text":"SDK, Spring AI or LangChain4j?","level":2,"locked":true},{"id":"checklist","text":"Checklist","level":2,"locked":true},{"id":"test-yourself","text":"Test yourself","level":2,"locked":true},{"id":"what-s-next","text":"What's next","level":2,"locked":true}],"locked":true,"paywall":null,"previewRatio":0.3,"totalBlocks":57,"visibleBlocks":20,"resources":[{"id":"6b0857bf3c96f2d34d0b4277","type":"article","provider":"web","url":"https://docs.spring.io/spring-ai/reference","embedUrl":null,"title":"Introduction :: Spring AI Reference","description":"","author":"Spring","thumbnailUrl":null,"durationSec":null,"lang":"en","topics":["ai-in-java"],"techs":["java"],"tags":["ai"],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"manual","publishedAt":null,"popularity":65,"verifiedAt":"2026-11-26T11:25:52.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:01:02.417Z","updatedAt":"2026-11-26T16:01:02.417Z"},{"id":"6b0857bf3c96f2d34d0b42ca","type":"article","provider":"web","url":"https://docs.langchain4j.dev/","embedUrl":null,"title":"LangChain4j","description":"Description will go into a meta tag in","author":"LangChain4j","thumbnailUrl":"https://langchain4j.github.io/img/docusaurus-social-card.jpg","durationSec":null,"lang":"en","topics":["ai-in-java"],"techs":["java"],"tags":["ai"],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"manual","publishedAt":null,"popularity":60,"verifiedAt":"2026-11-26T11:25:52.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:01:02.417Z","updatedAt":"2026-11-26T16:01:02.417Z"},{"id":"6b0857c23c96f2d34d0b452c","type":"article","provider":"web","url":"https://spring.io/blog/2026/11/20/spring-ai-2-1-0-GA-available-now","embedUrl":null,"title":"Spring AI 2.1.0 GA and 2.0.3 GA Available Now","description":"Level up your Java code and explore what Spring can do for you.","author":"Spring Blog","thumbnailUrl":"https://spring.io/img/og-spring.png","durationSec":null,"lang":"en","topics":["ai-in-java"],"techs":["java"],"tags":["ai"],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"manual","publishedAt":null,"popularity":50,"verifiedAt":"2026-11-26T11:28:43.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:01:04.995Z","updatedAt":"2026-11-26T16:01:04.995Z"},{"id":"6b0857b33c96f2d34d0b3669","type":"repo","provider":"github","url":"https://github.com/ThomasVitale/llm-apps-java-spring-ai","embedUrl":null,"title":"ThomasVitale/llm-apps-java-spring-ai","description":"Samples showing how to build Java applications powered by Generative AI and LLMs using Spring AI and Spring Boot.","author":"ThomasVitale","thumbnailUrl":"https://opengraph.githubassets.com/1/ThomasVitale/llm-apps-java-spring-ai","durationSec":null,"lang":"en","topics":["ai-in-java","llm-fundamentals","rag","embeddings-vector-db","local-llms"],"techs":["java"],"tags":["embeddings","generative-ai","large-language-models","llm","ollama","openai","ai","rag","spring-ai"],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"github","publishedAt":"2024-01-14T11:04:15.000Z","popularity":56,"verifiedAt":"2026-11-26T11:00:00.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:00:50.215Z","updatedAt":"2026-11-26T16:00:50.215Z"},{"id":"6b0857a93c96f2d34d0b324e","type":"repo","provider":"github","url":"https://github.com/langchain4j/langchain4j","embedUrl":null,"title":"langchain4j/langchain4j","description":"LangChain4j is an idiomatic, open-source Java library for building LLM-powered applications.","author":"langchain4j","thumbnailUrl":"https://opengraph.githubassets.com/1/langchain4j/langchain4j","durationSec":null,"lang":"en","topics":["ai-in-java"],"techs":["java"],"tags":[],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"seed","publishedAt":null,"popularity":83,"verifiedAt":"2026-11-26T00:00:00.000Z","curated":true,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:00:41.635Z","updatedAt":"2026-11-26T16:00:41.635Z"},{"id":"6b0857c83c96f2d34d0b4a6a","type":"video","provider":"youtube","url":"https://www.youtube.com/watch?v=9mOuvrZtLbc","embedUrl":"https://www.youtube-nocookie.com/embed/9mOuvrZtLbc","title":"State of the Art of Spring AI • Josh Long • GOTO 2025","description":"This presentation was recorded for GOTO State of the Art in May 2025. #GOTOcon #GOTO https://gotopia.tech Read the full transcription of this interview here: https://gotopia.tech/articles/378 Josh Long - Spring Developer Advocate at Pivotal, Java Champion & Author of 6 Books @coffeesoftware…","author":"GOTO Conferences","thumbnailUrl":"https://i.ytimg.com/vi/9mOuvrZtLbc/hqdefault.jpg","durationSec":null,"lang":"en","topics":["ai-in-java"],"techs":["java"],"tags":["ai"],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"youtube-rss","publishedAt":"2025-05-20T12:00:16.000Z","popularity":56,"verifiedAt":"2026-11-26T10:52:08.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:01:10.095Z","updatedAt":"2026-11-26T16:01:10.095Z"}],"challenges":[],"attachments":[],"hasCode":true,"repoUrl":null,"series":[],"prev":null,"next":null,"featured":false,"authorCard":{"id":"6b08bd2e80884893657cc8cf","name":"Redakcja Art of Devs","avatar":null,"handle":"redakcja","headline":"Wzorce projektowe · Architektura · AI i LLM","community":false,"reputation":{"points":3900,"level":{"key":"mentor","label":"Mentor"}},"articles":68,"skills":[{"key":"typescript","title":"TypeScript","level":5,"levelLabel":"Authority","articles":63},{"key":"dotnet","title":".NET","level":5,"levelLabel":"Authority","articles":53},{"key":"python","title":"Python","level":5,"levelLabel":"Authority","articles":52},{"key":"java","title":"Java","level":5,"levelLabel":"Authority","articles":38}]}}