tool profile · from the GitHub APIas of · synced 6× a day

smolagents

AI agentsActive

smolagents: a barebones library for agents that think in code. vendor-statedGitHub description

In the 7 days to smolagents gained +96 GitHub stars, to 30.7k. Maintainer health 83/100, last commit on .

What it does
smolagents is a Python library for running agents in a few lines of code, centered on CodeAgent, which writes its actions as Python code, alongside a conventional ToolCallingAgent. It works with local or hosted models, MCP and LangChain tools, and sharing through the Hugging Face Hub. huggingface/smolagents README
Who it suits
Developers who want a minimal agent framework they can read and modify, using whichever model, tools and input types suit the task. huggingface/smolagents README
Watch for
Because code agents execute generated code, the project says to run them in a sandbox, either a managed cloud service or Docker; its built-in local executor is not a security boundary. huggingface/smolagents README
editorialfrom the project’s own pages · read 2026-11-22
Repository
huggingface/smolagents
Licence
Apache-2.0
Language
Python
Contributors
218
Forks
3,283
Last commit
measuredGitHub API · as of 2026-12-05 00:37 UTC
View on GitHub

Star history

every reading from the GitHub API · the last 7 days shaded
+96stars · 7 days+1.5%30 days
  • earlier
  • last 7 days
  • latest reading
30.7k ★30.2k ★
30.7k ★29.7k ★

History starts 2026-10-08, so the 90-day view fills in on 2027-01-06.

measuredstargazer count, appended on every sync, never rewrittenStar counts measure attention, not installs.

How hard to run?

self-host profile · checked against the project’s own docs
Libraryeditorialcurated
Deploy
Runs inside your app
Server, our estimate
no server of its own

Report a data error

OpenSSF Scorecard

how the repository is run · checked 2026-12-04

Not scanned

No published scan for huggingface/smolagents when we checked on 2026-12-04.

What Scorecard checks

Similar AI agent frameworks

same category · 7-day growth · as of 2026-12-05
All 8 in AI agents
  • Google ADK22.5k ★ · Apache-2.0
    up 0.7% over 7 days
  • LangGraph45.8k ★ · MIT
    up 0.7% over 7 days
  • Pydantic AI21.5k ★ · MIT
    up 0.5% over 7 days
  • Mastra30k ★ · Apache-2.0
    up 0.5% over 7 days

smolagents’s licence, in short

Is smolagents open source?

Yes. smolagents is published under Apache-2.0, a permissive open-source licence approved by the Open Source Initiative. Every tracked tool’s licence, with the same sources: Licences.

Is smolagents free?

smolagents is released under the Apache-2.0 licence, so it is free to use in your own application.

From the licence GitHub reports for huggingface/smolagents. Every tracked licence

Sources

measured
GitHub API, 6 times a day; as of 2026-12-05 00:37 UTC.
security
No OpenSSF scan published; checked 2026-12-04.
editorial
Self-host profile and “In short”: the project’s own docs.

Rankings are never paid for. Star counts measure attention, not installs. Methodology 

README badge and star chart

for maintainers · rebuilt twice a day
Badge191 × 20 · growth over 7 days
Tools Trends: up 0.3% in 7 days
[![Tools Trends trend](https://toolstrends.com/badge/smolagents.svg)](https://toolstrends.com/tools/smolagents)
Star history440 × 160 · every reading since 2026-10-08, up to 90 days
smolagents star history, as the README shows it in lightsmolagents star history, as the README shows it in dark
<a href="https://toolstrends.com/tools/smolagents"><picture><source media="(prefers-color-scheme: dark)" srcset="https://toolstrends.com/badge/smolagents/history-dark.svg"><img alt="smolagents GitHub stars, tracked by Tools Trends" src="https://toolstrends.com/badge/smolagents/history.svg" width="440"></picture></a>

Click a snippet to select it; it links back to this page.

Where to go next