Skip to main content
AI · hands-on labs

Buildable labs

10 labs. Each one is a buildable exercise: prerequisites, learning outcomes, step-by-step instructions with code, expected output, common pitfalls. Ship something after every lab.

A1

API Caller

0/2 authored
A1
30 min
Author me

Build your first chatbot

OpenAI API + Streamlit. Ship a working chatbot in 30 minutes.

A1
20 min
Author me

Token counter and cost dashboard

tiktoken, cost math, cost dashboard in 10 lines of code.

A2

Prompt Engineer

0/1 authored
A2
30 min
Author me

Structured output extractor

PDF → structured JSON with Pydantic and function calling.

A3

RAG Builder

0/2 authored
A3
90 min
Author me

Build a RAG system end-to-end

Ingest → chunk → embed → index → retrieve → generate. Ship a working /ask endpoint.

A3
60 min
Author me

Hybrid search + reranking

BM25 + vector search + cross-encoder reranker. Measure the recall / precision uplift.

A4

Agent Engineer

0/2 authored
A4
60 min
Author me

ReAct agent with 3 tools

Build a ReAct loop with web search, calculator, and code executor tools.

A4
90 min
Author me

Build an MCP server

The 2024 Anthropic standard — build a server that exposes 3 tools via MCP.

A5

AI Architect

0/3 authored
A5
60 min
Author me

LLM evaluation harness

Golden dataset + LLM-as-judge + Ragas. Measure your app before shipping.

A5
45 min
Author me

Red-team your own LLM app

Attack your app with the OWASP AI Top 10. Fix the holes you find.

A5
60 min
Author me

Cost optimization workshop

Prompt caching + batching + model routing. Measure 10x cost reduction.