Machine-translated draft by XenLook, under review. The Korean edition is the reference.
AI Engineer Course
From using models to building with them
Follow the stages in order. The first part, “Building LLM apps”, starts with prompts and goes on to structured outputs and context engineering. You can read without signing in, and the lesson code runs inside this browser. Further stages open one by one as their review finishes.
Stage 1 · Building LLM apps
Prompt Engineering — Techniques and Patterns
Role, context, constraints, output format. Build patterns like few-shot, chain of thought and templates in code, and run the same test across several models.
About 90 min5 questionsPython exerciseRead
Stage 2 · Building LLM apps
Structured Outputs — JSON, Schema Validation, Constrained Decoding
Get an LLM's answer as JSON your app can use. Build a schema validator, constrained decoding, retries that feed the error back, and a check that catches made-up values, all in code.
About 90 min5 questionsPython exerciseRead
Stage 3 · Building LLM apps
Embeddings — Turning Meaning into Numbers
Turn the meaning of text into vectors so search finds it even when the words differ. Build chunking, similarity, a search engine with performance measurement, dimension reduction and binary codes in code.
About 75 min5 questionsPython exerciseRead
Stage 4 · Building LLM apps
Context Engineering — Window, Budget, Memory, Retrieval
Split the window a model reads at once into a budget. Build token counting, a budget that never cuts the question, conversation summaries that keep key facts, tool and document selection, and placement in code, then compare with “stuff everything in”.
About 90 min5 questionsPython exerciseRead
This course is XenLook's English translation and revision of Rohit Ghumare's AI Engineering from Scratch (MIT License), based on the Korean edition we corrected against the original. Source commit: 8fec9cc19e.
Full MIT License text
MIT License
Copyright (c) 2026 Rohit Ghumare
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.