S

Smolagents

HuggingFace

Minimalist agent framework from HuggingFace in ~1K lines. Agents write Python code snippets instead of JSON tool calls — more natural and flexible. Supports any model on HuggingFace Hub.

~1K lines, code agents (Python snippets not JSON)

Framework Open Source Free Free Apache-2.0
Tech Stack
Python
GitHub Stars
26.0k
Pricing
Free
Initial Release
December 1, 2024

Features & Capabilities

Open Source
Self-Hostable
MCP Support
Multi-Model
Multi-Agent
Voice Support
Free Tier

Capabilities

orchestrationmulti_agentcode_executiontool_calling

Supported Model Providers

anthropic
openai
google
local

Details

Developer
HuggingFace
Category
Framework
Status
Active
Initial Release
December 1, 2024
License
Apache-2.0
Tech Stack
Python
Install
pip install smolagents
Agent ID
smolagents

Platforms

linuxmacoswindows
Last updated: March 14, 2026