# Technical Documentation: huggingface/agents-course

> ℹ️ **Provenance:** Multi-Tier Ingestion · [CodeWiki Reference](https://codewiki.google/github.com/huggingface/agents-course)

### Overview (`README.md`)

# <a href="https://hf.co/learn/agents-course" target="_blank">The Hugging Face Agents Course</a>

If you like the course, **don't hesitate to ⭐ star this repository**. This helps us to **make the course more visible 🤗**.

<img src="https://huggingface.co/datasets/agents-course/course-images/resolve/main/en/communication/please_star.gif" alt="Star the repo" />

## Content

The course is divided into 4 units. These will take you from **the basics of agents to a final assignment with a benchmark**.

Sign up here (it's free) 👉 <a href="https://bit.ly/hf-learn-agents" target="_blank">https://bit.ly/hf-learn-agents</a>

You can access the course here 👉 <a href="https://hf.co/learn/agents-course" target="_blank">https://hf.co/learn/agents-course</a>

| Unit    | Topic                                                                                                          | Description                                                                                                                            |
|---------|----------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------|
| 0       | [Welcome to the Course](https://huggingface.co/learn/agents-course/en/unit0/introduction)                      | Welcome, guidelines, necessary tools, and course overview.                                                                             |
| 1       | [Introduction to Agents](https://huggingface.co/learn/agents-course/en/unit1/introduction)                     | Definition of agents, LLMs, model family tree, and special tokens.                                                                     |
| 1 Bonus | [Fine-tuning an LLM for Function-calling](https://huggingface.co/learn/agents-course/bonus-unit1/introduction) | Learn how to fine-tune an LLM for Function-Calling                                                                                     |
| 2       | [Frameworks for AI Agents](https://huggingface.co/learn/agents-course/unit2/introduction)                      | Overview of `smolagents`, `LangGraph` and `LlamaIndex`.                                                                                |
| 2.1     | [The Smolagents Framework](https://huggingface.co/learn/agents-course/unit2/smolagents/introduction)           | Learn how to build effective agents using the `smolagents` library, a lightweight framework for creating capable AI agents.            |
| 2.2     | [The LlamaIndex Framework](https://huggingface.co/learn/agents-course/unit2/llama-index/introduction)          | Learn how to build LLM-powered agents over your data using indexes and workflows using the `LlamaIndex` toolkit.                       |
| 2.3     | [The LangGraph Framework](https://huggingface.co/learn/agents-course/unit2/langgraph/introduction)             | Learn how to build production-ready applications using the `LangGraph` framework giving you control tools over the flow of your agent. |
| 2 Bonus | [Observability and Evaluation](https://huggingface.co/learn/agents-course/bonus-unit2/introduction)            | Learn how to trace and evaluate your agents.                                                                                           |
| 3       | [Use Case for Agentic RAG](https://huggingface.co/learn/agents-course/unit3/agentic-rag/introduction)          | Learn how to use Agentic RAG to help agents respond to different use cases using various frameworks.                                                                   |
| 4       | [Final Project - Create, Test and Certify Your Agent](https://huggingface.co/learn/agents-course/unit4/introduction)          | Automated evaluation of agents and leaderboard with student results.                                                                   |
| 3 Bonus | [Agents in Games with Pokemon](https://huggingface.co/learn/agents-course/bonus-unit3/introduction)            | Explore the exciting intersection of AI Agents and games.        |
                                                                                   
## Prerequisites

- Basic knowledge of Python
- Basic knowledge of LLMs

## Contribution Guidelines

If you want to contribute to this course, you're welcome to do so. Feel free to open an issue or join the discussion in the [Discord](https://discord.gg/UrrTSsSyjb). For specific contributions, here are some guidelines:

### Small typo and grammar fixes

If you find a small typo or grammar mistake, please fix it yourself and submit a pull request. This is very helpful for students.

### New unit

If you want to add a new unit, **please create an issue in the repository, describe the unit, and why it should be added**. We will discuss it and if it's a good addition, we can collaborate on it.

## Citing the project

To cite this repository in publications:

```bibtex
@misc{agents-course,
  author = {Burtenshaw, Ben and Thomas, Joffrey and Simonini, Thomas and Paniego, Sergio},
  title = {The Hugging Face Agents Course},
  year = {2025},
  howpublished = {\url{https://github.com/huggingface/agents-course}},
  note = {GitHub repository},
}
```

---

### Overview (`units/en/unit1/README.md`)

# Table of Contents

You can access Unit 1 on hf.co/learn 👉 <a href="https://hf.co/learn/agents-course/unit1/introduction">here</a>

---

### Overview (`units/es/unit1/README.md`)

# Tabla de Contenidos

Puedes acceder a la Unidad 1 en hf.co/learn 👉 <a href="https://hf.co/learn/agents-course/unit1/introduction">aquí</a>

---

### Overview (`units/fr/unit1/README.md`)

# Table des matières

Vous pouvez accéder à l'Unité 1 sur hf.co/learn 👉 <a href="https://hf.co/learn/agents-course/unit1/introduction">ici</a>

---

### Overview (`units/ko/unit1/README.md`)

# 컨텐츠 목록

👉 <a href="https://hf.co/learn/agents-course/unit1/introduction">여기에서</a> Unit1을 접속하실 수 있습니다.

---

### Overview (`units/ru-RU/unit1/README.md`)

# Table of Contents

You can access Unit 1 on hf.co/learn 👉 <a href="https://hf.co/learn/agents-course/unit1/introduction">here</a>

---

### Overview (`units/zh-CN/unit1/README.md`)

# 目录

您可以在 hf.co/learn 上访问第 1 单元 👉 <a href="https://hf.co/learn/agents-course/unit1/introduction">此处</a>

---

### Overview (`units/en/unit2/llama-index/README.md`)

# Table of Contents

This LlamaIndex frame outline is part of unit 2 of the course. You can access the unit 2 about LlamaIndex on hf.co/learn 👉 <a href="https://hf.co/learn/agents-course/unit2/llama-index/introduction">here</a>

| Title | Description |
| --- | --- |
| [Introduction](introduction.mdx) | Introduction to LlamaIndex |
| [LlamaHub](llama-hub.mdx) | LlamaHub: a registry of integrations, agents and tools |
| [Components](components.mdx) | Components: the building blocks of workflows |
| [Tools](tools.mdx) | Tools: how to build tools in LlamaIndex |
| [Quiz 1](quiz1.mdx) | Quiz 1 |
| [Agents](agents.mdx) | Agents: how to build agents in LlamaIndex |
| [Workflows](workflows.mdx) | Workflows: a sequence of steps, events made of components that are executed in order |
| [Quiz 2](quiz2.mdx) | Quiz 2 |
| [Conclusion](conclusion.mdx) | Conclusion |

---

### Overview (`units/es/unit2/llama-index/README.md`)

# Índice de Contenidos

Este marco de trabajo de LlamaIndex es parte de la unidad 2 del curso. Puedes acceder a la unidad 2 sobre LlamaIndex en hf.co/learn  <a href="https://hf.co/learn/agents-course/unit2/llama-index/introduction">aquí</a>

| Título | Descripción |
| --- | --- |
| [Introducción](introduction.mdx) | Introducción a LlamaIndex |
| [LlamaHub](llama-hub.mdx) | LlamaHub: un registro de integraciones, agentes y herramientas |
| [Componentes](components.mdx) | Componentes: los bloques de construcción de workflows |
| [Herramientas](tools.mdx) | Herramientas: cómo construir herramientas en LlamaIndex |
| [Cuestionario 1](quiz1.mdx) | Cuestionario 1 |
| [Agentes](agents.mdx) | Agentes: cómo construir agentes en LlamaIndex |
| [Flujos de Trabajo](workflows.mdx) | Flujos de Trabajo: una secuencia de pasos, eventos compuestos por componentes que se ejecutan en orden |
| [Cuestionario 2](quiz2.mdx) | Cuestionario 2 |
| [Conclusión](conclusion.mdx) | Conclusión |

---

### Overview (`units/fr/unit2/llama-index/README.md`)

# Table des matières

Ce plan de chapitre LlamaIndex fait partie de l'unité 2 du cours. Vous pouvez accéder à l'unité 2 sur LlamaIndex sur hf.co/learn 👉 <a href="https://hf.co/learn/agents-course/unit2/llama-index/introduction">ici</a>

| Titre | Description |
| --- | --- |
| [Introduction](introduction.mdx) | Introduction à LlamaIndex |
| [LlamaHub](llama-hub.mdx) | LlamaHub : un registre d'intégrations, d'agents et de tools |
| [Components](components.mdx) | Components : les blocs de construction des workflows |
| [Tools](tools.mdx) | Tools : comment construire des tools dans LlamaIndex |
| [Quiz 1](quiz1.mdx) | Quiz 1 |
| [Agents](agents.mdx) | Agents : comment construire des agents dans LlamaIndex |
| [Workflows](workflows.mdx) | Workflows : une séquence d'étapes, d'événements composés de components qui sont exécutés dans l'ordre |
| [Quiz 2](quiz2.mdx) | Quiz 2 |
| [Conclusion](conclusion.mdx) | Conclusion |

---

### Overview (`units/ko/unit2/llama-index/README.md`)

# 목차

이 LlamaIndex 프레임 개요는 강의 2단원의 일부입니다. hf.co/learn에서 LlamaIndex에 대한 2단원에 접근할 수 있습니다 👉 <a href="https://hf.co/learn/agents-course/unit2/llama-index/introduction">여기</a>

| 제목 | 설명 |
| --- | --- |
| [소개](introduction.mdx) | LlamaIndex 소개 |
| [LlamaHub](llama-hub.mdx) | LlamaHub: 통합, 에이전트, 툴의 레지스트리 |
| [구성 요소](components.mdx) | 구성 요소: 워크플로우의 빌딩 블록 |
| [툴](tools.mdx) | 툴: LlamaIndex에서 툴을 구축하는 방법 |
| [퀴즈 1](quiz1.mdx) | 퀴즈 1 |
| [에이전트](agents.mdx) | 에이전트: LlamaIndex에서 에이전트를 구축하는 방법 |
| [워크플로우](workflows.mdx) | 워크플로우: 순서대로 실행되는 구성 요소로 만들어진 단계, 이벤트의 시퀀스 |
| [퀴즈 2](quiz2.mdx) | 퀴즈 2 |
| [결론](conclusion.mdx) | 결론 |

---

### Overview (`units/zh-CN/unit2/llama-index/README.md`)

# 目录

此 LlamaIndex 框架大纲是课程第 2 单元的一部分。您可以在 hf.co/learn 上访问有关 LlamaIndex 的第 2 单元 👉 <a href="https://hf.co/learn/agents-course/unit2/llama-index/introduction">这里</a>

| 标题                            | 描述                                                                          |
| -------------------------------- | ------------------------------------------------------------------------------------ |
| [介绍](introduction.mdx) | LlamaIndex 简介                                                                    |
| [LlamaHub](llama-hub.mdx)        | LlamaHub：集成、智能体和工具注册表                              |
| [组件](components.mdx)     |  组件：工作流的构件                                         |
| [工具](tools.mdx)               |  工具：如何在 LlamaIndex 中构建工具                                                       |
| [测验 1](quiz1.mdx)              | 测验 1                                                                               |
| [智能体](agents.mdx)             | 智能体：如何在 LlamaIndex 中建立智能体                                            |
| [工作流](workflows.mdx)       | 工作流：由按顺序执行的组件组成的一系列步骤和事件 |
| [测验  2](quiz2.mdx)              | 测验 2                                                                               |
| [结论](conclusion.mdx)     | 结论                                                                           |

---

--- METRICS ---
- Files Extracted: 12
- Estimated Token Budget: ~2846 tokens
- Canonical Reference: https://codewiki.google/github.com/huggingface/agents-course
