Skip to content

microsoft/LangChain4j-for-Beginners

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

LangChain4j

LangChain4j for Beginners

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.

Table of Contents

  1. Quick Start - Get started with LangChain4j
  2. Introduction - Learn the fundamentals of LangChain4j
  3. Prompt Engineering - Master effective prompt design
  4. RAG (Retrieval-Augmented Generation) - Build intelligent knowledge-based systems
  5. Tools - Integrate external tools and APIs with AI agents
  6. MCP (Model Context Protocol) - Work with the Model Context Protocol

Learning Path

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.

Learning Path

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.

Learning with GitHub Copilot

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.

Additional Resources

LangChain

LangChain4j for Beginners LangChain.js for Beginners


Azure / Edge / MCP / Agents

AZD for Beginners Edge AI for Beginners MCP for Beginners AI Agents for Beginners


Generative AI Series

Generative AI for Beginners Generative AI (.NET) Generative AI (Java) Generative AI (JavaScript)


Core Learning

ML for Beginners Data Science for Beginners AI for Beginners Cybersecurity for Beginners Web Dev for Beginners IoT for Beginners XR Development for Beginners


Copilot Series

Copilot for AI Paired Programming Copilot for C#/.NET Copilot Adventure

Getting Help

If you get stuck or have any questions about building AI apps, join:

Azure AI Foundry Discord

If you have product feedback or errors while building visit:

Azure AI Foundry Developer Forum

License

MIT License - See LICENSE file for details.

About

A course for AI applications with LangChain4j from simple chat to AI agents.

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •