smolagents · Hugging Face

confidence: highactive28,242

Hugging Face's minimalist (~1,000-line core, Apache 2.0) 'agents that think in code' harness where the model writes executable Python as its action format instead of JSON tool calls, model-agnostic via transformers/Ollama/LiteLLM, with optional sandboxed execution (E2B, Docker, WebAssembly), managed sub-agents, and Hub sharing of tools and agents.

Homepagehttps://huggingface.co/docs/smolagents/index
Repositoryhttps://github.com/huggingface/smolagents
Licenseopen-source
Domaingeneral
Form factorsdk · cli
Model-agnostic✓ yes
Native models
Local models✓ yes
Pricingbyok
MCP client✓ yes
Agent Skills support○ no
Plugins / hooks✓ yes
Sandboxingoptional
Autonomy spectrumsupervised → semi-autonomous → autonomous-local
Subagents✓ yes
Parallel sessions? unknown
Context managementnone-observed
Headless / API✓ yes
GitHub integration? unknown
Sources

✓ profile last verified 2026-07-08 · benchmark figures are vendor-reported unless a source states otherwise