Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Build Powerful AI Agents Using smolagents from Hugging Face
Rating: 1.5 out of 5(1 rating)
6 students
Last updated 3/2025
English

What you'll learn

  • Understand AI Agents & Multi-Agent Systems
  • Build AI Agents Using the Smolagents Library
  • Develop Custom AI Agents for Real-World Applications
  • Integrate AI Agents with External APIs & Tools

Course content

3 sections11 lectures38m total length
  • What is an AI Agent?4:16

    Overview:

    • Define an AI agent and explain how it differs from traditional models.

    • Introduce key concepts such as perception, action, and environment interaction.

  • Why Choose smolagents2:26

    Dive into what makes the smolagent library stand out.

  • AI Agents & Smolagents Library
  • Build a Code AI Agent2:24

    Defining and running a code agent.

  • Build a Tool-Calling AI Agent (Step 1)3:03

    Goals:

    • Understand the difference between a Code AI Agent and a Tool-Calling Agent.

    • Set up the LLM that will power your Tool-Calling Agent.

  • Taste of OpenRouter2:50

    An introduction to OpenRouter

  • Build a Tool-Calling AI Agent (Step 2)4:02

    Goal:

    • Define and run a tool-calling AI agent

    • Create custom tools for AI agents

  • Tool-Calling Agents & LiteLLM in SmolAgents

Requirements

  • Basic Python programming skills
  • Familiarity with AI concepts
  • Internet access

Description

AI agents are transforming the way we work. Sam Altman predicts that AI coworkers will enter the workforce in 2025, and companies like OpenAI, xAI, and DeepMind are already launching cutting-edge AI agents like Operator and DeepSearch.

But how do you build your own AI agent? Which framework should you use?

If you like graph-based control, LangGraph is an option.

If you prefer role-based AI teams, CrewAI works well.

If you're into prompt optimization, DSPy can be adapted.

However, if you want a lightweight, flexible, and straightforward way to build AI agents, Smolagents from Hugging Face is the answer.

Why Choose Smolagents?

  • No unnecessary abstractions—simple yet powerful.

  • Access any LLM in the world—OpenAI, Together AI, OpenRouter, Mistral, or even your own models.

  • Create custom tool-calling agents that can interact with real-world data, APIs, and more.

What You’ll Learn in This Course:

  • The fundamentals of AI agents—how they work and why they matter.

  • Building a tool-calling agent—connecting your agent to external tools and APIs.

  • Integrating AI models like GPT-4, Gemini, and Claude—leveraging multiple AI brains.

  • Creating custom AI tools—fetch financial data, analyze documents, or search the web.

  • Multi-agent systems—designing AI agents that collaborate.

  • Building a text-to-SQL agent for querying databases.

  • Creating a financial analyst AI to automate investment research.

Whether you're a developer, researcher, or AI enthusiast, this course will equip you with the skills to build, deploy, and scale AI agents for real-world use cases. Start learning today.

Who this course is for:

  • AI Enthusiasts & Developers
  • Data Scientists & Engineers
  • Finance & Business Professionals
  • Anyone Curious About AI Agents