← All projects
Learning resources

Hugging Face Agents Course

A free online course that explains how AI agents work and teaches you to build your own.

What it does

This is the material for Hugging Face's free Agents Course. It starts with what AI agents are (AI that can plan and take actions using tools) and how the language models behind them work.

Later units teach three popular frameworks for building agents, smolagents, LlamaIndex and LangGraph, plus how to monitor and evaluate agents and use them to search documents. The course ends with a final project that is scored against a benchmark, and bonus units include agents that play Pokémon games.

Who it's for

Learners with basic Python and some knowledge of AI language models who want to build agents.

Can I use it without coding?

Yes. The lessons are free to read online; the exercises need basic Python. New to this? Start here.

Can I run it?

Cost
FreeNothing to pay or sign up for.
Runs on
Web browser
Computer
An ordinary computer is fine
API key
Not needed

Try it

  1. Sign up for the free course on the Hugging Face website.
  2. Work through the units in order, from the basics of agents to a final project.

Using Claude Code, Cursor or another AI coding assistant? Paste the prompt and it will walk you through the setup.New to this?

Before you install

  • Only download from the official GitHub page. Copies with similar names exist for many popular projects.
  • License (Apache-2.0): Permissive: free to use, change and share, including for business.
  • More on staying safe