tools.md to Korean by @Kim-Ju-won in https://github.com/huggingface/smolagents/pull/1835Full Changelog: https://github.com/huggingface/smolagents/compare/v1.23.0...v1.24.0
anyOf from MCP tools by @duguyue100 in https://github.com/huggingface/smolagents/pull/1708None content in stop-sequence trimming by @chahn in https://github.com/huggingface/smolagents/pull/1826using_different_models.md to Korean by @FacerAin in https://github.com/huggingface/smolagents/pull/1772guided_tour.md to Korean by @FacerAin in https://github.com/huggingface/smolagents/pull/1711async_agent.md to Korean by @FacerAin in https://github.com/huggingface/smolagents/pull/1749agents.md to Korean by @Kim-Ju-won in https://github.com/huggingface/smolagents/pull/1720rag.md to Korean by @Kim-Ju-won in https://github.com/huggingface/smolagents/pull/1646web_browser.md to Korean by @FacerAin in https://github.com/huggingface/smolagents/pull/1748plan_customization.md to Korean by @FacerAin in https://github.com/huggingface/smolagents/pull/1771inspect_runs.md to Korean by @FacerAin in https://github.com/huggingface/smolagents/pull/1747Full Changelog: https://github.com/huggingface/smolagents/compare/v1.22.0...v1.23.0
stop parameter by @Xmader in https://github.com/huggingface/smolagents/pull/1662multiagents.md to Korean by @pyapyapya in https://github.com/huggingface/smolagents/pull/1644instructions are appended by @chahn in https://github.com/huggingface/smolagents/pull/1709react.md to Korean by @nsbg in https://github.com/huggingface/smolagents/pull/1666models.md to Korean by @Kim-Ju-won in https://github.com/huggingface/smolagents/pull/1776Full Changelog: https://github.com/huggingface/smolagents/compare/v1.21.3...v1.22.0
Full Changelog: https://github.com/huggingface/smolagents/compare/v1.21.2...v1.21.3
Full Changelog: https://github.com/huggingface/smolagents/compare/v1.21.1...v1.21.2
stop parameter by @Xmader in https://github.com/huggingface/smolagents/pull/1662Full Changelog: https://github.com/huggingface/smolagents/compare/v1.21.0...v1.21.1
Tool & Model Improvements
Executor Improvements
LocalPythonExecutor security by blocking dunder calls by @nnfrog in https://github.com/huggingface/smolagents/pull/1551continue semantics of LocalPythonExecutorby @adaminsky in https://github.com/huggingface/smolagents/pull/1645GeneratorExp in LocalPythonExecutor to return Generator instead of list by @albertvillanova in https://github.com/huggingface/smolagents/pull/1650Gradio & UI
gr.Number for mapping integer and number type components in launch_gradio_demo by @karenwky in https://github.com/huggingface/smolagents/pull/1320AmazonBedrockServerModel crashes in thinking mode by @benoriol in https://github.com/huggingface/smolagents/pull/1632tool_calling_agent prompt by @yusuf-eren in https://github.com/huggingface/smolagents/pull/1636RemotePythonExecutor should not send variables if none exist by @thomasjpfan in https://github.com/huggingface/smolagents/pull/1605index.md to Korean by @FacerAin in https://github.com/huggingface/smolagents/pull/1581text_to_sql.md to Korean by @nsbg in https://github.com/huggingface/smolagents/pull/1603grammar parameter by @albertvillanova in https://github.com/huggingface/smolagents/pull/1651logs attribute by @albertvillanova in https://github.com/huggingface/smolagents/pull/1653ManagedAgent from docs by @albertvillanova in https://github.com/huggingface/smolagents/pull/1655sse transport by @albertvillanova in https://github.com/huggingface/smolagents/pull/1656model_output by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/1622Full Changelog: https://github.com/huggingface/smolagents/compare/v1.20.0...v1.21.0
Remote Execution:
Callbacks:
Models:
Tools:
Validation of Tool Arguments:
Agent Output Formatting:
Other:
ChatMessage via MessageRole enum by @daavoo in https://github.com/huggingface/smolagents/pull/1479KeyError when agent reaches max steps with image input by @robin-ede in https://github.com/huggingface/smolagents/pull/1525response.usage is None for some OpenRouter models by @sentienthouseplant in https://github.com/huggingface/smolagents/pull/1402content field in ChatMessage by @mdr223 in https://github.com/huggingface/smolagents/pull/1533Examples & Tutorials:
API References:
Other:
Full Changelog: https://github.com/huggingface/smolagents/compare/v1.19.0...v1.20.0
Agent Upgrades:
UI Improvements:
Streaming Refactor:
Agent Output Tracking:
__new__ method only accepts class object, remove **args and **kw… by @abdulhakkeempa in https://github.com/huggingface/smolagents/pull/1462Quickstart Enhancements:
Reference Docs:
Fixes & Formatting:
Full Changelog: https://github.com/huggingface/smolagents/compare/v1.18.0...v1.19.0
Full Changelog: https://github.com/huggingface/smolagents/compare/v1.17.0...v1.18.0
CodeAgent, enabling more reliable and consistent generation patterns
Agent.run(): The Agent.run() method can now return a RunResult object, providing richer metadata on agent execution
Full Changelog: https://github.com/huggingface/smolagents/compare/v1.16.1...v1.17.0
Full Changelog: https://github.com/huggingface/smolagents/compare/v1.16.0...v1.16.1
provider argument in InferenceClientModel has changed from "hf-inference" to "auto".
With "auto", the client will automatically select the first available provider for the model, following the user's configured priority at https://hf.co/settings/inference-providers
Full Changelog: https://github.com/huggingface/smolagents/compare/v1.15.0...v1.16.0
Streaming support
New models
New tools
Full Changelog: https://github.com/huggingface/smolagents/compare/v1.14.0...v1.15.0
MCPClient class that allows users to manage connections to one or more MCP servers, making integration with SmolAgents more flexible and scalable.models module, enabling seamless interaction with Bedrock-hosted models.HfApiModel to InferenceClientModel by @julien-c in https://github.com/huggingface/smolagents/pull/1198
client_kwargs by @sergiopaniego in https://github.com/huggingface/smolagents/pull/1137Literal type annotations in @tool for defining enums by @stephanlensky in https://github.com/huggingface/smolagents/pull/1195Full Changelog: https://github.com/huggingface/smolagents/compare/v1.13.0...v1.14.0
additional_authorized_imports=["numpy"], should it:
additional_authorized_imports=["numpy", "numpy.random", "numpy.other_subpackage", ...]
Option 2 is safer, but Option 1 is much more practical, so we went with option 1. Daily disclaimer: code execution can never be 100% safe on you system, if you want to increase safety, use one of the remote executors that we propose, E2B or Docker.MLXModel): define var to avoid UnboundLocalError by @SauravMaheshkar in https://github.com/huggingface/smolagents/pull/1059Full Changelog: https://github.com/huggingface/smolagents/compare/v1.12.0...v1.13.0
Full Changelog: https://github.com/huggingface/smolagents/compare/v1.11.0...v1.12.0
Full Changelog: https://github.com/huggingface/smolagents/compare/v1.10.0...v1.11.0
executor="docker" to run code in a Docker sandbox! Docs coming soon.Full Changelog: https://github.com/huggingface/smolagents/compare/v1.9.2...v1.10.0
Full Changelog: https://github.com/huggingface/smolagents/compare/v1.9.1...v1.9.2