Home Projects smolagents
smolagents
Python

smolagents

🤗 smolagents: a barebones library for agents that think in code.

by huggingface · GitHub
Top 5% most starred in the catalogue
Stars
Forks
License
Created
Last commit
Language
Apache-2.0Python
View on GitHub
In plain words

smolagents is Hugging Face's minimalist library for building agents that think in code, with first-class support for any LLM and Hugging Face tools.

From the README

Install
pip install "smolagents[toolkit]"

Excerpts from the project README on GitHub. Copyright and licensing remain with the respective authors.

You maintain this project?

Claim its page: indexed whatever its rank, translated into six languages, and enriched with what you write yourself.

Claim this page →
smolagents — GitHub preview card
📈 Star history
29k28k
2026-07-122026-08-31
📈 Track smolagents

Get an email alert on its next release or when it starts trending — never miss the moment.

Free · no card · unsubscribe anytime
Get email alerts →
📄 About

🤗 smolagents: a barebones library for agents that think in code.

smolagents has 29.1k stars on GitHub. It has been forked 2.9k times. smolagents is written mainly in Python. It has been in active development since 2024. smolagents is available under the Apache-2.0 license.

Read the full guide
Frequently asked questions

What is smolagents?

🤗 smolagents: a barebones library for agents that think in code.

Is smolagents open source?

smolagents is an open-source project. It is released under the Apache-2.0 license.

Is smolagents free?

Yes. smolagents is free and open source — you can use, modify and self-host it.

What license does smolagents use?

smolagents is available under the Apache-2.0 license.

What language is smolagents written in?

smolagents is written mainly in Python.

🏅 Maintainer of this project?
olud.ai badge — smolagents

Add this live badge to your README — your GitHub stars and directory rank, refreshed daily.

[![olud.ai](https://olud.ai/badge.php?tool=huggingface-smolagents)](https://olud.ai/project/huggingface-smolagents.html)
More badge options →
🧬 Related projects