LibreAI / Dev Tools / agents-course
// devtools · huggingface/agents-course

agents-course

Hugging Face's free course on AI agents — smolagents, LangGraph and LlamaIndex, with a final benchmark

★ 33.3k stars⑂ 2.4k forksApache-2.0updated 2026-10
▦ visual — this project's README ships no embeddable screenshot,
so here's a placeholder. The guide below is complete regardless.
// project facts

Project facts

agents-course is an open-source dev tools project by huggingface (huggingface/agents-course on GitHub). It has 33,310 GitHub stars and 2,382 forks, is released under the Apache-2.0 license, and was last updated on GitHub on 6 October 2026.

GitHub stars
33,310
Forks
2,382
License
Apache-2.0
Last updated on GitHub
6 October 2026
Category
Dev Tools
Listing
Full install guide
// how it works

How it works

  1. Clarify your goal

    Decide what you want to achieve with agents-course and check the README on GitHub for requirements before installing.

  2. Get the code

    Clone the repository from GitHub (or take the packaged install route in step 3 if the README offers one).

  3. Install and configure

    Follow the project's documented install commands — the Run section below lists the exact ones — and add any required API keys or models.

  4. Run your first task

    Work through the README's quickstart example end to end, then adapt it to your own project or data.

// features

Why people love it

Four structured units

Units run from a welcome and agent fundamentals to frameworks and a final benchmarked assignment.

Framework coverage

Dedicated units on smolagents, LangGraph and LlamaIndex show three different ways to build agents.

Bonus fine-tuning unit

A bonus unit covers fine-tuning an LLM for function calling.

Free certification path

The course is free to join via the sign-up link in the README, with a final assignment to validate skills.

Hands-on exercises

Units include practical exercises building real agents, not just reading material.

Community contributions

The repo documents how to contribute fixes and even new units to the course.

Advertisement
// run it

Run it yourself

  1. Clone the repository

    Clone the course source to read units locally or explore the MDX files.

    git clone https://github.com/huggingface/agents-course.git
    cd agents-course
  2. Open the course online

    The actual course — with interactive exercises — lives on Hugging Face Learn; sign up free from the README link.

    # open https://hf.co/learn/agents-course and sign up (free)
  3. Work through Unit 1

    Start with the introduction to agents, then run the smolagents examples in the framework units.

    # follow Unit 1 at https://huggingface.co/learn/agents-course — see README for the unit table
// use cases

What you can build

Advertisement
// faq

Questions, answered

Who maintains agents-course?

agents-course is maintained by the huggingface organization/account on GitHub, together with open-source contributors, in the public repository huggingface/agents-course.

Is agents-course free to use?

Yes — the code is open source under the Apache-2.0 license. You can use, modify and redistribute it under that license's terms.

Does agents-course need a paid API key?

The course is free; some exercises call hosted models through Hugging Face, where a free account is enough for the course-scale usage described.

How does agents-course compare to paid agent courses / books?

This is a free, framework-hands-on course from the team behind smolagents and the Hub — lighter on theory than a textbook, stronger on runnable practice.

How do I get started with agents-course?

Clone the repository from GitHub, follow the install commands in the Run section (taken from the project's README), and complete the documented quickstart example before adapting it to your own use case.

// keep exploring

Similar tools

Dev Tools

datasets

Hugging Face's library for loading and processing datasets for AI models in one line

★ 22.0k starsApache-2.0
View guide →
Dev Tools

potpie

A context graph for the AI-native SDLC — so agents and humans share one map of the codebase.

★ 5.7k starsApache-2.0
View guide →
Dev Tools

SocratiCode

Enterprise-grade codebase intelligence for AI agents — hybrid semantic search over 40M+ LOC, locally.

★ 3.3k starsAGPL-3.0
View guide →
Dev Tools

CopilotKit

The frontend stack for AI agents and generative UI in React, Angular, mobile and chat apps

★ 37.8k starsMIT
View guide →
Dev Tools

rea

Reverse engineer anything with agents - from app behavior down to native binaries

★ 21.4k starsMIT
View guide →
Dev Tools

WrenAI

GenBI for AI agents - governed text-to-SQL and dashboards through an open context layer

★ 17.8k starsNOASSERTION
View guide →
// alternatives

Alternatives in Dev Tools

The most-starred other Dev Tools projects in the LibreAI catalogue — the realistic shortlist if agents-course is not the right fit.

Get agents-course

Free and open — grab the source, star the repo, and start creating.