AI Hints
Home›LangChain Tutorial›Getting Started
LangChain · Lesson 1 of 120

What Is LangChain

Building blocks for AI apps.

⏱ 2 min read▶ Video at 0:00🎓 Free
Watch this lesson in the LangChain courseWatch on YouTube ↗Full LangChain course

LangChain is a Python library for building apps with large language models, like Gemini, GPT, and Claude. It gives you ready made building blocks, so you don't have to write everything from scratch.

What Is LangChain
From the video: What Is LangChain
  • A Python library
  • For apps built on LLMs
  • Ready-made building blocks

What LangChain gives you

LangChain gives you a few main things. One interface to talk to many different models. Prompt templates, to build good prompts from your data. Tools and agents, so a model can take actions, like looking up an order. And retrieval, so a model can answer questions from your own documents.

One interfacefor many models
Promptstemplates from your data
Tools and agentsmodels that act
Retrievalanswers from your docs

What we'll build

In this course, we'll build up step by step, towards a helpful assistant for a small online bookshop, called Riverside Books. It will answer questions from the shop's own documents, look up stock and orders with tools, remember the conversation, and stay safe and on topic.

keyvalue
Answerfrom the shop's documents
Look upstock and orders
Rememberthe conversation
Stay safeand on topic

Summary

LangChain is a library of building blocks for apps powered by language models. Next, how these apps actually work, underneath.

Key takeaways
  • Python library
  • Many models, one interface
  • Prompts, tools, retrieval
Next up: How LLM Apps Work — text in, text out