Free to read · No registration · Learn at your own pace
START HERE
How do you learn AI?
Learn Python, understand how models are evaluated, then explore language models, prompting, retrieval and tools. Apply each concept in a small project before adding deployment and monitoring.
These are introductory lessons and practice tasks. New to coding? Start at stage 01. Already comfortable with Python? Jump to LLM fundamentals. For a no-code first exercise, try prompt engineering.
THE AI ENGINEER ROADMAP
Choose your next step.
Each stage includes key topics, a guided exercise and a checkpoint. Open a lesson to get started.
01
Beginner
Python foundations
Start with the language behind many AI applications.
Create a file called word_count.py. A string stores text; split() separates it into words; a dictionary stores each word and its count.
Run the example with python word_count.py in your terminal. The result should be {'learn': 2, 'ai': 1}.
Replace the sample text with your own sentence. Then move the counting logic into a function that accepts text and returns the dictionary.
text = 'Learn AI learn'
counts = {}
for word in text.lower().split():
counts[word] = counts.get(word, 0) + 1
print(counts)
Your checkpoint You can explain the loop and reuse the function on a new sentence. This simple example keeps punctuation attached to words; try improving that next.
02
Beginner
Machine learning basics
Learn how models discover patterns in examples.
Explore: Math and statistics, NumPy, pandas, scikit-learn, classification, regression, preprocessing and evaluation.
Try the lesson: Design your first prediction experiment
Choose a small labeled dataset. Each row is an example, input columns are features, and the value you want to predict is the target.
Separate training examples from test examples before fitting preprocessing or a model. Use training data to learn patterns and untouched test data to evaluate them.
Write down a simple baseline, such as always predicting the most common class. Compare your model against it and inspect the mistakes, not just one score.
Your checkpoint You can distinguish classification (predicting a category) from regression (predicting a number), and explain why testing on training examples is misleading.
03
Foundation
LLM fundamentals
Understand what a language model does before building with one.
Explore: Tokens, transformers, context windows, inference, fine-tuning, model limitations and API concepts.
Try the lesson: Observe how context changes an answer
Ask an available language model to explain a short invented term without giving a definition. Record whether it admits uncertainty or invents an answer.
Provide your own definition in the next prompt and ask the same question. Compare the answer with the definition you supplied.
Identify which claims are supported by your text. A fluent answer is not evidence of accuracy: check factual claims against reliable sources.
Your checkpoint You can explain that tokens are units of text processed by a model and that the context window limits how much information it can consider at once.
04
Beginner
Prompt engineering
Give clear tasks, useful context and a checkable output format.
Explore: Instructions, examples, zero-shot and few-shot prompts, roles, prompt chaining and output validation.
Try the lesson: Turn a vague request into a useful prompt
Begin with a vague request such as “summarize this.” Then specify the reader, source material and desired format.
Try the template below with a short article you can verify. Add one example of the desired answer if the format is inconsistent.
Check every bullet against the source. Compare the revised prompt with the original on three different inputs instead of judging a single answer.
Task: Summarize the source for a beginner.
Source: [paste the text here]
Format: Three bullets, each under 20 words.
Use only facts in the source.
If information is missing, say it is not provided.
Your checkpoint You have a reusable prompt and a checklist for factual accuracy, format and relevance.
05
Intermediate
Retrieval-augmented generation (RAG)
Retrieve relevant material and use it to ground an answer.
Try the lesson: Prototype a document question-answer workflow
Choose three short documents you have permission to use. Split them into passages and attach a document name and passage number to each.
For a question, first select the passages that actually contain evidence. Paste those passages into a prompt and request an answer with passage references. This manual prototype lets you test the workflow before adding a search index.
Test both answerable and unanswerable questions. Record whether the selected passages are relevant, the answer is supported and the cited passages contain the claim.
Your checkpoint Your prototype answers from supplied evidence and says when the documents do not contain an answer. Automated RAG adds retrieval; it does not guarantee factual answers.
06
Intermediate
AI agents and tools
Connect model decisions to bounded actions in software.
Explore: Tool APIs, function calling, planning, memory, agent frameworks and multi-agent concepts.
Try the lesson: Design a read-only tool
Define a tool named lookup_order with one required argument, order_id. Write down its input type and the fields it is allowed to return.
Use mock orders to test a valid ID, an unknown ID and a malformed argument. Validate the arguments in application code before calling the tool.
Add a maximum number of tool calls and a clear failure response. Require a separate explicit confirmation before any later extension can cancel or modify orders.
Your checkpoint You can explain the difference between a model requesting a tool call and your application validating and executing it.
07
Intermediate
Deployment and cloud
Make an AI application accessible and maintainable.
Try the lesson: Prepare an application for deployment
List the runtime, dependencies, start command and configuration needed to run your project. Keep credentials in server-side configuration, outside public files and source control.
Run the application in a clean environment. Add a health endpoint that reports readiness without revealing secrets or user data.
Test missing configuration, a failed upstream request and a slow response. Document how to roll back a release before making the application public.
Your checkpoint Someone else can follow your setup instructions, start the app and diagnose a failed request.
08
Advanced
LLMOps and MLOps
Measure quality and track changes after your app works.
Explore: Model and prompt versions, evaluation datasets, observability, latency, experiment tracking and cost.
Try the lesson: Build a small regression evaluation
Save ten representative inputs, expected properties and known failure cases. Include a question with insufficient evidence and an unexpected input format.
Run the same inputs before and after a prompt or model change. Record factual support, formatting errors, response time and usage where available.
Decide which failures block a release. Keep the previous prompt and configuration so you can revert a change that makes the application worse.
Your checkpoint You have a repeatable comparison that shows whether a change improved your application on the cases you tested.
09
Practice
Projects and portfolio
Turn isolated exercises into a project others can understand.
Choose a narrow problem, such as answering questions about a public product manual. Define the intended user and the questions the assistant should handle.
Combine the RAG prototype with a simple interface. Show source passages alongside answers and provide a useful response when information is missing.
Publish a README with setup instructions, example questions, evaluation results and limitations. Use sample data in public demos and remove credentials before sharing code.
Your checkpoint Your portfolio shows a working example, reproducible setup and evidence of what the project can and cannot do.
10
Next steps
Career growth and continued learning
Explain your work clearly and keep improving through practice.
Explore: Project write-ups, interviews, system design, open source and continuous learning.
Try the lesson: Write a project case study
Describe the user problem, your approach and the result. Include a diagram or short explanation of how data moves through your application.
Discuss one tradeoff, one failed approach and one measurable improvement. Avoid claiming results you did not measure.
Ask a peer to run your project from the README. Use the feedback to improve the instructions and choose the next skill to practice.
Your checkpoint You can discuss your design choices and demonstrate your work. Completing this roadmap alone does not guarantee a job.
PUT THE PIECES TOGETHER
Your first portfolio project: a document Q&A assistant.
Start with three documents, answer questions with source references, and test what happens when an answer is missing. Then add a simple interface and write up what you learned.
Start with basic Python, then learn how machine learning models are trained and evaluated. Continue with language models and prompting before building a small document assistant. Follow the ten stages below at your own pace.
Are these AI tutorials free?
All introductory lessons and exercises on this page are free to read without registration. External model APIs, hosting services and some tools may charge for usage; check their terms before using them.
Do I need coding experience to learn AI?
You can practice prompting without coding. Building and deploying AI applications usually requires programming, so the engineering path starts with Python foundations.
What is the difference between RAG and fine-tuning?
RAG retrieves information and supplies it as context when generating an answer. Fine-tuning changes model parameters through additional training. They address different needs and can be combined.
How long does it take to become an AI engineer?
There is no fixed timeline. Your starting skills, available practice time and project scope all matter. Use the exercise checkpoints to judge progress rather than a promised completion date.
Will I receive a certificate?
This is a self-directed tutorial collection, not an accredited course or certification program. Use the exercises to build demonstrable projects.