generative_ai_with_langchain

Build production-ready LLM applications and advanced agents using Python, LangChain, and LangGraph. This is the companion repository for the book on generative

What is generative_ai_with_langchain?

Build production-ready LLM applications and advanced agents using Python, LangChain, and LangGraph. This is the companion repository for the book on generative AI with LangChain.

Overview of generative_ai_with_langchain

What it is

This is the companion code repository for the book Generative AI with LangChain, Second Edition (published by Packt), authored by Ben Auffarth and Leonid Kuligin. It contains code examples and notebooks for building production-ready LLM applications and advanced agents using Python, LangChain, and LangGraph. The repository is organized by chapters covering topics from the rise of generative AI to production deployment and observability. Multiple branches correspond to different editions and LangChain versions (v1, 2nd edition, softupdate, main).

Key features

  • Design and implement refined multi-agent systems using LangGraph - Enterprise-grade testing and evaluation frameworks for LLM applications - Deploy production-ready observability and monitoring solutions - Build RAG systems with hybrid search and re-ranking capabilities - Implement agents for software development and data analysis - Work with latest LLMs and providers: Google Gemini, Anthropic, Mistral, DeepSeek, and OpenAI o3-mini - Optimize cost and performance across different deployment types - Design secure, compliant AI systems with current best practices

Use cases

  • Moving from LLM prototypes to production environments - Building multi-agent architectures and robust LangGraph workflows - Developing advanced retrieval-augmented generation (RAG) pipelines with hybrid search and fact-checking - Creating agents for software development and data analysis - Implementing enterprise-grade testing, evaluation, and monitoring for LLM applications

Getting started

See the repository README for setup instructions. The code requires Python (3.12 or higher recommended for the v1 branch).

License and pricing

This project is open source under the MIT license. Pricing is listed as open source (free).

Based on the project's public README and repository metadata.

Add this badge to your README

Featured on YunoDB Badge styles & help

Maintain this project? Show that it is featured on YunoDB.

Markdown[![Featured on YunoDB](https://yunodb.com/badge/benman1generative-ai-with-langchain.svg)](https://yunodb.com/tools/benman1generative-ai-with-langchain?utm_source=github&utm_medium=badge)
HTML<a href="https://yunodb.com/tools/benman1generative-ai-with-langchain?utm_source=github&utm_medium=badge"><img src="https://yunodb.com/badge/benman1generative-ai-with-langchain.svg" alt="Featured on YunoDB" height="20"></a>