aurelio-labs/langchain-course
aurelio-labs/langchain-course has 326 GitHub stars and 204 forks. Star changes are not measured yet. Last checked 2026-11-18 04:17 UTC. Last push 2025-11-01.
Measured star growth
- in 24h
- Update delayed
- in 7 days
- Collecting history
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
About
All course material for the LangChain course from Aurelio AI.
Developer ToolsREADME.md
OriginalLangChain Course
Welcome to the LangChain course by Aurelio AI!
Getting Started
Python Environment (IMPORTANT)
This course repo contains everything you need to install an exact duplicate Python environment as used during the course creation.
Installing Python Venvs
The Python packages are managed using the uv package manager, and so we must install uv as a prerequisite for the course. We do so by following the installation guide. For Mac users, as of 22 Oct 2024 enter the following in your terminal:
curl -LsSf https://astral.sh/uv/install.sh | sh
Once uv is installed and available in your terminal you can navigate to the course root directory and execute:
uv python install 3.12.7
uv venv --python 3.12.7
uv sync
❗️ You may need to restart the terminal if the
uvcommand is not recognized by your terminal.
With that we have our chapter venv installed. When working through the code for a specific chapter, always create a new venv to avoid dependency hell.
Using Venv in VS Code / Cursor
To use our new venv in VS Code or Cursor we simply execute:
cd example-chapter
cursor . # run via Cursor
code . # run via VS Code
This command will open a new code window, from here you open the relevant files (like Jupyter notebook files), click on the top-right Select Environment, click Python Environments..., and choose the top .venv environment provided.
Uninstalling Venvs
Naturally, we might not want to keep all of these venvs clogging up the memory on our system, so after completing the course we recommend removing the venv with:
deactivate
rm -rf .venv -r
Ollama
The course can be run using OpenAI or Ollama. If using Ollama, you must go to ollama.com and install Ollama for your respective OS (MacOS is recommended).
Whenever an LLM is used via Ollama you must:
Ensure Ollama is running by executing
ollama servein your terminal or running the Ollama application. Make sure to keep note of the port the server is running on, by default Ollama runs onhttp://localhost:11434Download the LLM being used in your current example using
ollama pull. For example, to download Llama 3.2 3B, we executeollama pull llama 3.2:3bin our terminal.