AI Fundamentals — How Modern AI Works
A plain-language course for engineers, managers and anyone who works next to AI and wants to really understand it, not build it. What a model is and how a large language model produces an answer, why it sometimes gets things wrong, how embeddings and vector databases let it search your own documents (RAG), how tools and agents let it take actions, and how MCP connects it to real systems. It ends with the risks, how to choose a model, and a walk-through of a complete AI assistant from question to answer.
What you'll be able to do
- Explain AI, machine learning, deep learning and generative AI, and how they relate
- Describe how a large language model turns a prompt into an answer, token by token
- Say why models make things up, and which techniques reduce it
- Explain embeddings, vector databases and RAG with a simple picture
- Tell a chatbot, a tool-using assistant and an agent apart, and say what MCP adds
- Ask the right questions when choosing a model or reviewing an AI feature for risk
Before you start
None. No programming or maths needed.
How it works
Each lesson: plain-language idea → how it really works → hands-on. Each section ends with a cheat sheet & self-check.
Curriculum
Lessons marked “Read” are ready; the rest are on the way.
How models work
- 01AI, machine learning and LLMs: the mapThe terms, how they nest, and training versus inferenceRead →
- 02How a large language model worksTokens, next-token prediction, parameters and how a model is trainedRead →
- 03Prompts, context windows and settingsSystem prompt, context, tokens and cost, temperatureRead →
- 04Why models get things wrongHallucinations, knowledge cut-off, bias, and what reduces themRead →
- 📋Cheat sheet & self-checkEvery command from this section on one page, then 12 questions to check yourself.Open →
Giving AI your knowledge
- 05Embeddings: meaning as numbersHow text becomes a point in space, and why similar ideas land close togetherRead →
- 06Vector databasesSimilarity search, indexes, metadata filters, and the common productsRead →
- 07RAG: retrieval-augmented generationAnswer from your own documents: chunk, embed, retrieve, generate, citeRead →
- 📋Cheat sheet & self-checkEvery command from this section on one page, then 9 questions to check yourself.Open →
AI that takes action
- 08Tools and function callingHow a model asks your software to do something, and who actually does itRead →
- 09AgentsThe loop of think, act and observe; planning, memory and multi-agent systemsRead →
- 10MCP: connecting AI to systemsOne standard way to plug tools and data into any AI applicationRead →
- 📋Cheat sheet & self-checkEvery command from this section on one page, then 9 questions to check yourself.Open →
Using AI well
- 11Choosing and running a modelHosted or open-weight, size, cost, speed, privacy, fine-tuning versus RAGRead →
- 12Risks, guardrails and evaluationPrompt injection, data leaks, over-trust, and how to test an AI featureRead →
- 13Capstone: an AI assistant end to endFollow one question through a complete support assistantRead →
- 📋Cheat sheet & self-checkEvery command from this section on one page, then 9 questions to check yourself.Open →
Real-world scenarios
Work through each one: symptom → misleading signal → evidence → root cause → prevention.
A support bot told a customer about a refund rule that does not exist. Explain why, and what would have prevented it.
Users search the knowledge base for 'reset MFA' and get nothing, although the page exists. Where would you look?
An assistant that reads email forwarded a confidential file after reading a message. Name the attack and the fix.
This site is a public version of my personal engineering knowledge hub. It intentionally excludes confidential company information and internal operational details.