Remote WasmExecutor has been removed. Exa is now available as a search engine option in WebSearchTool. Also includes documentation and typo cleanups, and a docstring update for LocalPythonExecutor.
Agents
Lightweight agent framework for LLM tool use
Mon
Wed
Fri
JulAugSepOctNovDecJanFebMarAprMayJunJul
LessMore
Releases2Avg Interval7dAvg Cadence4/mo
v1.26.0
v1.25.0
Fixed a high-impact vulnerability in remote executors and removed support for legacy no-prefix pickle payloads. Also improved WasmExecutor sandboxing by isolating Deno cache to per-instance temp directories and switching to loopback-only endpoints, and fixed Rich markup rendering issues in logging.
What's Changed
- Bump version to 1.24 by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/1871
- Fix: Add backward compatibility for deprecated HfApiModel by @MohammadKassas143 in https://github.com/huggingface/smolagents/pull/1863
- Fix typo in…
Improvements ✨
- Update final answer checks to accept the agent instance by @Zoe14 in https://github.com/huggingface/smolagents/pull/1648
- Dialog mode CLI by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/1540
- Add Blaxel support for remote code…
What's Changed
- Bump dev version: v1.22.0.dev0 by @albertvillanova in https://github.com/huggingface/smolagents/pull/1657
- refactor(PythonExecutor): inherit from ABC and declare abstract methods by @HairlessVillager in…
Bug Fixes 🐛
- Fix E2BExecutor by pinning e2b-code-interpreter to < 2 by @albertvillanova in https://github.com/huggingface/smolagents/pull/1733
Full Changelog: https://github.com/huggingface/smolagents/compare/v1.21.2...v1.21.3
Bug Fixes 🐛
- Pin telemetry extra >=0.1.15 to use new TokenUsage structure by @albertvillanova in https://github.com/huggingface/smolagents/pull/1699
Full Changelog: https://github.com/huggingface/smolagents/compare/v1.21.1...v1.21.2
Bug Fixes 🐛
- Fix error for GPT-5 not supporting the
stopparameter by @Xmader in https://github.com/huggingface/smolagents/pull/1662
Full Changelog: https://github.com/huggingface/smolagents/compare/v1.21.0...v1.21.1
Enhancements ✨
-
Tool & Model Improvements
- Add Tool to_code_prompt and to_tool_calling_prompt by @albertvillanova in https://github.com/huggingface/smolagents/pull/1599
- Improve function body extraction in tools by @HairlessVillager in…
New Features ✨
-
Remote Execution:
- Implement remote Python WasmExecutor by @albertvillanova in https://github.com/huggingface/smolagents/pull/1261
-
Callbacks:
- Support callbacks after planning step by @albertvillanova in…
Enhancements 🛠️
- Agent Upgrades:
- Support managed agents in ToolCallingAgent by @albertvillanova in https://github.com/huggingface/smolagents/pull/1456
- Support context managers for agent cleanup by @tobiasofsn in…
New Features ✨
- Multiple Parallel Tool Calls: ToolCallingAgent can now handle multiple tool calls in parallel, significantly enhancing performance for complex tasks.
- Support multiple tool calls in parallel in ToolCallingAgent by @albertvillanova in…
New Features ✨
- Structured Generation in CodeAgent: Add optional support for structured outputs in
CodeAgent, enabling more reliable and consistent generation patterns- Adding optional structured generation to CodeAgent by @akseljoonas in…
New features 🚀
- Streaming support
- Streaming model outputs by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/1236
- Working streaming Gradio chatbot outputs by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/1246 *…
New features 🚀
- SmolAgents MCP Client by @grll in https://github.com/huggingface/smolagents/pull/1200
- Introduce a new
MCPClientclass that allows users to manage connections to one or more MCP servers, making integration with SmolAgents more flexible and…
- Introduce a new
Important changes 🚀
- Gradio UI now logs images observed by your agent: log observations images by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/1113
- allow users to retrieve original Gradio app by @sysradium in…
What's Changed
- Bump dev version: v1.12.0.dev0 by @albertvillanova in https://github.com/huggingface/smolagents/pull/982
- Fix json parsing by @sysradium in https://github.com/huggingface/smolagents/pull/987
- Fix Agent.from_hub for older smolagents exports by…
What's Changed
- Bump dev version: v1.11.0.dev0 by @albertvillanova in https://github.com/huggingface/smolagents/pull/890
- Add Chinese translation & fix zh doc build process by @muscaestar in https://github.com/huggingface/smolagents/pull/893
- Fix chained assignment in…