Sponsor Slot OpenReach builders tracking 30 Agent SDKs and 226 MCP servers. Book featured placement ($150/wk)
Agent Frameworkpypimedium schema drift risk

smolagents

Hugging Face Smolagents by Hugging Face

🤗 smolagents: a barebones library for agents. Agents write python code to call tools or orchestrate other agents.

Live Registry Versionv1.26.0Previous: v1.25.0Published 2026-05-29
Stability Grade
B+ (86/100)
90-Day Velocity
0 releases
Stable release cadence
Dependencies
53 direct
PYPI manifest
License
MIT
Verified on PYPI
Recommended Exact Pin: pip install "smolagents==1.26.0"
TL;DR Verdict & Quick Citation Summary (2026-10-24)Source: AgentBreakWatch Live PYPI Index

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.

Watched Exports / MCP Tool Signatures:
CodeAgentToolCallingAgentToolCollection.from_mcpInferenceClientModel
Before (Deprecated / Unpinned Pattern)
agent = CodeAgent(tools=[], model=HfApiModel())
After (Verified v1.26.0 Pattern)
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.

30-Min Registry & Schema Poller

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.