huggingface/smolagents
#98 of 803 by Stars among GitHub repos
🤗 smolagents: a barebones library for agents that think in code.
About
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.
🤗 Hub integrations: you can share/pull tools or agents to/from the Hub for instant sharing of the most efficient agents!
🌐 Model-agnostic: smolagents supports any LLM. It can be a local transformers or ollama model,…
Excerpted from github.com/huggingface/smolagents
Latest metrics
| Stars | 29.3k | 2026-09-12 |
|---|---|---|
| Forks | 3.0k | 2026-09-12 |
| Commits | 1.1k | 2026-09-12 |
| Releases | 36 | 2026-09-12 |
| Watchers | 141 | 2026-09-12 |
| Open issues | 317 | 2026-09-12 |
| Open PRs | 492 | 2026-09-12 |