The best free way to learn agents from the framework level up. You build with smolagents, LangGraph and LlamaIndex, which gives you a feel for the trade-offs before you commit to one. It is a course certificate rather than a proctored exam, so treat it as a learning path that happens to end in proof.
Take it if
You want a real, hands-on grounding in agents at no cost.
Skip it if
You need a proctored credential. Nothing here is supervised.
Before you start
Check yourself against this list first. If something is missing, close that gap before you start.
Basic PythonHugging Face lists this.
Basic LLM knowledgeKnow what a prompt and a token are.
Go for the certificate of completion. The fundamentals one only needs Unit 1.
Do not skip the observability and evaluation bonus unit. Evaluation is a full domain on CCAR-P (16%) and GH-600 (15–20%).
Compare the three frameworks by building the same small agent in two of them.
Everything on one mapEvery topic and key idea in this certification.
mindmap
root((Agents Course))
How an agent works
Agent
Tool
Thought, Action, Observation
ReAct
Stop and parse
Agent types and frameworks
JSON agent
Code agent
Function-calling agent
smolagents
LlamaIndex
LangGraph
Use cases and the final challenge
Agentic RAG
GAIA benchmark
Passing score
Bonus observing and evaluating agents
Function calling
Instrumentation
Metrics
Online evaluation
Offline evaluation
Lesson 1 of 4
How an agent works
Every framework in this course wraps the same loop. Once you can write that loop by hand, the frameworks stop feeling like magic.
Agent
A system that uses an AI model to reach a goal by acting on its environment, usually through tools. The model does the reasoning and the tools do the work.
Tool
A function with a clear job, a text description and typed arguments. The descriptions usually reach the model through the system prompt.
Thought, Action, Observation
The model decides the next step, the agent calls a tool, and the result goes back into the prompt. A while loop repeats this until the goal is met.
ReAct
A prompting technique that makes the model reason step by step and mix tool calls in between those steps.
Stop and parse
The model writes its action in a fixed format and stops. A parser outside the model reads that output, picks the tool and pulls out the arguments.
The loop inside every agentThe loop ends when the model decides the goal is met.
flowchart LR
A["Goal"] --> B["Thought: what next?"]
B --> C["Action: call a tool"]
C --> D["Observation: read the result"]
D --> B
B --> E["Final answer"]
Common trap
Thinking the LLM runs tools. It only produces text that asks for a call. Your agent code parses that text and runs the function, so a parsing failure is your bug to fix.
Try it yourself
Write one Python function, describe it in a system prompt, parse the JSON action the model returns, run the function and feed the result back. Use no framework.
The course teaches three frameworks so you can see the trade-offs. Your real decision is which one to use, and whether you need one at all.
JSON agent
The action comes out as JSON, and a parser turns it into a tool call.
Code agent
The action is a code block that runs outside the model. Loops and conditions are easy to express, but running generated code carries a security risk.
Function-calling agent
A kind of JSON agent, fine-tuned to produce a new message for each action.
smolagents
The agent framework built by Hugging Face.
LlamaIndex
End-to-end tooling for shipping agents that work over your own context.
LangGraph
A framework for stateful orchestration of agents.
Common trap
Starting with a framework. The course says plainly that one is not always needed, and that a predefined workflow is often enough. Add one when the flow gets complex, such as several agents working together.
Try it yourself
Build the same small agent in two of the frameworks, then write down which one you would keep and why.
This is where you earn the certificate of completion. You need one use case assignment and a passing score on the final challenge.
Agentic RAG
The Unit 3 use case wraps retrieval in a tool, so an agent can answer questions about a guest list. You can use any framework from the course.
GAIA benchmark
The final challenge scores your agent on a subset of the GAIA benchmark.
Passing score
You need 30% or higher to earn the certificate. A student leaderboard shows how your score compares.
Common trap
Expecting another guided unit. Unit 4 warns that it needs more advanced coding and gives less explicit guidance, so leave more time for it than the earlier units.
Try it yourself
Point the Agentic RAG example at your own documents, then ask it something the documents cannot answer and see how it responds.
An agent can take a different path on every run, so you need traces to see why it failed. This is the unit that carries over most directly to production work.
Function calling
The first bonus unit fine-tunes an LLM so it produces function calls.
Instrumentation
The observability unit adds tracing to a smolagents agent through OpenTelemetry.
Metrics
Track token usage for cost, latency and error traces.
Online evaluation
Judge live runs with user feedback and an LLM acting as judge.
Offline evaluation
Run the agent against a benchmark dataset such as GSM8K, so you can compare versions on the same questions.
Common trap
Relying on either side alone. Offline benchmarks miss what real users ask, and live feedback only tells you after a change has shipped.
Try it yourself
Add tracing to the agent you built, run it ten times on one question, and compare the token use and steps between runs.
Exam facts checked on October 31, 2026 against AI Agents Course introduction. Lessons are our own explanations, so use the official docs as the final word, and confirm price and dates before booking.