# Agents-Course ## Docs - [Conclusion](https://huggingface.co/learn/agents-course/unit4/conclusion.md) - [What is GAIA?](https://huggingface.co/learn/agents-course/unit4/what-is-gaia.md) - [And now? What topics I should learn?](https://huggingface.co/learn/agents-course/unit4/additional-readings.md) - [Welcome to the final Unit [[introduction]]](https://huggingface.co/learn/agents-course/unit4/introduction.md) - [Claim Your Certificate 🎓](https://huggingface.co/learn/agents-course/unit4/get-your-certificate.md) - [Hands-On](https://huggingface.co/learn/agents-course/unit4/hands-on.md) - [Quiz: Evaluating AI Agents](https://huggingface.co/learn/agents-course/bonus-unit2/quiz.md) - [AI Agent Observability and Evaluation](https://huggingface.co/learn/agents-course/bonus-unit2/what-is-agent-observability-and-evaluation.md) - [AI Agent Observability & Evaluation](https://huggingface.co/learn/agents-course/bonus-unit2/introduction.md) - [Bonus Unit 2: Observability and Evaluation of Agents](https://huggingface.co/learn/agents-course/bonus-unit2/monitoring-and-evaluating-agents-notebook.md) - [Live 1: How the Course Works and First Q&A](https://huggingface.co/learn/agents-course/communication/live1.md) - [Conclusion](https://huggingface.co/learn/agents-course/bonus-unit3/conclusion.md) - [Build Your Own Pokémon Battle Agent](https://huggingface.co/learn/agents-course/bonus-unit3/building_your_pokemon_agent.md) - [From LLMs to AI Agents](https://huggingface.co/learn/agents-course/bonus-unit3/from-llm-to-agents.md) - [Launching Your Pokémon Battle Agent](https://huggingface.co/learn/agents-course/bonus-unit3/launching_agent_battle.md) - [Introduction](https://huggingface.co/learn/agents-course/bonus-unit3/introduction.md) - [The State of the Art in Using LLMs in Games](https://huggingface.co/learn/agents-course/bonus-unit3/state-of-art.md) - [Conclusion [[conclusion]]](https://huggingface.co/learn/agents-course/bonus-unit1/conclusion.md) - [What is Function Calling?](https://huggingface.co/learn/agents-course/bonus-unit1/what-is-function-calling.md) - [Let's Fine-Tune Your Model for Function-Calling](https://huggingface.co/learn/agents-course/bonus-unit1/fine-tuning.md) - [Introduction](https://huggingface.co/learn/agents-course/bonus-unit1/introduction.md) - [Conclusion [[conclusion]]](https://huggingface.co/learn/agents-course/unit1/conclusion.md) - [Observe: Integrating Feedback to Reflect and Adapt](https://huggingface.co/learn/agents-course/unit1/observations.md) - [Q1: What is an Agent?](https://huggingface.co/learn/agents-course/unit1/quiz1.md) - [Quick Self-Check (ungraded) [[quiz2]]](https://huggingface.co/learn/agents-course/unit1/quiz2.md) - [What are LLMs?](https://huggingface.co/learn/agents-course/unit1/what-are-llms.md) - [Messages and Special Tokens](https://huggingface.co/learn/agents-course/unit1/messages-and-special-tokens.md) - [Unit 1 Quiz](https://huggingface.co/learn/agents-course/unit1/final-quiz.md) - [Understanding AI Agents through the Thought-Action-Observation Cycle](https://huggingface.co/learn/agents-course/unit1/agent-steps-and-structure.md) - [Introduction to Agents](https://huggingface.co/learn/agents-course/unit1/introduction.md) - [Let's Create Our First Agent Using smolagents](https://huggingface.co/learn/agents-course/unit1/tutorial.md) - [Dummy Agent Library](https://huggingface.co/learn/agents-course/unit1/dummy-agent-library.md) - [Table of Contents](https://huggingface.co/learn/agents-course/unit1/README.md) - [What are Tools?](https://huggingface.co/learn/agents-course/unit1/tools.md) - [Actions: Enabling the Agent to Engage with Its Environment](https://huggingface.co/learn/agents-course/unit1/actions.md) - [What is an Agent?](https://huggingface.co/learn/agents-course/unit1/what-are-agents.md) - [Thought: Internal Reasoning and the ReAct Approach](https://huggingface.co/learn/agents-course/unit1/thoughts.md) - [Readme](https://huggingface.co/learn/agents-course/unit3/README.md) - [Creating a RAG Tool for Guest Stories](https://huggingface.co/learn/agents-course/unit3/agentic-rag/invitees.md) - [Conclusion](https://huggingface.co/learn/agents-course/unit3/agentic-rag/conclusion.md) - [Agentic Retrieval Augmented Generation (RAG)](https://huggingface.co/learn/agents-course/unit3/agentic-rag/agentic-rag.md) - [Introduction to Use Case for Agentic RAG](https://huggingface.co/learn/agents-course/unit3/agentic-rag/introduction.md) - [Building and Integrating Tools for Your Agent](https://huggingface.co/learn/agents-course/unit3/agentic-rag/tools.md) - [Creating Your Gala Agent](https://huggingface.co/learn/agents-course/unit3/agentic-rag/agent.md) - [Onboarding: Your First Steps ⛵](https://huggingface.co/learn/agents-course/unit0/onboarding.md) - [Welcome to the 🤗 AI Agents Course [[introduction]]](https://huggingface.co/learn/agents-course/unit0/introduction.md) - [(Optional) Discord 101 [[discord-101]]](https://huggingface.co/learn/agents-course/unit0/discord101.md) - [Introduction to Agentic Frameworks](https://huggingface.co/learn/agents-course/unit2/introduction.md) - [Conclusion](https://huggingface.co/learn/agents-course/unit2/langgraph/conclusion.md) - [What is `LangGraph`? [[what-is-langgraph]]](https://huggingface.co/learn/agents-course/unit2/langgraph/when_to_use_langgraph.md) - [Test Your Understanding of LangGraph](https://huggingface.co/learn/agents-course/unit2/langgraph/quiz1.md) - [Document Analysis Graph](https://huggingface.co/learn/agents-course/unit2/langgraph/document_analysis_agent.md) - [Introduction to `LangGraph`](https://huggingface.co/learn/agents-course/unit2/langgraph/introduction.md) - [Building Blocks of LangGraph](https://huggingface.co/learn/agents-course/unit2/langgraph/building_blocks.md) - [Building Your First LangGraph](https://huggingface.co/learn/agents-course/unit2/langgraph/first_graph.md) - [Building Agentic RAG Systems](https://huggingface.co/learn/agents-course/unit2/smolagents/retrieval_agents.md) - [Exam Time!](https://huggingface.co/learn/agents-course/unit2/smolagents/final_quiz.md) - [Vision Agents with smolagents](https://huggingface.co/learn/agents-course/unit2/smolagents/vision_agents.md) - [Conclusion](https://huggingface.co/learn/agents-course/unit2/smolagents/conclusion.md) - [Small Quiz (ungraded) [[quiz1]]](https://huggingface.co/learn/agents-course/unit2/smolagents/quiz1.md) - [Small Quiz (ungraded) [[quiz2]]](https://huggingface.co/learn/agents-course/unit2/smolagents/quiz2.md) - [Building Agents That Use Code](https://huggingface.co/learn/agents-course/unit2/smolagents/code_agents.md) - [Why use smolagents](https://huggingface.co/learn/agents-course/unit2/smolagents/why_use_smolagents.md) - [Introduction to `smolagents`](https://huggingface.co/learn/agents-course/unit2/smolagents/introduction.md) - [Writing actions as code snippets or JSON blobs](https://huggingface.co/learn/agents-course/unit2/smolagents/tool_calling_agents.md) - [Multi-Agent Systems](https://huggingface.co/learn/agents-course/unit2/smolagents/multi_agent_systems.md) - [Tools](https://huggingface.co/learn/agents-course/unit2/smolagents/tools.md) - [What are components in LlamaIndex?](https://huggingface.co/learn/agents-course/unit2/llama-index/components.md) - [Conclusion](https://huggingface.co/learn/agents-course/unit2/llama-index/conclusion.md) - [Introduction to the LlamaHub](https://huggingface.co/learn/agents-course/unit2/llama-index/llama-hub.md) - [Small Quiz (ungraded) [[quiz1]]](https://huggingface.co/learn/agents-course/unit2/llama-index/quiz1.md) - [Quick Self-Check (ungraded) [[quiz2]]](https://huggingface.co/learn/agents-course/unit2/llama-index/quiz2.md) - [Using Agents in LlamaIndex](https://huggingface.co/learn/agents-course/unit2/llama-index/agents.md) - [Introduction to LlamaIndex](https://huggingface.co/learn/agents-course/unit2/llama-index/introduction.md) - [Creating agentic workflows in LlamaIndex](https://huggingface.co/learn/agents-course/unit2/llama-index/workflows.md) - [Table of Contents](https://huggingface.co/learn/agents-course/unit2/llama-index/README.md) - [Using Tools in LlamaIndex](https://huggingface.co/learn/agents-course/unit2/llama-index/tools.md) ### Conclusion https://huggingface.co/learn/agents-course/unit4/conclusion.md # Conclusion **Congratulations on finishing the Agents Course!** Through perseverance and dedication, you’ve built a solid foundation in the world of AI Agents. But finishing this course is **not the end of your journey**. It’s just the beginning: don’t hesitate to explore the next section where we share curated resources to help you continue learning, including advanced topics like **MCPs** and beyond. **Thank you** for being part of this course. **We hope you liked this course as much as we loved writing it**. And don’t forget: **Keep Learning, Stay Awesome 🤗** ### What is GAIA? https://huggingface.co/learn/agents-course/unit4/what-is-gaia.md # What is GAIA? [GAIA](https://huggingface.co/papers/2311.12983) is a **benchmark designed to evaluate AI assistants on real-world tasks** that require a combination of core capabilities—such as reasoning, multimodal understanding, web browsing, and proficient tool use. It was introduced in the paper _"[GAIA: A Benchmark for General AI Assistants](https://huggingface.co/papers/2311.12983)"_. The benchmark features **466 carefully curated questions** that are **conceptually simple for humans**, yet **remarkably challenging for current AI systems**. To illustrate the gap: - **Humans**: ~92% success rate - **GPT-4 with plugins**: ~15% - **Deep Research (OpenAI)**: 67.36% on the validation set GAIA highlights the current limitations of AI models and provides a rigorous benchmark to evaluate progress toward truly general-purpose AI assistants. ## 🌱 GAIA’s Core Principles GAIA is carefully designed around the following pillars: - 🔍 **Real-world difficulty**: Tasks require multi-step reasoning, multimodal understanding, and tool interaction. - 🧾 **Human interpretability**: Despite their difficulty for AI, tasks remain conceptually simple and easy to follow for humans. - 🛡️ **Non-gameability**: Correct answers demand full task execution, making brute-forcing ineffective. - 🧰 **Simplicity of evaluation**: Answers are concise, factual, and unambiguous—ideal for benchmarking. ## Difficulty Levels GAIA tasks are organized into **three levels of increasing complexity**, each testing specific skills: - **Level 1**: Requires less than 5 steps and minimal tool usage. - **Level 2**: Involves more complex reasoning and coordination between multiple tools and 5-10 steps. - **Level 3**: Demands long-term planning and advanced integration of various tools. ![GAIA levels](https://huggingface.co/datasets/agents-course/course-images/resolve/main/en/unit4/gaia_levels.png) ## Example of a Hard GAIA Question > Which of the fruits shown in the 2008 painting "Embroidery from Uzbekistan" were served as part of the October 1949 breakfast menu for the ocean liner that was later used as a floating prop for the film "The Last Voyage"? Give the items as a comma-separated list, ordering them in clockwise order based on their arrangement in the painting starting from the 12 o'clock position. Use the plural form of each fruit. As you can see, this question challenges AI systems in several ways: - Requires a **structured response format** - Involves **multimodal reasoning** (e.g., analyzing images) - Demands **multi-hop retrieval** of interdependent facts: - Identifying the fruits in the painting - Discovering which ocean liner was used in *The Last Voyage* - Looking up the breakfast menu from October 1949 for that ship - Needs **correct sequencing** and high-level planning to solve in the right order This kind of task highlights where standalone LLMs often fall short, making GAIA an ideal benchmark for **agent-based systems** that can reason, retrieve, and execute over multiple steps and modalities. ![GAIA capabilities plot](https://huggingface.co/datasets/agents-course/course-images/resolve/main/en/unit4/gaia_capabilities.png) ## Live Evaluation To encourage continuous benchmarking, **GAIA provides a public leaderboard hosted on Hugging Face**, where you can test your models against **300 testing questions**. 👉 Check out the leaderboard [here](https://huggingface.co/spaces/gaia-benchmark/leaderboard)