aiml

About aiml

AI engineering courses with runnable code

aiml.sh teaches LLMs, AI agents, retrieval and evals with working code. Understand the concept, follow one concrete example, then inspect the implementation and test where it fails.

Arjun Prabhulal writes aiml.sh. He also publishes hands-on guides on Google ADK, MCP and agent systems at arjunprabhulal.com.

Free to read, with no account required.

Choose your starting point

Each course teaches one part of an AI application in order: what you'll learn, its duration and prerequisites, then the lessons.

Start

New to LLMs?

Begin with the first AI Fundamentals lesson, Run inference with a local LLM: run a local model and see what a request contains.

Start the first lesson

Implement

Already write Python?

Choose one agent framework. Both courses build tools, state, context limits and human approval.

Next

Follow the learning path

After the basics: an agent framework, then MCP, RAG and LLM Evals, in that order.

View the learning path

What to expect from a lesson lab

Each lab starts from a concrete problem and an input/output contract. The code, diagrams and examples describe the same implementation.

Reproduce the behavior
Use the supplied code, setup commands, inputs and expected output. Change an input and compare what happens with your prediction.
Inspect the failures
Run the failure tests and follow the primary references. Measurements apply to the workload and execution mode in the linked run record.

Read and practice at your pace

Courses, lessons and labs are free. Running an example may require your own hardware or an external service; check its requirements first.

Saved and completed lessons stay in this browser and do not sync between devices. Find them in My learning.

aiml.sh counts page visits and interaction and engagement events (navigation and control clicks, sections reached, visible active-time estimates, completion markers, code copies, download clicks and use of the Share button) with Umami running on its own server. It also records which site sent a visit (only the site, such as google.com, never the page or search) and how fast each page loaded. It uses no analytics cookies or account identifiers. Temporary tab storage deduplicates reading milestones and section views; it expires for analytics purposes after 30 minutes without activity. Links from the Share button carry a fixed tag that names only the share option, such as LinkedIn, so visits from shared links can be counted; it never names who shared. Anonymous identifiers estimate visitors; counts do not prove that someone read or understood a lesson. The tracker does not send form text, quiz answer values, code contents, click coordinates or your saved reading progress. Preview sites and detected browser automation are excluded. If your browser sends Do Not Track, nothing is counted.

Related sites

whatisai.fyi provides short definitions and sourced explanations. aiml focuses on implementation, system boundaries and failure behavior. Follow new lessons via RSS.

Guides by Arjun Prabhulal

Selected hands-on guides at arjunprabhulal.com: