smolagents
OfficialLightweightHugging Face's minimal agent library focused on code-first agent design. Agents write and execute Python code to accomplish tasks rather than using JSON tool calls.
by Hugging Face14.2k starsApache-2.0Updated Apr 2026
Installation
Install
pip install smolagentsLanguage support
Python
Supported LLMs
Any model on Hugging Face HubOpenAIAnthropic
Features (8)
code_agentstool_calling_agentsmulti_agenttool_usemanaged_agentshub_toolsgradio_uivisionSource
View on GitHubDetails
- Author
- Hugging Face
- Category
- Lightweight
- Languages
- 1
- Features
- 8
- Stars
- 14.2k
- License
- Apache-2.0
- Status
- Official