A course for building AI applications with LangChain4j and Azure OpenAI GPT-5, from basic chat to AI agents.
New to LangChain4j? Check out the Glossary for definitions of key terms and concepts.
- Quick Start - Get started with LangChain4j
- Introduction - Learn the fundamentals of LangChain4j
- Prompt Engineering - Master effective prompt design
- RAG (Retrieval-Augmented Generation) - Build intelligent knowledge-based systems
- Tools - Integrate external tools and APIs with AI agents
- MCP (Model Context Protocol) - Work with the Model Context Protocol
Start with the Quick Start module and progress through each module to build your skills step-by-step. You'll try basic examples to understand the fundamentals before moving to the Introduction module for a deeper dive with GPT-5.
After completing the modules, explore the Testing Guide to see LangChain4j testing concepts in action.
Note: This training uses both GitHub Models and Azure OpenAI. The Quick Start and MCP modules use GitHub Models (no Azure subscription required), while modules 1-4 use Azure OpenAI GPT-5.
To quickly start coding, open this project in a GitHub Codespace or your local IDE with the provided devcontainer. The devcontainer used in this course comes pre-configured with GitHub Copilot for AI paired programming.
Each code example includes suggested questions you can ask GitHub Copilot to deepen your understanding. Look for the 💡/🤖 prompts in:
- Java file headers - Questions specific to each example
- Module READMEs - Exploration prompts after code examples
How to use: Open any code file and ask Copilot the suggested questions. It has full context of the codebase and can explain, extend, and suggest alternatives.
Want to learn more? Check out Copilot for AI Paired Programming.
If you get stuck or have any questions about building AI apps, join:
If you have product feedback or errors while building visit:
MIT License - See LICENSE file for details.

