# huggingface/smolagents

> 🤗 smolagents: a barebones library for agents that think in code.

- GitHub: https://github.com/huggingface/smolagents
- Website: https://huggingface.co/docs/smolagents
- Category: AI Agents (https://ideas.asveas.com/c/ai-agents); also LLM & Inference
- Tags: python
- Language: Python · License: Apache-2.0
- Stars: 30,316 · Forks: 3,209 · Open issues: 1,073
- Last push: 2026-11-10 (yesterday)
- Vibe score: 86/100

## What it is
smolagents is a library that enables you to run powerful agents in a few lines of code. It offers: ✨ Simplicity: the logic for agents fits in ~1,000 lines of code (see agents.py). We kept abstractions to their minimal shape above raw code! 🧑‍💻 First-class support for Code Agents. Our CodeAgent writes its actions in code (as opposed to "agents being used to write code"). To make it secure, we support executing in sandboxed environments via Blaxel, E2B, Modal, or Docker.

## When to use it
Reach for smolagents when you want an LLM to plan, call tools, browse, or coordinate with other agents instead of answering a single prompt — it's written in Python and fits stacks tagged .

## Maintenance
huggingface/smolagents looks very actively maintained: the last push was yesterday (2026-11-10), with 30,316 stars and 1,073 open issues.

## Quick start
```bash
git clone https://github.com/huggingface/smolagents.git
```

## Alternatives in AI Agents
- [Significant-Gravitas/AutoGPT](https://github.com/Significant-Gravitas/AutoGPT) — AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters. (★188k, Python, vibe 99/100) · details: https://ideas.asveas.com/r/Significant-Gravitas/AutoGPT
- [langchain-ai/langchain](https://github.com/langchain-ai/langchain) — The agent engineering platform. (★149k, Python, vibe 98/100) · details: https://ideas.asveas.com/r/langchain-ai/langchain
- [browser-use/browser-use](https://github.com/browser-use/browser-use) — Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API. (★121k, Python, vibe 97/100) · details: https://ideas.asveas.com/r/browser-use/browser-use
- [Leonxlnx/taste-skill](https://github.com/Leonxlnx/taste-skill) — Agent skills that give coding agents taste: art direction, reference images and a browser check instead of generic AI pages (★113k, JavaScript, vibe 96/100) · details: https://ideas.asveas.com/r/Leonxlnx/taste-skill
- [heygen-com/hyperframes](https://github.com/heygen-com/hyperframes) — Write HTML. Render video. Built for agents. (★82.8k, TypeScript, vibe 95/100) · details: https://ideas.asveas.com/r/heygen-com/hyperframes
- [crewAIInc/crewAI](https://github.com/crewAIInc/crewAI) — Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewAI empowers agents to work together seamlessly, tackling complex tasks. (★60.8k, Python, vibe 93/100) · details: https://ideas.asveas.com/r/crewAIInc/crewAI

---
Source: https://ideas.asveas.com/r/huggingface/smolagents · Catalog: https://ideas.asveas.com/llms.txt
