Navigation überspringen
New short course: Building Code Agents with Hugging Face smolagents!
0:00 / 2:17

New short course: Building Code Agents with Hugging Face smolagents!

Andrew Ng

@AndrewYNg2 Mio. Follower

Auf X besuchen
1.221 LikesHerunterladenOriginalbeitrag

128.021 Aufrufe

New short course: Building Code Agents with Hugging Face smolagents! Learn how to build code agents in this course, created in collaboration with Hugging Face, and taught by Thomas Wolf, its co-founder and CSO, and m_ric, Hugging Face’s Project Lead on Agents. Tool-calling agents use LLMs to generate multiple function calls sequentially to complete a complex sequence of tasks. They generate one function call, execute it, observe, reason, and decide what to do next. Code agents take a different approach. They consolidate all these calls into a single block of code, letting the LLM lay out an entire action plan at once, which can be executed efficiently to provide more reliable results. You’ll learn how to code agents using smolagents, a lightweight agentic framework from Hugging Face. Along the way, you’ll learn how to run LLM-generated code safely and develop an evaluation system to optimize your code agent for production. In detail, you’ll learn: - How agentic systems have evolved, gaining greater levels of agency over time—and why code agents are a next step. - How code agents write their actions in code. - When code agents outperform function-calling agents. - How to run code agents safely in your system using a constrained Python interpreter and sandboxing using E2B. - To trace, debug, and assess the code agent to optimize its behaviours for complex requests. - How to build a research multi-agent system that can find information online and organize it into an interactive report. By the end of this course, you’ll know how to build and run code agents using smolagents, and deploy them safely with a structured evaluation system in your projects. Please sign up here!

11 Kommentare

Kommentare aus dem Originalbeitrag auf X (Twitter)

  • Profilbild von m_ric

    @AymericRoucher

    @huggingface @Thom_Wolf Loved filming this course, and very pleased to have met you @AndrewYNg!

    4 Likes

  • Profilbild von Greg Caplan 🚀

    @gdcaplan

    Stop wasting time following up with leads. Let our AI agents do it for you.

    2.622 Likes

  • Profilbild von Vincent Valentine (CEO of UnOpen.ai)

    @BitValentine

    @huggingface @Thom_Wolf @AymericRoucher exciting opportunity for those interested in code agents.

    2 Likes

  • Profilbild von sushant deo

    @deo_sushant9

    @huggingface @Thom_Wolf @AymericRoucher Please make it available in Coursera plus please 🙏

    1 Like

  • Profilbild von Tristan

    @ItsTKai

    Excited to dive into the future of AI with the new “Building Code Agents with Hugging Face smolagents” and learn directly from Hugging Face experts how to build, evaluate, and safely deploy powerful code agents that go beyond traditional tool-calling methods. I think it’s a must for anyone looking to push the boundaries of LLM-driven automation.

  • Profilbild von ineffable alias

    @joorosa12185462

    @huggingface @Thom_Wolf @AymericRoucher please both you and hugging face get in touch with the @cameraculture guys and do a course with their proposal for decentralized, safe and private billions of interacting agents. it's called NANDA

  • Profilbild von atoosabiglari

    @atoosabiglari

    @huggingface @Thom_Wolf @AymericRoucher @liamottley_ has an interesting course on “how to build and sell AI Agents:Ultimate Beginner’s guide “ which helps a lot for start . Notice his pinned much more useful links 👋🏻 📍

  • Profilbild von Karl Mehta

    @karlmehta

    @huggingface @Thom_Wolf @AymericRoucher Smol name, huge potential.

  • Profilbild von d'Artagnan-sha

    @d_Artagnan_sha

    @huggingface @Thom_Wolf @AymericRoucher Exciting to see Hugging Face expanding into code agent development with this new course! As AI and automation continue to transform software engineering, these types of tools will be crucial for boosting developer productivity and enabling more intelligent, adaptable systems.

  • Profilbild von teja.madu

    @MaduTeja

    @huggingface @Thom_Wolf @AymericRoucher Thank you and excited

  • Profilbild von z.

    @wow_zalex

    @ClementDelangue @huggingface @Thom_Wolf @AymericRoucher Agents course on Huggingface has been super helpful, looking forward to checking this out!