Skip to content
Agents tracked: 157 Downloads (7d): 216M up 9.6% GitHub stars: 4.2M VS Code installs: 145M Releases (7d): 233 Agent pull requests (last week): 940K Updated Oct 6, 2026

smolagents by Hugging Face

Agent frameworks and SDKs #76 overall#20 in categoryOpen source · Apache-2.0
Pulse Score
36 / 100
Rank #76 of 157
Downloads, last 7 days
108K
up 5.9% vs previous week
Downloads, last 30 days
420K
down 25.0% vs previous 30 days
GitHub stars
29.7K
about +19 a day
Latest release
1.26.0
4mo ago
Price
Free (OSS)
checked Oct 5, 2026

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

Downloads per dayPyPI, 7-day average 15.5K/day
GitHub starsrunning total 29.7K
Hacker News mentionsposts and comments, rolling 7-day total 1 this week

Download the raw daily series: smolagents.csv

Install smolagents

PyPIpip install smolagents

These commands use the packages tracked on this page. The vendor may recommend a different installer; see the official documentation.

Key facts

MakerHugging Face
TypeCode-agent library
LicenseApache-2.0
InterfacesPython library
Main languagePython
Open issues and PRs880

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

Adoption46
Community61
Attention0
Momentum25

Each component is scored 0 to 100 from public signals; a dash means no data for it. Methodology.

What changed: recent smolagents releases

Full changelog

1.26.0
  • 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
1.25.0
  • 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
1.24.0
  • 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
1.23.0
  • 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
1.22.0
  • 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
1.21.3
  • Fix E2BExecutor by pinning e2b-code-interpreter to < 2

smolagents alternatives

All agent frameworks and SDKs

# 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 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)

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.