New Framework smolagents
Hi, everyone!Especially, my friends@seand0101and@John6666!I know new framework emerged in the huggingface. I think that is very helpful to create the agent for using LLMs. We used langchain or langgraph to combinate the toolkits and LLMs, but there is some problems cause the code is too long and complicated. Then new framework emerged, it is clear.Let’s talk about smolagents. I will give you some small information about smolagents.Then if you have experienced to use this framework, please share the code and explanation for helping others.This library is the simplest framework out there to build powerful agents! By the way, wtf are “agents”? We provide our definitionin this page, where you’ll also find tips for when to use them or not (spoilers: you’ll often be better off without agents).This library offers:Simplicity: the logic for agents fits in ~thousand lines of code. We kept abstractions to their minimal shape above raw code!Support for any LLM: it supports models hosted on the Hub loaded in theirtransformersversion or through our inference API, but also models from OpenAI, Anthropic… it’s really easy to power an agent with any LLM.First-class support for Code Agents, i.e. agents that write their actions in code (as opposed to “agents being used to write code”),read more here.Hub integrations: you can share and load tools to/from the Hub, and more is to come!
2025-01-13T08:18:44Z
It’s a bit tough on my local environment due to a lack of GPU, but it’s getting good reviews.There’s even a dedicated channel on Discord.github.comGitHub - huggingface/smolagents: 🤗 smolagents: a barebones library for agents....🤗 smolagents: a barebones library for agents. Agents write python code to call tools and orchestrate other agents.
2025-01-14T12:55:13Z
Given its simplicity, can AI agents built using the smolagents library be scaled for production use cases?
2025-01-15T15:40:49Z
Study course is now available.huggingface.co@burtenshaw on Hugging Face: "We’re launching a FREE and CERTIFIED course on...We’re on a journey to advance and democratize artificial intelligence through open source and open science.