Learn how to build AI agents that reason and take actions using language models.
Build agents that search the web, call APIs, or write and run code automatically.
Get hands-on experience with smolagents, LlamaIndex, and LangGraph frameworks.
Create production-ready agent workflows and benchmark your own agent for certification.
This repository contains the Hugging Face Agents Course, a free, structured online curriculum that teaches you how to build AI agents from the ground up. An AI agent is a program that uses a large language model (LLM, the kind of AI behind tools like ChatGPT) to reason through problems and take actions, like searching the web, calling APIs, or writing and running code. The course is divided into four units. It starts with the basics of what agents are and how LLMs work, then moves into hands-on coverage of three popular frameworks for building agents: smolagents (a lightweight Hugging Face library), LlamaIndex (for building agents that work with your own data), and LangGraph (for building more production-ready, controllable agent workflows). There are also bonus units on fine-tuning models, tracing and evaluating agents, and even using agents in games. The final unit involves building and benchmarking your own agent for certification. It requires basic Python knowledge and some familiarity with LLMs. The course material is written in MDX (a format that mixes text and interactive components) and is freely available at the Hugging Face learning platform. You would use this course if you are a developer or curious non-technical person wanting to understand how AI agents work and how to build them using today's most common tools, without starting from scratch.
Generated 2026-05-18 · Model: sonnet-4-6 · Verify against the repo before relying on details.