smolagents
by Hugging Face
Verifiedlink and access path checked, Nov 2026Official
Official listing: built and published by Hugging Face. More from Hugging Face
Builds lightweight code-first AI agents in ~1,000 lines of Python, executing Python snippets for 30% fewer LLM calls than JSON-based alternatives.
Use it now
Keep it with up to 9 other tools you're setting up, then share them all as one link.
Call the API
Auth None needed
Setup guide: huggingface.co/docs/smolagents/guided_tour
Compare
Press Compare to add it to the tray at the bottom of the window, then pick up to 2 others anywhere on the site.
- Access
- API
- Auth
- None
smolagents
Builds lightweight code-first AI agents in ~1,000 lines of Python, executing Python snippets for 30% fewer LLM calls than JSON-based alternatives.
use it now
None neededapi.auth
fields
namesmolagents
providerHugging Face
urlhttps://github.com/huggingface/smolagents
categoriescode-devtools
accessapi
authnone
streamingfalse
pushfalse
verifiedtrue
officialtrue · Hugging Face
sponsoredfalse
tagsopen-source, python, code-agents, huggingface, apache-2-0