Foundations, Tooling & Research Skills
Explain what an AI engineer does in 2026. Confirm that your machine is ready and create the course environment. Use Jupyter properly. Keep secrets safe. Make your first Groq call through LangChain. Learn to find, read, and verify official docs. Choose providers with evidence.
00.01What an AI engineer actually does in 202645–60 min
By the end you can
- Explain the difference between calling a model API and engineering a reliable LLM system.
- Describe the agent development lifecycle: build → test → deploy → monitor, and back again.
- Place LangChain, LangGraph, Deep Agents, and LangSmith on that lifecycle, using the official "framework vs runtime vs harness" vocabulary.
- Define the key terms of the course (agent, harness, context engineering, evaluation-driven development, observability) and look them up in an interactive glossary.
- Edit and render Markdown cells, the first Jupyter skill of the course.
Before you start: None. This is the first lesson.
00.02Verify your environment (no installs yet)45–75 min
By the end you can
- Check the versions of Python, conda, pip, Jupyter, and git from Git Bash (and know the macOS/Linux equivalents).
- Make
condaavailable in Git Bash, for one session or permanently. - Find out which Python interpreter a notebook's kernel really uses (
sys.executable), and why it can differ from the terminal's. - Tell apart the conda
baseenvironment, a named project environment, and a venv. - Decide your next step: create the course environment
lc-masterywith the create-course-env guide.
Before you start: Lesson 00.01. Anaconda (or Miniconda), Jupyter, and Git for Windows (Git Bash) already installed.
00.02Create the course environment
lc-mastery45–90 minutes00.03Jupyter fundamentals60–90 min
By the end you can
- Navigate Jupyter Notebook 7 (and JupyterLab 4) with the mouse and the most useful keyboard shortcuts.
- Explain what the kernel is, why its memory ("state") survives between cells, and how that causes out-of-order bugs.
- Use Restart Kernel and Run All Cells as the "does it really work?" test before every commit.
- Use core IPython magics (
%time,%%time,%timeit,%who,%env,?) and know which ones can leak secrets. - Describe the
.ipynbfile format and why outputs must be cleared before committing.
Before you start: Lessons 00.01–00.02 and the [create-course-env guide](00-02-create-course-env.md).
00.04Secrets and
.envhygiene60–75 minBy the end you can
- Create a Groq API key and store it in a
.envfile that git ignores. - Load
.envwithpython-dotenvand explain how the file is found and which value wins (override). - Check that keys exist without ever printing them, using
mastery.config. - Name the environment variables that LangChain, LangSmith, and Groq read.
- Respond correctly to a leaked key (rotate first, clean up second).
Before you start: Lessons 00.01–00.03, the `lc-mastery` environment, a free [Groq account](https://console.groq.com/).
- Create a Groq API key and store it in a
00.05First contact: Groq + LangChain75–90 min
By the end you can
- Install
langchainandlangchain-groqinto the course environment with%pip, and verify the versions. - List the models that are live on your Groq account through the Models API (
GET /openai/v1/models). - Call
openai/gpt-oss-20bwithChatGroqand withinit_chat_model("groq:..."), and explain when to use each. - Read the returned
AIMessage:.text, reasoning content,response_metadata, andusage_metadata(tokens), and turn tokens into cost. - Handle the common errors (missing key, invalid key, retired model, rate limit) with clear messages.
Before you start: Lessons 00.01–00.04, the `lc-mastery` kernel, and `GROQ_API_KEY` in `.env` (Lesson 00.04).
- Install
00.06Researching like a pro: docs, llms.txt, changelogs, model cards90–120 min (with the reading list)
By the end you can
- Rank sources of truth: provider model lists and deprecation pages, official guides, API reference, changelogs, GitHub issues, tutorials.
- Navigate docs.langchain.com through its
llms.txtindex and Markdown page versions, and know what the docs MCP servers are for. - Detect retired model IDs in official examples automatically, by checking pages against a provider's deprecation list.
- Read a changelog, a versioning policy, and a deprecation lifecycle, and decide what they mean for your code.
- Read a model card and extract what matters for an engineering decision.
Before you start: Lessons 00.01–00.05. Internet access (no API key needed).
00.07Free vs paid vs local: a decision framework60–75 min
By the end you can
- Compare Groq (free tier), a paid benchmark (OpenAI by default, Gemini as a low-cost option), Hugging Face Inference Providers, and local models with Ollama on cost, speed, limits, privacy, and features.
- Convert "$ per 1M tokens" into "$ per notebook run" with a small cost calculator.
- Calculate how many calls per minute and per day a free tier really allows, and which limit binds first.
- Explain production vs preview models and free-tier data-use terms, and why each needs a ⚠️ Production note.
- Write your first entry in the model & provider decision log.
Before you start: Lessons 00.01–00.06.
★Project 00 · Groq Model Explorer2.5–3.5 hours
Project requirements
- Fetch the live model list from
https://api.groq.com/openai/v1/models. Show a table of id, owner, context window (when available), and whether the ID appears on the deprecations page (a small hand-curated list). - Pick at least 2 live chat models and send the same 3 prompts (factual, reasoning, creative). Record latency, token usage (
usage_metadata), and the answer. - Save results to
data/outputs/00-model-explorer.csv(gitignored). - Finish with a Markdown Findings cell and one entry in
docs/decision-log.md.
Before you start: Lessons 00.01–00.07; `GROQ_API_KEY` in `.env`
- Fetch the live model list from
