smolagents
This library is the simplest framework out there to build powerful agents! By the way, wtf are “agents”? We provide our definition in 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 their transformers version or through Inference providers: Cerebras, Cohere, Fal, Fireworks, Hyperbolic, Nebius, Novita, Replicate, SambaNova, Together, etc. It also supports 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 Gradio Spaces as tools to/from the Hub, and more is to come! Learn the
smolagents · Hugging Face smolagents documentation smolagents smolagents 🏡 View all docs AWS Trainium & Inferentia Accelerate Argilla AutoTrain Bitsandbytes CLI Chat UI Dataset viewer Datasets Deploying on AWS Diffusers Distilabel Evaluate Google Cloud Google TPUs Gradio Hub Hub Python Library Huggingface.js Inference Endpoints (dedicated) Inference Providers Kernels LeRobot Leaderboards Lighteval Microsoft Azure OpenEnv Optimum PEFT Reachy Mini Safetensors Sentence Transformers TRL Tasks Text Embeddings Inference Text Generation Inference Tokenizers Trackio Transformers Transformers.js Xet s
saved by
related reading
- What are agents? 🤔 · Hugging Facehuggingface.co
- LLM Powered Autonomous Agents | Lil'Loglilianweng.github.io
- Introducing smolagents: simple agents that write actions in code.huggingface.co
- LangChain: the open agent platform to own your intelligencelangchain.com
- Hermes Agent — The Agent That Grows With Youhermes-agent.nousresearch.com
- Building reliable AI agents · parth sareenparthsareen.com
- Building Effective AI Agents \ Anthropicanthropic.com
- Building Effective AI Agents \ Anthropicanthropic.com
- Together AI | The AI Native Cloudtogether.ai
- GitHub - smol-ai/developer: the first library to let you embed a developer agent in your own app!github.com
- GitHub - msitarzewski/agency-agents: A complete AI agency at your fingertips - From frontend wizards to Reddit community ninjas, from whimsy injectors to reality checkers. Each agent is a specialized expert with personality, processes, and proven deliverables.github.com
- The Agent Stackvercel.com