Python + AI: Zero to AI Engineer
Go from zero to an AI engineer by writing real code in your browser: Python fundamentals, then production-grade AI -> prompting, RAG, evals, agents, guardrails, and real portfolio projects. Free, no account.
You can run real Python in this tab, right now.
No install, no account, no setup -> we did all that for you. Your first lesson is a 60-second warm-up, and it is graded by real hidden tests the moment you pass. First green check before the kettle boils.
Daily review
Spaced repetition keeps what you learned from fading.
Python Foundations
Run real Python in the browser and build confidence with values, math, strings, booleans, and reading errors.
Control Flow
Branch and repeat logic fluently, with heavy scaffolding at loops.
Functions
Author reusable functions with full signatures, docstrings, type hints, and return-vs-print discipline.
Data Structures
Fluently use list, dict, set and tuple, choose the right one, and write comprehensions.
Files, Errors & Modules
Read and write text, CSV and JSON, handle exceptions properly, and structure code into modules.
Object-Oriented Python
Design classes with __init__, methods, dunder methods, inheritance, @property and @dataclass.
Pythonic Code, Testing & Capstone
Write idiomatic, tested code (generators, decorators, pytest) and ship a multi-file-style CLI. Exit = mid-tier Python.
SQL & Databases
Query and shape real data with SQL on a live SQLite database in your browser: SELECT, filtering and sorting, aggregates and GROUP BY, JOINs across tables, safe parameterized writes, and subqueries.
Data Foundations: numpy & pandas
Manipulate arrays and clean, filter, group and merge tabular data in the browser.
Your First Machine Learning Models
Train and evaluate scikit-learn models and diagnose under/overfitting.
Neural-Net Intuition, LLMs & AI Capstone
Build honest neural-net intuition in numpy, reason clearly about how LLMs work, and ship an on-device AI capstone that turns data into a plain-English report.
Calling a Real LLM
Drive a real LLM through its actual API: build the request, read the response and tool calls, fold a token stream, and handle errors the way production code does.
Prompt Engineering for AI Engineers
Treat the prompt as a program you build, validate, and harden in pure Python, so an LLM becomes a reliable component you control.
Structured Outputs & Function/Tool Calling
Make an LLM emit machine-readable, schema-valid JSON and route its tool calls to real Python functions -> the integration layer between a model and your systems.
Embeddings & Semantic Search from Scratch
Implement the vector math under every RAG and routing system -> cosine, BM25, hybrid fusion, reranking -> by hand in numpy/sklearn.
Build a RAG Pipeline
Assemble chunking, a vector store, top-k retrieval, grounded-prompt construction, and out-of-scope refusal into a working retrieval-augmented generation engine.
Evaluating RAG & Retrieval
Measure retrieval quality separately from generation by implementing Precision@k, Recall@k, MRR, and NDCG@k from scratch.
LLM Evals & Testing
Build the eval harness that turns 'the prompt seems better' into numbers: assertion tests, exact-match/F1/ROUGE scorers, an LLM-as-judge parser, and a regression gate.
Building Agents (Tool-Use & ReAct)
Implement the reason-act-observe loop, a tool router, multi-step state, and loop guards as pure functions - the control flow under every 'AI agent', with the model mocked by a deterministic policy.
Productionizing LLMs: Cost, Caching & Guardrails
Build the production layer around a model -> token/cost accounting, context budgeting, semantic and hash caching, PII redaction, and output guards -> in pure Python/pandas.
Production Patterns: Retries, Async, Streaming & Memory
Build the real-world engineering every LLM app needs around the model: retry with backoff, concurrent batch calls, streaming accumulation, and multi-turn conversation memory.
Responsible AI: Safety, Moderation & Red-Teaming
Build the safety layer a production LLM app needs: detect jailbreaks, moderate content, red-team with an adversarial suite, and calibrate refusals.
The ML Around the LLM
Build the cheap, deterministic ML that wraps a production LLM app -> intent classification, embedding routing, and confidence thresholding -> with sklearn.
Fine-Tuning, Conceptually
Understand LoRA/DPO/PEFT conceptually and build the part you CAN run offline: instruction-tuning dataset curation, validation, dedup, and a clean train/val split.
Projects: Build Real Things
Architect and run real programs from a near-blank file: a CLI, a log analyzer, a parser, an interpreter, and a data investigation.
Project: Customer Support Copilot
Build and evaluate a retrieval-augmented support assistant end to end -> the resume line "built and evaluated a RAG pipeline and eval harness".
Project: Document Intelligence Service
Turn messy documents into validated, reconciled, machine-readable data -> "built a schema-validated extraction pipeline with reconciliation + evals".
Project: Production AI Gateway
Build the production layer that classifies, routes, caches, costs, and guards every request -> "built an AI gateway: classify, route, cache, guardrail, cost-account".
Project: Tool-Using Research Agent
Implement the reason-act-observe loop, tool routing, planning and loop guards behind every "AI agent" -> "built a ReAct agent loop with tool routing, loop guards and trace eval".
Project: Prompt Evaluation CI
Turn "the prompt seems better" into a CI gate that blocks regressions -> "built a prompt-eval harness + regression gate".
Capstone: Ship It (Package Your Project)
Turn the capstone code you wrote into a real, runnable, testable repo a hiring manager can open in 30 seconds -> the resume-ready artifact, not a notebook nobody can run.
Milestone unlocked: Python Foundations
You passed every exercise in the 7 Python fundamentals modules. Claim a verifiable Python Foundations certificate now, then keep going for the full one.
You finished. Claim your certificate.
You completed every exercise. Generate a verifiable Floati certificate with your name on it, free.
What learners say
Leave a review
Reviews are public. Floati stores only your name, your review, and a hashed IP (to block spam) -> no account, no email, no tracking.