- Bump dev version: v1.26.0.dev0
- Add new possible error message to test of LiteLLM providers w/o key
- Fix typo cleanups across docs, examples, and tests
- fix: correct f-string escaping in ToolSerializer.dumps error message
- Revert fix: correct f-string escaping
- Update docstring of LocalPythonExecutor
smolagents by Hugging Face
Overview
A minimal Hugging Face library for agents that write and run Python code as their actions.
smolagents was downloaded 108K times from PyPI in the week ending Oct 4, 2026, up 5.9% on the week before and down 25.0% over the last 30 days compared with the 30 before. The GitHub repository has 29.7K stars, 556 of them added in the last 30 days. The latest stable release is 1.26.0, published May 29, 2026. It was mentioned in 3 Hacker News posts and comments over the last 30 days.
smolagents usage and attention over time
Download the raw daily series: smolagents.csv
Install smolagents
| PyPI | pip install smolagents |
|---|
These commands use the packages tracked on this page. The vendor may recommend a different installer; see the official documentation.
Key facts
| Maker | Hugging Face |
|---|---|
| Type | Code-agent library |
| License | Apache-2.0 |
| Interfaces | Python library |
| Main language | Python |
| Open issues and PRs | 880 |
Pricing
smolagents is open source and free to use; you pay only for the models and infrastructure it runs on.
, checked Oct 5, 2026. Prices change often; confirm before you buy.
Pulse Score breakdown
Each component is scored 0 to 100 from public signals; a dash means no data for it. Methodology.
What changed: recent smolagents releases
- Bump dev version: v1.25.0.dev0
- Fix import of TokenUsage
- Add MLflow integration doc
- Refactor agent/model deserialization: Replace importlib with registry pattern
- Update functiontypehintsutils.py: CohereForAI -> CohereLabs
- Fix High impact vulnerability on remote executors
- Bump version to 1.24
- Fix: Add backward compatibility for deprecated HfApiModel
- Fix typo in securecodeexecution.md
- Update no-stop-sequence model list to support gpt-5.2
- Fix rungaia.py tokencounts when managed agent is called more than once
- 🌐 [i18n-KO] Translated tools.md to Korean
- Update final answer checks to accept the agent instance
- Dialog mode CLI
- Add Blaxel support for remote code execution
- Proposition: Add exponential backoff with jitter for retries
- Cut generation at stop sequence post generation
- Move executor type validation to python executor creation
- Bump dev version: v1.22.0.dev0
- refactor(PythonExecutor): inherit from ABC and declare abstract methods
- Fix error for GPT-5 not supporting the stop parameter
- Enable returnfullresult directly in run method
- Make RunResult json serializable
- Change truncation to remove end rather than middle
- Fix E2BExecutor by pinning e2b-code-interpreter to < 2
smolagents alternatives
| # | Agent | Pulse | Downloads 7d | 7d | 30d | VS Code installs | Stars | Latest release | Price | Last 90 days | |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 4 |
LangChainLangChain |
77 | 44.3M | up 1.9% | down 22.0% | — | 147K+45/day | 1.4.38d ago | Free (OSS) | ||
| 10 |
LangGraphLangChain |
69 | 16.1M | up 11.4% | down 21.8% | — | 42.7K+48/day | 1.2.13yesterday | Free (OSS) | ||
| 11 |
AI SDKVercel |
67 | 34.5M | up 13.5% | up 20.9% | — | 27.1K+18/day | 6.0.301yesterday | Free (OSS) | ||
| 13 | 63 | 8.7M | up 0.6% | up 2.0% | — | 8,679+23/day | 1.58.0yesterday | Free (OSS) | |||
| 17 |
Claude Agent SDKAnthropic |
59 | 21.5M | up 14.6% | up 0.6% | — | 8,219+5/day | 0.2.1636d ago | Free (OSS) | ||
| 21 |
MastraMastra |
58 | 2.2M | up 11.1% | up 19.1% | — | 28.6K+27/day | 1.74.0yesterday | Free (OSS) | ||
| No agents match that filter. | |||||||||||
smolagents FAQ
How much does smolagents cost?
smolagents is open source and free to use; you pay only for the models and infrastructure it runs on.
Is smolagents open source?
Yes. smolagents is open source, released under the Apache-2.0 license.
How popular is smolagents?
smolagents was downloaded 108K times from PyPI in the week ending Oct 4, 2026, up 5.9% on the week before and down 25.0% over the last 30 days compared with the 30 before. The GitHub repository has 29.7K stars, 556 of them added in the last 30 days. The latest stable release is 1.26.0, published May 29, 2026.
What is the latest version of smolagents?
The latest stable release we track is 1.26.0, published on May 29, 2026.
What are the alternatives to smolagents?
The closest alternatives in the same category by Pulse Score are LangChain, LangGraph, AI SDK, Strands Agents.
Where these numbers come from
PyPI: smolagents. GitHub: huggingface/smolagents. See data sources for how each one is collected.
