smolagents

agent-frameworkNo score yet

๐Ÿค— smolagents: a barebones library for agents that think in code.

Stars

27,789

ฮ” stars 7d

โ€”

ฮ” stars 30d

โ€”

Forks

2,677

Contributors

205

npm DL / wk

โ€”

PyPI DL / wk

139,282

Language

Python

Last push

2026-06-09

About smolagents

`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.

Read the full README on GitHub โ†’

Install

pip install smolagents
Newly tracked โ€” a growth score appears after the first full scoring week. Signals are deliberately suppressed during cold start to avoid false positives.

smolagents alternatives

Projects in the same category, closest in size โ€” picked by data, not opinion.

Semantic KernelNo score yet28,090 โ˜…
ComposioNo score yet28,708 โ˜…
LangGraphNo score yet34,340 โ˜…
DSPyNo score yet34,962 โ˜…

See all agent-framework projects ranked by growth โ†’

Frequently asked questions

Is smolagents still maintained?
Yes โ€” actively maintained. The last push was on 2026-06-09, with 205 contributors.
What are the best smolagents alternatives?
Closest by category and size in our data: Semantic Kernel, Composio, LangGraph โ€” full list with live signals above.

Embed this badge

Show your project's live signal in your README โ€” it updates weekly with the data.

[![smolagents on What's Trending in AI](https://whatstrendinginai.com/badges/huggingface__smolagents.svg)](https://whatstrendinginai.com/projects/huggingface__smolagents/)

smolagents badge

Tracked since 2026-06-10 ยท data as of 2026-06-10 ยท 595 open issues ยท 36 releases