smolagents
Hugging Face Smolagents by Hugging Face
🤗 smolagents: a barebones library for agents. Agents write python code to call tools or orchestrate other agents.
pip install "smolagents==1.26.0"Hugging Face Smolagents (smolagents) is currently at v1.26.0 on PYPI (published 2026-05-29), with a 90-day stability score of 86/100 (B+) and MEDIUM schema drift risk across 0 releases in the past 90 days. v1.26.x requires explicit additional_authorized_imports on CodeAgent and context-managed ToolCollection.from_mcp() loading. Production teams should pin pip install "smolagents==1.26.0" rather than using unpinned @latest tags.
Breaking Changes & Tool Schema Drift Analysis
v1.26.x requires explicit additional_authorized_imports on CodeAgent and context-managed ToolCollection.from_mcp() loading.
CodeAgentToolCallingAgentToolCollection.from_mcpInferenceClientModelagent = CodeAgent(tools=[], model=HfApiModel())agent = CodeAgent(tools=[], model=InferenceClientModel(), additional_authorized_imports=["json"])Frequently Asked Questions: smolagents
What is the latest version of smolagents on PYPI?
As of 2026-10-24, the latest stable version of smolagents (Hugging Face Smolagents by Hugging Face) on PYPI is v1.26.0, published on 2026-05-29. It has shipped 0 releases in the last 90 days.
Does smolagents v1.26.0 have breaking changes or MCP schema drift risk?
smolagents currently carries a MEDIUM schema drift risk rating with a Stability Score of 86/100 (Grade B+). v1.26.x requires explicit additional_authorized_imports on CodeAgent and context-managed ToolCollection.from_mcp() loading.
How do I safely pin smolagents in production?
Avoid unpinned @latest tags in production agent configs. Pin the exact verified version using `pip install "smolagents==1.26.0"` and monitor CodeAgent, ToolCallingAgent, ToolCollection.from_mcp, InferenceClientModel for parameter or schema changes.
Get Instant Breaking-Change Alerts for smolagents
We poll PYPI and huggingface/smolagents every 30 minutes. Get an email with the exact diff when smolagents ships a breaking release beyond v1.26.0.
Recent PYPI Releases
Verified release timestamps from live registry metadata.
Related in Agent SDKs
View Hub ->OpenAI Node SDK • Stability B (78)
Anthropic TypeScript SDK • Stability C+ (70)
Model Context Protocol TypeScript SDK • Stability B (78)
Vercel AI SDK Core • Stability C+ (70)
Vercel AI SDK OpenAI Provider • Stability B (78)
Vercel AI SDK Anthropic Provider • Stability B (78)