Workshop

Crafting Intelligent Applications and Agents with Quarkus/Langchain4j

Thursday, 24. April 2025, 9:00 –17:00, Gurten Pavillon

Description

This workshop will introduce you to the concepts of building Large Language Model-powered applications in Java using Quarkus and the LangChain4j library.

In the first part of the workshop, we will do a guided tour through the possibilities of the LangChain4j framework. LangChain4j makes it a piece of cake to chat with virtually any LLM provider (OpenAI, Gemini, HuggingFace, Azure, AWS, ...) and generate AI images straight from your Java application with DALL·E and Gemini. Have LLMs return POJOs and interact with local models on your machine. We will explain the fundamental building blocks of LLM-powered applications, show you how to chain them together into AI services, and how to interact with your knowledge base using advanced RAG.Then, we take a deeper dive into the Quarkus LangChain4j integration. We'll show how little code is needed when using Quarkus, how live reload makes experimenting with prompts a breeze, and finally, we'll look at its native image generation capabilities, aiming to get your AI-powered app deployment-ready in no time. We will also look at interoperating using the Anthropic Model Context Protocol (MCP), as well as doing in-process inferencing (for fun!). By the end of this session, you will have all the technical knowledge, along with plenty of inspiration for designing the apps of the future.In the second part, we get our hands dirty and develop together an enterprise application that integrates generative AI. Starting from the basics, we will add more complex features, showcasing the different aspects of working with LLMs.

By the end of this day, you should have a good understanding of prompt engineering, model parameters, AI security aspects, and RAG, as well as the foundations for building agentic applications.

Topics

Requirements

Target Audience

The workshop assumes familiarity with Java development and tools, however, no prior AI knowledge is required.

Speakers

Joshua Starmer
Dimitris Andreadis
Engineering Director at Red Hat, Quarkus Team, Cloud Native Runtimes
Joshua Starmer
Ioannis Canellos
Senior Principal Software Engineer at Red Hat
Joshua Starmer
Georgios Andrianakis
Principal Software Engineer at Red Hat