Lab 2640 | 2641 - Quarkus AI workshops
Welcome to the Lab 2640 and 2641 for Java AI Workshop! his workshop will guide you through building AI-infused applications and agentic systems using Quarkus and LangChain4j. You are going to learn about:
- Integrate LLMs (Language Models) into your Quarkus application
- Build a chatbot using Quarkus
- Configure and send prompts to the LLM
- Implement guardrails for safe interactions
- Build simple and advanced RAG (Retrieval-Augmented Generation) patterns
- Use remote tools via the Model Context Protocol (MCP)
- Connect with remote agents using Agent-to-Agent (A2A) communication
- Design agentic systems using workflow and supervisor patterns
Workshop Scenario
Throughout the workshop, you will create an LLM-powered customer support chatbot for a car rental company.
The workshop is divided into two sections:
-
Section 1 – AI-infused application (10 steps):
You’ll progressively build a chatbot, starting with basic LLM integration and adding features such as structured outputs, guardrails, and RAG. -
Section 2 – Agentic systems (4 steps):
You’ll extend the chatbot into an agentic workflow, introducing planning, supervision, and collaboration patterns.
Each step builds on the previous one, with the results stored in separate directories (step-XX):
- Final solution for Section 1:
section-1/step-10 - Final solution for Section 2:
section-2/step-04