LangChain & Agent Building
A linear, one-concept-per-lesson path through LangChain and agent building, from your first API call to a local research agent. 35 lessons · 3 tiers.
Prerequisites: Comfortable writing basic Python (functions, imports, running a script). This teaches AI/LangChain concepts, not coding.
Lessons use Google's Gemini free tier, not OpenAI or Anthropic: both require prepaid API credits, a separate account from their consumer chatbot subscriptions (ChatGPT Plus, Claude Pro don't include API access). Gemini's free tier removes that cost barrier for learning. Lesson 11 covers LangChain's provider-agnostic model interface, the same pattern that lets you swap in a self-hosted open-weight model (for example via Ollama) instead of a cloud API, if you'd rather run everything locally.
Built on LangChain, the open-source framework this course teaches.

Beginner
Core LangChain mechanics, no tools or agents yet.
- 01First CallGitHub
- 02Message TypesGitHub
- 03Prompt TemplatesGitHub
- 04Template Variables and PartialsGitHub
- 05Few-Shot PromptingGitHub
- 06Chains (LCEL)GitHub
- 07Output ParsersGitHub
- 08Runnable LambdaGitHub
- 09Batching and AsyncGitHub
- 10Model ParametersGitHub
- 11Provider-Agnostic ModelsGitHub
- 12Checkpoint: Prompted Story GeneratorGitHub
Intermediate
Giving the model abilities, real-world rough edges.
Advanced
Real agents, context management, production concerns.
- 23create_agent BasicsGitHub
- 24Agent Memory (Checkpointer)GitHub
- 25Context TrimmingGitHub
- 26Conversation SummarizationGitHub
- 27Document Loading and SplittingGitHub
- 28RAG: Embeddings and VectorstoreGitHub
- 29RAG as a ToolGitHub
- 30Human in the LoopGitHub
- 31Multi-Agent SupervisorGitHub
- 32Persistent CheckpointerGitHub
- 33Agent Middleware and GuardrailsGitHub
- 34Tracing and ObservabilityGitHub
- 35Capstone: Local Research Assistant AgentGitHub