Build real applications with large language models — prompting, tool use, MCP, embeddings, RAG, and AI agents — hands-on in Python with the Anthropic API
Every module ends with a guided project, so you finish with ten real, portfolio-ready LLM applications:
Work through the modules at your own pace. Each lesson is a self-contained, hands-on read.
You'll need comfortable Python — variables, functions, dictionaries, and a little
experience with classes. If you want that first, our
Python for Data Analytics and
Python Advanced courses cover it. You'll write real code
against the Anthropic API; the examples use the low-cost claude-haiku-4-5
model so you can follow along for pennies. No machine-learning background is required, though the
Machine Learning course is a great companion.
You can complete this course on any machine with Python 3.12+. Set up once and you're ready for every module.
ANTHROPIC_API_KEY — never in your code.pip install anthropic==0.112.0 \
sentence-transformers chromadb==1.5.9 \
langchain==1.3.11 langchain-anthropic==1.4.8 langgraph==1.2.6 \
langchain-chroma==1.1.0 langchain-huggingface==1.2.2 \
"fastapi[standard]==0.138.1"Runs locally — no API key or cost: the Embeddings & Semantic Search and Vector Databases modules use open-source sentence-transformers and Chroma, so you can complete them fully offline. Expected API spend for every Claude-backed lesson combined is well under $1 on the default claude-haiku-4-5 model.
python 3.12anthropic 0.112.0sentence-transformerschromadb 1.5.9langchain 1.3.11langchain-anthropic 1.4.8langgraph 1.2.6langchain-chroma 1.1.0fastapi 0.138.1pydantic 2.xuvicorn (fastapi[standard])model: claude-haiku-4-5LLM tooling moves fast. If an API or package has changed since these versions, the architecture and patterns still apply — adjust the syntax to what you have installed.
Pay only for the API calls you make
First API call through deployed apps
Live Claude API where it matters, local tools where they're cheaper
The full modern LLM-app toolkit
Native SDK plus the wider ecosystem
Easy to copy, search, and reference
Begin with Working with LLMs in Python and work through all 10 modules, from your first API call to tool use, RAG, agents, and deployment.
Start the first lesson