AI & Prompt Engineering · Beginner
AI Fundamentals
Learn what modern AI actually does, how generative AI works at a conceptual level, and how to write prompts that get genuinely useful results.
- Units
- 4
- Lessons
- 20
- Practice questions
- 63
- Minutes
- ~300

Start learning today
Try every course free for 7 days. After that, this course is in Learnix Pro (KES 699/month).
Create free account Log inWhat you'll learn
Explain what AI and generative AI are, in plain terms
Write clear, specific prompts
Apply context, constraints and output formatting to prompts
Understand how applications talk to AI APIs
Understand what an AI agent is
How the lessons work
Clear explanations
Step-by-step lessons in plain language
69 in this course
Worked examples
Real code and examples you can copy and run
11 in this course
Quick checks
Test your understanding as you go
40 in this course
Fill the blank
Recall the key commands and syntax
20 in this course
Hands-on workspace
A practical task at the end of every lesson
20 in this course
Syllabus
-
1.1
What is AI, and What is Generative AI?
Modern AI systems learn patterns from huge amounts of data: generative AI is the subset that produces new content (text, images, code) rather than just classifying or predicting.
-
1.2
AI, Machine Learning, Deep Learning & Generative AI
Untangle the buzzwords: how AI, machine learning, deep learning and generative AI relate, and the three main ways machines learn.
-
1.3
What Does "Training a Model" Actually Mean?
Every LLM starts out as a blank slate of random numbers: "training" is the long, repetitive process of adjusting those numbers, one small correction at a time, until the model gets good at predicting text.
-
1.4
Data: The Fuel (and the Weak Spot) of AI
Models are only as good as their data. Learn about datasets, labels, training/test splits and how biased data becomes biased AI.
-
1.5
Tokens, Context Windows & Temperature
How language models actually read and write text, why long chats "forget", and what the settings in AI tools mean.
-
2.1
Prompt Engineering: The Basics
A prompt is the instruction you give an AI system, and the difference between a vague prompt and a specific one is often the difference between a useless answer and a great one.
-
2.2
Context, Constraints, and Output Format
Three specific levers turn a decent prompt into a great one: giving background the AI wouldn't otherwise have, boxing in the answer's shape, and specifying exactly how the output should look.
-
2.3
Brainstorming vs. Facts: Knowing Which Mode You're In
AI is at its best generating options, angles, and ideas, and at its riskiest when those same outputs get treated as verified facts. Knowing which mode you're in changes how you should read the answer.
-
2.4
AI Hallucinations: When Confident Answers Are Wrong
An AI can state something completely false with the exact same confident tone it uses for something true: learning to spot and reduce these "hallucinations" is one of the most important AI literacy skills there is.
-
2.5
An Introduction to AI Image Generation
Text-to-image models turn a written description into a picture that never existed before: the same "be specific" instinct from text prompting applies, with a few new levers unique to images.
-
3.1
Working with AI APIs (Conceptually)
An AI API lets your own application send a prompt and receive a generated response: the same request/response pattern as any other web API, with a few AI-specific details.
-
3.2
Calling an AI Model from Python
Send a prompt to a large language model from your own code, handle the response, and keep your API key safe.
-
3.3
Embeddings & Searching by Meaning
Turn text into lists of numbers that capture meaning, then find similar documents even when they share no words.
-
3.4
RAG: Grounding AI Answers in Your Own Documents
Retrieval-Augmented Generation lets an AI answer from your policies, manuals and FAQs, with sources, instead of guessing.
-
3.5
AI Agents & Automation
An AI agent doesn't just answer one question: it can take actions, check the results, and decide what to do next, in a loop, toward a goal.
-
4.1
Build Your First Model: Nearest Neighbours
Write a real machine-learning classifier in plain Python, k-nearest neighbours, and use it to make predictions.
-
4.2
Is the Model Any Good? Accuracy, Precision & Recall
Measure a model honestly with a test set, a confusion matrix, precision and recall, and spot overfitting.
-
4.3
Ethical Considerations: Bias, Over-Reliance, and When Not to Use AI
AI tools inherit the biases and gaps of the data they were trained on, can quietly erode a skill if leaned on too heavily, and simply aren't the right tool for every situation: knowing the limits matters as much as knowing the capabilities.
-
4.4
AI at Work in Kenya and Africa
Real uses of AI in agriculture, finance, health and public services across Kenya, and the local challenges that shape them.
-
4.5
Careers in AI & Keeping Up
The roles in AI (many need little maths), the skills employers want, and how to keep learning as the field changes fast.
Earn a verifiable certificate
Finish every lesson and pass the 20-question final exam (70% to pass). Each certificate has a unique number anyone can check online.