{"id":"src_GAQvswD7_4iYYULFMcKGj","slug":"smolagents","name":"smolagents","type":"github","url":"https://github.com/huggingface/smolagents","orgId":"org_GDdYeYynEgCEBNBwy-m6s","org":{"slug":"hugging-face","name":"Hugging Face"},"isPrimary":false,"metadata":"{\"evaluatedMethod\":\"github\",\"evaluatedAt\":\"2026-04-07T17:19:22.690Z\",\"changelogDetectedAt\":\"2026-04-07T17:29:15.161Z\"}","releaseCount":34,"releasesLast30Days":0,"avgReleasesPerWeek":0,"latestVersion":"v1.24.0","latestDate":"2026-01-16T05:38:28.000Z","changelogUrl":null,"hasChangelogFile":false,"lastFetchedAt":"2026-04-19T03:02:02.905Z","trackingSince":"2024-12-27T15:59:12.000Z","releases":[{"id":"rel_dtfxTXnpOUdYoMCaKlTwx","version":"v1.24.0","title":"v1.24.0","summary":"## What's Changed\r\n* Bump version to 1.24 by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/1871\r\n* Fix: Add backward compatibilit...","content":"## What's Changed\r\n* Bump version to 1.24 by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/1871\r\n* Fix: Add backward compatibility for deprecated HfApiModel by @MohammadKassas143 in https://github.com/huggingface/smolagents/pull/1863\r\n* Fix typo in secure_code_execution.md by @jonathanagustin in https://github.com/huggingface/smolagents/pull/1892\r\n* Update no-stop-sequence model list to support gpt-5.2* by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/1895\r\n* Fix run_gaia.py token_counts when managed agent is called more than once by @suryabdev in https://github.com/huggingface/smolagents/pull/1878\r\n* 🌐 [i18n-KO] Translated `tools.md` to Korean by @Kim-Ju-won in https://github.com/huggingface/smolagents/pull/1835\r\n* Support passing additional params to apply_chat_template by @albertvillanova in https://github.com/huggingface/smolagents/pull/1902\r\n* fix(gradio_ui): Gradio 6 compatibility by @alejandro-ao in https://github.com/huggingface/smolagents/pull/1903\r\n* Coerce tool calls from APIs into smolagents ChatMessageToolCall format by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/1900\r\n* Add FinalAnswerStep to possible step_callbacks by @suryabdev in https://github.com/huggingface/smolagents/pull/1881\r\n* Upgrade GitHub Actions for Node 24 compatibility by @salmanmkc in https://github.com/huggingface/smolagents/pull/1909\r\n* fix: prevent FinalAnswerException from being caught by except Exception by @majiayu000 in https://github.com/huggingface/smolagents/pull/1914\r\n* Add DeepWiki badge to README by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/1846\r\n* Implement robust timeout mechanism for Python execution by @albertvillanova in https://github.com/huggingface/smolagents/pull/1910\r\n\r\n## New Contributors\r\n* @MohammadKassas143 made their first contribution in https://github.com/huggingface/smolagents/pull/1863\r\n* @jonathanagustin made their first contribution in https://github.com/huggingface/smolagents/pull/1892\r\n* @alejandro-ao made their first contribution in https://github.com/huggingface/smolagents/pull/1903\r\n* @salmanmkc made their first contribution in https://github.com/huggingface/smolagents/pull/1909\r\n* @majiayu000 made their first contribution in https://github.com/huggingface/smolagents/pull/1914\r\n\r\n**Full Changelog**: https://github.com/huggingface/smolagents/compare/v1.23.0...v1.24.0","publishedAt":"2026-01-16T05:38:28.000Z","url":"https://github.com/huggingface/smolagents/releases/tag/v1.24.0","media":[]},{"id":"rel_FgrS24VAFCDL3FZn09x9W","version":"v1.23.0","title":"v1.23.0","summary":"## Improvements ✨\r\n* Update final answer checks to accept the agent instance by @Zoe14 in https://github.com/huggingface/smolagents/pull/1648\r\n* Dialo...","content":"## Improvements ✨\r\n* Update final answer checks to accept the agent instance by @Zoe14 in https://github.com/huggingface/smolagents/pull/1648\r\n* Dialog mode CLI by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/1540\r\n* Add Blaxel support for remote code execution by @Joffref in https://github.com/huggingface/smolagents/pull/1791\r\n* Proposition: Add exponential backoff with jitter for retries by @suryabdev in https://github.com/huggingface/smolagents/pull/1829\r\n* Cut generation at stop sequence post generation by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/1802\r\n* Move executor type validation to python executor creation by @Lrakotoson in https://github.com/huggingface/smolagents/pull/1800\r\n* Support custom Python code executor in CodeAgent by @albertvillanova in https://github.com/huggingface/smolagents/pull/1707\r\n* Retry on rate limit errors by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/1801\r\n* Change default InferenceClient model to Qwen/Qwen3-Next-80B-A3B-Thinking by @suryabdev in https://github.com/huggingface/smolagents/pull/1813\r\n* Remove 'Server' from model names in doc by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/1812\r\n* Optimize comprehension evaluation with generator-based approach in LocalPythonExecutor by @albertvillanova in https://github.com/huggingface/smolagents/pull/1824\r\n* LocalPythonExecutor: Add support for nested dictcomp and setcomp by @suryabdev in https://github.com/huggingface/smolagents/pull/1823\r\n* Support parsing `anyOf` from MCP tools by @duguyue100 in https://github.com/huggingface/smolagents/pull/1708\r\n* Add Modal as sandbox option to docs front page by @sandcat100 in https://github.com/huggingface/smolagents/pull/1865\r\n* make additional_args nullable for managed agents by @nflo in https://github.com/huggingface/smolagents/pull/1827\r\n* vLLM: Move from guided_options_request to structured_outputs by @suryabdev in https://github.com/huggingface/smolagents/pull/1805\r\n\r\n## Fixes 🛠️\r\n* Fix agent logs: logging \"None\" and simplify the logic by @albertvillanova in https://github.com/huggingface/smolagents/pull/1788\r\n* Fix dict(message) bug in AgentMemory.replay for ChatMessage objects by @Flakes342 in https://github.com/huggingface/smolagents/pull/1763\r\n* Fix LocalPythonExecutor support for Enum and other metaclasses by @colesmcintosh in https://github.com/huggingface/smolagents/pull/1797\r\n* Handle `None` content in stop-sequence trimming by @chahn in https://github.com/huggingface/smolagents/pull/1826\r\n* Fix minor benchmark script bugs by @suryabdev in https://github.com/huggingface/smolagents/pull/1822\r\n* Fix YAML scanner error when building documentation by @albertvillanova in https://github.com/huggingface/smolagents/pull/1841\r\n* Pin huggingface-hub <1.0.0 to fix failed to build tokenizers by @albertvillanova in https://github.com/huggingface/smolagents/pull/1844\r\n* Fixed SyntaxError format: keep exception type and message on same line (#835) by @balazsthomay in https://github.com/huggingface/smolagents/pull/1864\r\n* Fix CLI Tool.from_space() call by auto-generating name and description (#1535) by @balazsthomay in https://github.com/huggingface/smolagents/pull/1859\r\n* Add gpt-5.1 support by @suryabdev in https://github.com/huggingface/smolagents/pull/1868\r\n* bug: role not converted back to enum by @njbrake in https://github.com/huggingface/smolagents/pull/1833\r\n* Parallel tool calls lose OpenTelemetry context: tool spans not nested under agent step by @Barcavin in https://github.com/huggingface/smolagents/pull/1840\r\n\r\n## Documentation 📚\r\n* Bump dev version: v1.23.0.dev0 by @albertvillanova in https://github.com/huggingface/smolagents/pull/1787\r\n* 🌐 [i18n-KO] Translated memory.md to Korean by @HyunZ118 in https://github.com/huggingface/smolagents/pull/1793\r\n* 🌐 [i18n-KO] Translated `using_different_models.md` to Korean by @FacerAin in https://github.com/huggingface/smolagents/pull/1772\r\n* 🌐 [i18n-KO] Translated `guided_tour.md` to Korean by @FacerAin in https://github.com/huggingface/smolagents/pull/1711\r\n* 🌐 [i18n-KO] Translated `async_agent.md` to Korean by @FacerAin in https://github.com/huggingface/smolagents/pull/1749\r\n* 🌐 [i18n-KO] Translated `agents.md` to Korean by @Kim-Ju-won in https://github.com/huggingface/smolagents/pull/1720\r\n* 🌐 [i18n-KO] Translated `rag.md` to Korean by @Kim-Ju-won in https://github.com/huggingface/smolagents/pull/1646\r\n* Documentation: Minor fixes by @suryabdev in https://github.com/huggingface/smolagents/pull/1809\r\n* 🌐 [i18n-KO] Translated `web_browser.md` to Korean by @FacerAin in https://github.com/huggingface/smolagents/pull/1748\r\n* [i18n-es] Translating docs to spanish by @1-echo in https://github.com/huggingface/smolagents/pull/1806\r\n* 🌐 [i18n-KO] Translated `plan_customization.md` to Korean by @FacerAin in https://github.com/huggingface/smolagents/pull/1771\r\n* 🌐 [i18n-KO] Translated `inspect_runs.md` to Korean by @FacerAin in https://github.com/huggingface/smolagents/pull/1747\r\n* Build PR documentation for all languages by @albertvillanova in https://github.com/huggingface/smolagents/pull/1842\r\n\r\n**Full Changelog**: https://github.com/huggingface/smolagents/compare/v1.22.0...v1.23.0","publishedAt":"2025-11-17T14:35:02.000Z","url":"https://github.com/huggingface/smolagents/releases/tag/v1.23.0","media":[]},{"id":"rel_02-5lbcWIXKGqV2AxIxxp","version":"v1.22.0","title":"v1.22.0","summary":"## What's Changed\r\n* Bump dev version: v1.22.0.dev0 by @albertvillanova in https://github.com/huggingface/smolagents/pull/1657\r\n* refactor(PythonExecu...","content":"## What's Changed\r\n* Bump dev version: v1.22.0.dev0 by @albertvillanova in https://github.com/huggingface/smolagents/pull/1657\r\n* refactor(PythonExecutor): inherit from ABC and declare abstract methods by @HairlessVillager in https://github.com/huggingface/smolagents/pull/1654\r\n* Fix error for GPT-5 not supporting the `stop` parameter by @Xmader in https://github.com/huggingface/smolagents/pull/1662\r\n* Enable return_full_result directly in run method by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/1658\r\n* Make RunResult json serializable by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/1659\r\n* Change truncation to remove end rather than middle by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/1665\r\n* Document that model kwargs are forwarded to model completion call by @albertvillanova in https://github.com/huggingface/smolagents/pull/1679\r\n* Fix missing kwargs forward to vLLM model generate call by @albertvillanova in https://github.com/huggingface/smolagents/pull/1680\r\n* Raise RuntimeError with LiteLLM response details if no choices by @albertvillanova in https://github.com/huggingface/smolagents/pull/1683\r\n* Fix AmazonBedrockModel with reasoning/thinking content by @albertvillanova in https://github.com/huggingface/smolagents/pull/1681\r\n* Fix installation command in README by quoting extra by @shahgahmed in https://github.com/huggingface/smolagents/pull/1685\r\n* CI hotfix: Pin openai < 1.100.0 for litellm extra by @albertvillanova in https://github.com/huggingface/smolagents/pull/1693\r\n* Support openai 1.100 for litellm extra by @albertvillanova in https://github.com/huggingface/smolagents/pull/1698\r\n* Pin telemetry extra >=0.1.15 to use new TokenUsage structure by @albertvillanova in https://github.com/huggingface/smolagents/pull/1699\r\n* Add AGENTS.md by @albertvillanova in https://github.com/huggingface/smolagents/pull/1701\r\n* Test telemetry extra by @albertvillanova in https://github.com/huggingface/smolagents/pull/1700\r\n* Replace slim with bullseye base image in Docker executor by @albertvillanova in https://github.com/huggingface/smolagents/pull/1702\r\n* fix: error missing f-string by @njbrake in https://github.com/huggingface/smolagents/pull/1691\r\n* Support custom Dockerfile in DockerExecutor by @albertvillanova in https://github.com/huggingface/smolagents/pull/1705\r\n* Support MCP structured output and output schema by @chahn in https://github.com/huggingface/smolagents/pull/1663\r\n* Improve agent image handling by @aaron-ang in https://github.com/huggingface/smolagents/pull/1601\r\n* 🌐 [i18n-KO] Translated `multiagents.md` to Korean by @pyapyapya in https://github.com/huggingface/smolagents/pull/1644\r\n* Fix CI 403 error for Wikipedia page in test_visit_webpage by @albertvillanova in https://github.com/huggingface/smolagents/pull/1716\r\n* fix typos in the system prompt by @Frame17 in https://github.com/huggingface/smolagents/pull/1710\r\n* Fix pip install commands by quoting extras by @albertvillanova in https://github.com/huggingface/smolagents/pull/1690\r\n* Fix deprecation warning about parameter messages by @albertvillanova in https://github.com/huggingface/smolagents/pull/1718\r\n* Fix warning about parameter max_new_tokens by @albertvillanova in https://github.com/huggingface/smolagents/pull/1721\r\n* Adds Modal Remote Executor by @thomasjpfan in https://github.com/huggingface/smolagents/pull/1722\r\n* Fix formatting of title in translation section of documentation by @albertvillanova in https://github.com/huggingface/smolagents/pull/1727\r\n* Remove untranslated sections from the documentation by @albertvillanova in https://github.com/huggingface/smolagents/pull/1729\r\n* fix: add ipykernel in dockerfile of prebuilt docker executor by @cyyeh in https://github.com/huggingface/smolagents/pull/1731\r\n* Fix E2BExecutor by pinning e2b-code-interpreter to < 2 by @albertvillanova in https://github.com/huggingface/smolagents/pull/1733\r\n* Fix DockerExecutor connection reset error with server readiness check by @benoriol in https://github.com/huggingface/smolagents/pull/1684\r\n* [i18n-KO] Translated building_good_agents.md to Korean by @FacerAin in https://github.com/huggingface/smolagents/pull/1714\r\n* 🌐 [i18n-KO] Translated installation.md to Korean by @FacerAin in https://github.com/huggingface/smolagents/pull/1647\r\n* Support e2b-code-interpreter v2 by @August-murr in https://github.com/huggingface/smolagents/pull/1751\r\n* Fix token count initialization when plan_message.token_usage is None by @satwikkansal in https://github.com/huggingface/smolagents/pull/1752\r\n* Support user-configurable parameter override for model completion parameters by @albertvillanova in https://github.com/huggingface/smolagents/pull/1678\r\n* Fix error for grok-4/grok-3-mini not supporting the stop parameter by @suryabdev in https://github.com/huggingface/smolagents/pull/1766\r\n* Replace DockerExecutor Dockerfile with file object by @albertvillanova in https://github.com/huggingface/smolagents/pull/1738\r\n* Update documentation to clarify `instructions` are appended by @chahn in https://github.com/huggingface/smolagents/pull/1709\r\n* 🌐 [i18n-KO] Translated `react.md` to Korean by @nsbg in https://github.com/huggingface/smolagents/pull/1666\r\n* Pass tools_to_call_from to TransformersModel._prepare_completion_kwargs by @albertvillanova in https://github.com/huggingface/smolagents/pull/1782\r\n* 🌐 [i18n-KO] Translated `models.md` to Korean  by @Kim-Ju-won in https://github.com/huggingface/smolagents/pull/1776\r\n* Fix AttributeError when trying to log a None by @albertvillanova in https://github.com/huggingface/smolagents/pull/1786\r\n* fix(agent): remove unused get_variable_names function by @keli-wen in https://github.com/huggingface/smolagents/pull/1784\r\n* Fix XPath injection in search_item_ctrl_f by @albertvillanova in https://github.com/huggingface/smolagents/pull/1768\r\n* Use context manager for per-operation websocket connection in DockerExecutor by @albertvillanova in https://github.com/huggingface/smolagents/pull/1750\r\n\r\n## New Contributors\r\n* @Xmader made their first contribution in https://github.com/huggingface/smolagents/pull/1662\r\n* @shahgahmed made their first contribution in https://github.com/huggingface/smolagents/pull/1685\r\n* @aaron-ang made their first contribution in https://github.com/huggingface/smolagents/pull/1601\r\n* @pyapyapya made their first contribution in https://github.com/huggingface/smolagents/pull/1644\r\n* @Frame17 made their first contribution in https://github.com/huggingface/smolagents/pull/1710\r\n* @cyyeh made their first contribution in https://github.com/huggingface/smolagents/pull/1731\r\n* @satwikkansal made their first contribution in https://github.com/huggingface/smolagents/pull/1752\r\n* @suryabdev made their first contribution in https://github.com/huggingface/smolagents/pull/1766\r\n* @Kim-Ju-won made their first contribution in https://github.com/huggingface/smolagents/pull/1776\r\n* @keli-wen made their first contribution in https://github.com/huggingface/smolagents/pull/1784\r\n\r\n**Full Changelog**: https://github.com/huggingface/smolagents/compare/v1.21.3...v1.22.0","publishedAt":"2025-09-25T08:47:27.000Z","url":"https://github.com/huggingface/smolagents/releases/tag/v1.22.0","media":[]},{"id":"rel_uY5fv-8ZMq03OM1IUH9-f","version":"v1.21.3","title":"v1.21.3","summary":"## Bug Fixes 🐛 \r\n\r\n* Fix E2BExecutor by pinning e2b-code-interpreter to < 2 by @albertvillanova in https://github.com/huggingface/smolagents/pull/173...","content":"## Bug Fixes 🐛 \r\n\r\n* Fix E2BExecutor by pinning e2b-code-interpreter to < 2 by @albertvillanova in https://github.com/huggingface/smolagents/pull/1733\r\n\r\n**Full Changelog**: https://github.com/huggingface/smolagents/compare/v1.21.2...v1.21.3","publishedAt":"2025-09-01T14:35:16.000Z","url":"https://github.com/huggingface/smolagents/releases/tag/v1.21.3","media":[]},{"id":"rel_9h6IZf-HClPnM3-BnIH1r","version":"v1.21.2","title":"v1.21.2","summary":"## Bug Fixes 🐛 \r\n\r\n* Pin telemetry extra >=0.1.15 to use new TokenUsage structure by @albertvillanova in https://github.com/huggingface/smolagents/pu...","content":"## Bug Fixes 🐛 \r\n\r\n* Pin telemetry extra >=0.1.15 to use new TokenUsage structure by @albertvillanova in https://github.com/huggingface/smolagents/pull/1699\r\n\r\n**Full Changelog**: https://github.com/huggingface/smolagents/compare/v1.21.1...v1.21.2","publishedAt":"2025-08-20T05:15:23.000Z","url":"https://github.com/huggingface/smolagents/releases/tag/v1.21.2","media":[]},{"id":"rel_mRBVN6s6jfrxxeIKOl31m","version":"v1.21.1","title":"v1.21.1","summary":"## Bug Fixes 🐛 \r\n\r\n* Fix error for GPT-5 not supporting the `stop` parameter by @Xmader in https://github.com/huggingface/smolagents/pull/1662\r\n\r\n**F...","content":"## Bug Fixes 🐛 \r\n\r\n* Fix error for GPT-5 not supporting the `stop` parameter by @Xmader in https://github.com/huggingface/smolagents/pull/1662\r\n\r\n**Full Changelog**: https://github.com/huggingface/smolagents/compare/v1.21.0...v1.21.1","publishedAt":"2025-08-11T10:52:43.000Z","url":"https://github.com/huggingface/smolagents/releases/tag/v1.21.1","media":[]},{"id":"rel_IuNBLGF_eezCPG8HXH5xi","version":"v1.21.0","title":"v1.21.0","summary":"## Enhancements ✨\r\n\r\n* **Tool & Model Improvements**\r\n\r\n  * Add Tool to_code_prompt and to_tool_calling_prompt by @albertvillanova in https://github.c...","content":"## Enhancements ✨\r\n\r\n* **Tool & Model Improvements**\r\n\r\n  * Add Tool to_code_prompt and to_tool_calling_prompt by @albertvillanova in https://github.com/huggingface/smolagents/pull/1599\r\n  * Improve function body extraction in tools by @HairlessVillager in https://github.com/huggingface/smolagents/pull/1627\r\n  * Support passing model_kwargs to TransformersModel by @albertvillanova in https://github.com/huggingface/smolagents/pull/1608\r\n  * Support dict messages as direct input to models by @albertvillanova in https://github.com/huggingface/smolagents/pull/1570\r\n\r\n* **Executor Improvements**\r\n\r\n  * Enhance `LocalPythonExecutor` security by blocking dunder calls by @nnfrog in https://github.com/huggingface/smolagents/pull/1551\r\n  * Fix `continue` semantics of `LocalPythonExecutor`by @adaminsky in https://github.com/huggingface/smolagents/pull/1645\r\n  * Fix `GeneratorExp` in `LocalPythonExecutor` to return `Generator` instead of `list` by @albertvillanova in https://github.com/huggingface/smolagents/pull/1650\r\n\r\n* **Gradio & UI**\r\n\r\n  * Reset agent memory on GradioUI clear button by @albertvillanova in https://github.com/huggingface/smolagents/pull/1611\r\n  * Use `gr.Number` for mapping integer and number type components in `launch_gradio_demo` by @karenwky in https://github.com/huggingface/smolagents/pull/1320\r\n\r\n## Bug Fixes 🐛\r\n\r\n* Fix: Prevent empty additional_args from being added to agent prompt by @jokokojote in https://github.com/huggingface/smolagents/pull/1566\r\n* Fix SyntaxError in generated Gradio app due to 'class' attribute by @albertvillanova in https://github.com/huggingface/smolagents/pull/1615\r\n* Fix serialization inconsistency in MultiStepAgent.to_dict/from_dict for managed_agents by @hazrmard in https://github.com/huggingface/smolagents/pull/1577\r\n* Fix a kwargs error in LocalPythonExecutor by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/1583\r\n* Fix structured outputs by @MicrosoftJames in https://github.com/huggingface/smolagents/pull/1642\r\n* Fix bug where `AmazonBedrockServerModel` crashes in thinking mode by @benoriol in https://github.com/huggingface/smolagents/pull/1632\r\n* Fix: Remove duplicate line in `tool_calling_agent` prompt by @yusuf-eren in https://github.com/huggingface/smolagents/pull/1636\r\n* Fix: `RemotePythonExecutor` should not send variables if none exist by @thomasjpfan in https://github.com/huggingface/smolagents/pull/1605\r\n* Disable parallel tool calls for final answer by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/1539\r\n\r\n\r\n## Documentation 📚\r\n\r\n* Improve Installation docs with uv option by @albertvillanova in https://github.com/huggingface/smolagents/pull/1550\r\n* Fix and improve MCP server security warnings in docs by @albertvillanova in https://github.com/huggingface/smolagents/pull/1549\r\n* DOC: Fix image link for docs (secure_code_execution.md) by @FacerAin in https://github.com/huggingface/smolagents/pull/1582\r\n* Update title of page \"What are agents\" by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/1546\r\n* Enable multilingual docs by @albertvillanova in https://github.com/huggingface/smolagents/pull/1633\r\n* 🌐 [i18n-KO] Translated `index.md` to Korean by @FacerAin in https://github.com/huggingface/smolagents/pull/1581\r\n* 🌐 [i18n-KO] Translated `text_to_sql.md` to Korean by @nsbg in https://github.com/huggingface/smolagents/pull/1603\r\n\r\n## CI / Dependency Updates 🧪\r\n\r\n* Pin mcpadapt to support image/audio content by @albertvillanova in https://github.com/huggingface/smolagents/pull/1558\r\n* Temporarily skip wrongly implemented tests by @albertvillanova in https://github.com/huggingface/smolagents/pull/1571\r\n* CI hotfix: Pin mlx < 0.26.5 by @albertvillanova in https://github.com/huggingface/smolagents/pull/1586\r\n* Support mlx-0.26.5 by @albertvillanova in https://github.com/huggingface/smolagents/pull/1589\r\n* CI hotfix: Pin transformers < 4.54.0 by @albertvillanova in https://github.com/huggingface/smolagents/pull/1620\r\n* Support transformers 4.54.0 by @albertvillanova in https://github.com/huggingface/smolagents/pull/1625\r\n* Fix CI PytestUnknownMarkWarning: Unknown pytest.mark.timeout by @albertvillanova in https://github.com/huggingface/smolagents/pull/1630\r\n* Fix CI quality: remove trailing whitespace by @albertvillanova in https://github.com/huggingface/smolagents/pull/1617\r\n\r\n## Deprecations & Cleanups 🧹\r\n\r\n* Replace deprecated ast.Num and ast.Str with ast.Constant in tool validation by @WilliamRabuel in https://github.com/huggingface/smolagents/pull/1594\r\n* Remove deprecated `grammar` parameter by @albertvillanova in https://github.com/huggingface/smolagents/pull/1651\r\n* Remove deprecated token count attributes by @albertvillanova in https://github.com/huggingface/smolagents/pull/1652\r\n* Remove deprecated agent `logs` attribute by @albertvillanova in https://github.com/huggingface/smolagents/pull/1653\r\n* Remove mention of deprecated `ManagedAgent` from docs by @albertvillanova in https://github.com/huggingface/smolagents/pull/1655\r\n* Remove deprecated default `sse` transport by @albertvillanova in https://github.com/huggingface/smolagents/pull/1656\r\n* Replace duckduckgo_search with ddgs to address package rename warning by @WilliamRabuel in https://github.com/huggingface/smolagents/pull/1593\r\n* Remove unused is_same_item function by @albertvillanova in https://github.com/huggingface/smolagents/pull/1631\r\n* Remove unnecessary import by @rahul-1729 in https://github.com/huggingface/smolagents/pull/1639\r\n* Simplify _is_package_available by @albertvillanova in https://github.com/huggingface/smolagents/pull/1641\r\n\r\n## Miscellaneous 🔧\r\n\r\n* Add support for Amazon Bedrock API Keys by @colesmcintosh in https://github.com/huggingface/smolagents/pull/1612\r\n* Factorize create_agent_gradio_app_template function by @albertvillanova in https://github.com/huggingface/smolagents/pull/1616\r\n* Fix: Allow passing integers for floats by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/1623\r\n* Fix Tool.forward to raise NotImplementedError instead of returning by @HairlessVillager in https://github.com/huggingface/smolagents/pull/1628\r\n* Make validate_tool_arguments raise instead of returning error string by @albertvillanova in https://github.com/huggingface/smolagents/pull/1634\r\n* Remove mention of python in additional args by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/1584\r\n* ToolCallingAgent: remove unnecessary addition to `model_output` by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/1622\r\n* Minor fix in toolCallingAgentPrompt by @rahul-1729 in https://github.com/huggingface/smolagents/pull/1574\r\n\r\n## Maintenance 🏗️\r\n\r\n* Bump dev version: v1.21.0.dev0 by @albertvillanova in https://github.com/huggingface/smolagents/pull/1544\r\n* Remove empty issue template by @albertvillanova in https://github.com/huggingface/smolagents/pull/1562\r\n* Improve issue templates by @albertvillanova in https://github.com/huggingface/smolagents/pull/1563\r\n* Add issue template for documentation improvements by @albertvillanova in https://github.com/huggingface/smolagents/pull/1564\r\n* Add uv option to CONTRIBUTING by @albertvillanova in https://github.com/huggingface/smolagents/pull/1561\r\n\r\n\r\n## New Contributors\r\n* @jokokojote made their first contribution in https://github.com/huggingface/smolagents/pull/1566\r\n* @rahul-1729 made their first contribution in https://github.com/huggingface/smolagents/pull/1574\r\n* @WilliamRabuel made their first contribution in https://github.com/huggingface/smolagents/pull/1594\r\n* @FacerAin made their first contribution in https://github.com/huggingface/smolagents/pull/1582\r\n* @thomasjpfan made their first contribution in https://github.com/huggingface/smolagents/pull/1605\r\n* @hazrmard made their first contribution in https://github.com/huggingface/smolagents/pull/1577\r\n* @HairlessVillager made their first contribution in https://github.com/huggingface/smolagents/pull/1628\r\n* @benoriol made their first contribution in https://github.com/huggingface/smolagents/pull/1632\r\n* @yusuf-eren made their first contribution in https://github.com/huggingface/smolagents/pull/1636\r\n* @nnfrog made their first contribution in https://github.com/huggingface/smolagents/pull/1551\r\n* @nsbg made their first contribution in https://github.com/huggingface/smolagents/pull/1603\r\n* @karenwky made their first contribution in https://github.com/huggingface/smolagents/pull/1320\r\n* @MicrosoftJames made their first contribution in https://github.com/huggingface/smolagents/pull/1642\r\n* @adaminsky made their first contribution in https://github.com/huggingface/smolagents/pull/1645\r\n\r\n**Full Changelog**: https://github.com/huggingface/smolagents/compare/v1.20.0...v1.21.0","publishedAt":"2025-08-07T10:48:49.000Z","url":"https://github.com/huggingface/smolagents/releases/tag/v1.21.0","media":[]},{"id":"rel_qDm-VOnIIX4DcT65Syjhu","version":"v1.20.0","title":"v1.20.0","summary":"## New Features ✨\r\n\r\n* **Remote Execution**:\r\n  * Implement remote Python WasmExecutor by @albertvillanova in https://github.com/huggingface/smolagent...","content":"## New Features ✨\r\n\r\n* **Remote Execution**:\r\n  * Implement remote Python WasmExecutor by @albertvillanova in https://github.com/huggingface/smolagents/pull/1261\r\n\r\n* **Callbacks**:\r\n  * Support callbacks after planning step by @albertvillanova in https://github.com/huggingface/smolagents/pull/1445\r\n  * Support multiple callbacks per step type in step_callbacks dict by @albertvillanova in https://github.com/huggingface/smolagents/pull/1517\r\n\r\n## Enhancements 🛠️\r\n\r\n* **Models**:\r\n  * Implement rate limiting in all API models by @albertvillanova in https://github.com/huggingface/smolagents/pull/1516\r\n\r\n* **Tools**:\r\n  * Implement exception mechanism for final answer in remote executors by @tobiasofsn in https://github.com/huggingface/smolagents/pull/1429\r\n  * Set default api_key_name in ApiWebSearchTool by @albertvillanova in https://github.com/huggingface/smolagents/pull/1507\r\n  * Implement rate limit mechanism in ApiWebSearchTool by @albertvillanova in https://github.com/huggingface/smolagents/pull/1508\r\n  * Implement rate limit mechanism in DuckDuckGoSearchTool by @albertvillanova in https://github.com/huggingface/smolagents/pull/1515\r\n  * Enable image output for Tool.from_space by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/1510\r\n  * Add adapter_kwargs parameter to MCPClient by @LucasDltg in https://github.com/huggingface/smolagents/pull/1528\r\n\r\n* **Validation of Tool Arguments**:\r\n  * Support multiple types in tool arguments validation by @duguyue100 in https://github.com/huggingface/smolagents/pull/1505\r\n  * Fix input type validation when input schema has multiple types by @duguyue100 in https://github.com/huggingface/smolagents/pull/1530\r\n  * Fix optional args toolcalling by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/1538\r\n\r\n* **Agent Output Formatting**:\r\n  * Implement CodeOutput as analog to ToolOutput by @albertvillanova in https://github.com/huggingface/smolagents/pull/1496\r\n  * Allow markdown or custom formatting for code blocks by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/1493\r\n\r\n* **Other**:\r\n  * Add ApiWebSearchTool to __all__ list by @albertvillanova in https://github.com/huggingface/smolagents/pull/1492\r\n  * Enforced type annotations in `ChatMessage` via `MessageRole` enum by @daavoo in https://github.com/huggingface/smolagents/pull/1479\r\n  * Check authorized imports in LocalPythonExecutor constructor by @jank in https://github.com/huggingface/smolagents/pull/265\r\n\r\n## Bug Fixes 🐛\r\n* Fix `KeyError` when agent reaches max steps with image input by @robin-ede in https://github.com/huggingface/smolagents/pull/1525\r\n* Fix when `response.usage` is `None` for some OpenRouter models by @sentienthouseplant in https://github.com/huggingface/smolagents/pull/1402\r\n* Fix incorrect token counting in streaming TransformersModel by @albertvillanova in https://github.com/huggingface/smolagents/pull/1503\r\n* Minor fix nested quotes that prevent execution by @vinoo-ganesh-keru in https://github.com/huggingface/smolagents/pull/1497\r\n* Fix ChatMessage attribute access after replacing dict with dataclass by @albertvillanova in https://github.com/huggingface/smolagents/pull/1534\r\n* Fix access of `content` field in `ChatMessage` by @mdr223 in https://github.com/huggingface/smolagents/pull/1533\r\n* Fix parallel final answers handling by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/1482\r\n\r\n## Documentation Improvements 📚\r\n\r\n* **Examples & Tutorials**:\r\n  * Add complete Plan Customization example by @albertvillanova in https://github.com/huggingface/smolagents/pull/1506\r\n  * Add Async App with Agent example by @albertvillanova in https://github.com/huggingface/smolagents/pull/1509\r\n  * Improve Plan Customization example with Human-in-the-Loop by @albertvillanova in https://github.com/huggingface/smolagents/pull/1513\r\n\r\n* **API References**:\r\n  * Fix docstring of WikipediaSearchTool by @albertvillanova in https://github.com/huggingface/smolagents/pull/1521\r\n  * Explain rate_limit in tools docstrings by @albertvillanova in https://github.com/huggingface/smolagents/pull/1519\r\n  * Fix Examples in AmazonBedrockServerModel docstring by @albertvillanova in https://github.com/huggingface/smolagents/pull/1522\r\n  * Split Built-in Tools from Tools in Reference docs by @albertvillanova in https://github.com/huggingface/smolagents/pull/1520\r\n\r\n* **Other**:\r\n  * Update Langfuse tracing documentation to SDK v3 by @jannikmaierhoefer in https://github.com/huggingface/smolagents/pull/1447\r\n  * Fix use of context manager agent in docs by @albertvillanova in https://github.com/huggingface/smolagents/pull/1502\r\n\r\n## Maintenance 🏗️\r\n* Fix CI LiteLLM test_call_different_providers_without_key by @albertvillanova in https://github.com/huggingface/smolagents/pull/1527\r\n* Fix test_send_tools_with_default_wikipedia_search_tool by @albertvillanova in https://github.com/huggingface/smolagents/pull/1494\r\n* Fix DockerExecutor tests with final_answer by calling send_tools by @albertvillanova in https://github.com/huggingface/smolagents/pull/1495\r\n* Bump dev version: v1.20.0.dev0 by @albertvillanova in https://github.com/huggingface/smolagents/pull/1477\r\n\r\n## New Contributors\r\n* @sentienthouseplant made their first contribution in https://github.com/huggingface/smolagents/pull/1402\r\n* @daavoo made their first contribution in https://github.com/huggingface/smolagents/pull/1479\r\n* @duguyue100 made their first contribution in https://github.com/huggingface/smolagents/pull/1505\r\n* @vinoo-ganesh-keru made their first contribution in https://github.com/huggingface/smolagents/pull/1497\r\n* @robin-ede made their first contribution in https://github.com/huggingface/smolagents/pull/1525\r\n* @LucasDltg made their first contribution in https://github.com/huggingface/smolagents/pull/1528\r\n* @mdr223 made their first contribution in https://github.com/huggingface/smolagents/pull/1533\r\n\r\n**Full Changelog**: https://github.com/huggingface/smolagents/compare/v1.19.0...v1.20.0","publishedAt":"2025-07-10T16:22:39.000Z","url":"https://github.com/huggingface/smolagents/releases/tag/v1.20.0","media":[]},{"id":"rel_zwjEGrMJoOqbukg1k74Zf","version":"v1.19.0","title":"v1.19.0","summary":"## Enhancements 🛠️\r\n\r\n* **Agent Upgrades**:\r\n  * Support managed agents in ToolCallingAgent by @albertvillanova in https://github.com/huggingface/smo...","content":"## Enhancements 🛠️\r\n\r\n* **Agent Upgrades**:\r\n  * Support managed agents in ToolCallingAgent by @albertvillanova in https://github.com/huggingface/smolagents/pull/1456\r\n  * Support context managers for agent cleanup by @tobiasofsn in https://github.com/huggingface/smolagents/pull/1422\r\n  * Change code tags to xml by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/1442\r\n\r\n* **UI Improvements**:\r\n  * Support reset_agent_memory in GradioUI by @JakeBx in https://github.com/huggingface/smolagents/pull/1420\r\n\r\n* **Streaming Refactor**:\r\n  * Transfer aggregation of streaming events off the Model class by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/1449\r\n\r\n* **Agent Output Tracking**:\r\n  * Store CodeAgent code outputs in ActionStep by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/1463\r\n\r\n## Bug Fixes 🐛\r\n* Fix Agent update planning logic by @Zoe14 in https://github.com/huggingface/smolagents/pull/1417\r\n* Remove plural from named argument return_full_results in examples by @vladlen32230 in https://github.com/huggingface/smolagents/pull/1434\r\n* Fix and refactor final answer checks by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/1448\r\n* Fix logging of Docker build logs by @tobiasofsn in https://github.com/huggingface/smolagents/pull/1421\r\n* Add a mention of additional_args in the manager agent's prompt by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/1441\r\n* Fix missing mentions of additional_args in manager agent prompts by @albertvillanova in https://github.com/huggingface/smolagents/pull/1459\r\n* Fix: `__new__` method only accepts class object, remove **args and **kw… by @abdulhakkeempa in https://github.com/huggingface/smolagents/pull/1462\r\n* Do not wrap types in safer_func by @albertvillanova in https://github.com/huggingface/smolagents/pull/1475\r\n* Match multiline final answers in remote executors by @albertvillanova in https://github.com/huggingface/smolagents/pull/1444\r\n* Revert removal of the last message from memory_messages during planning by @Zoe14 in https://github.com/huggingface/smolagents/pull/1454\r\n\r\n## Documentation Improvements 📚\r\n\r\n* **Quickstart Enhancements**:\r\n  * Add simple tool usage in doc quickstart by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/1470\r\n  * Add open-colab link to Quickstart docs by @albertvillanova in https://github.com/huggingface/smolagents/pull/1472\r\n\r\n* **Reference Docs**:\r\n  * Add AgentMemory to Reference docs by @albertvillanova in https://github.com/huggingface/smolagents/pull/1473\r\n  * Add docstrings to GradioUI by @albertvillanova in https://github.com/huggingface/smolagents/pull/1451\r\n\r\n* **Fixes & Formatting**:\r\n  * Correct broken link in documentation homepage by @johntony366 in https://github.com/huggingface/smolagents/pull/1468 \r\n  * Rename docs files from .mdx to .md by @albertvillanova in https://github.com/huggingface/smolagents/pull/1471\r\n\r\n## Maintenance 🏗️\r\n* Bump dev version: v1.19.0.dev0 by @albertvillanova in https://github.com/huggingface/smolagents/pull/1427\r\n\r\n\r\n## New Contributors\r\n* @Zoe14 made their first contribution in https://github.com/huggingface/smolagents/pull/1417\r\n* @vladlen32230 made their first contribution in https://github.com/huggingface/smolagents/pull/1434\r\n* @JakeBx made their first contribution in https://github.com/huggingface/smolagents/pull/1420\r\n* @abdulhakkeempa made their first contribution in https://github.com/huggingface/smolagents/pull/1462\r\n* @johntony366 made their first contribution in https://github.com/huggingface/smolagents/pull/1468\r\n\r\n**Full Changelog**: https://github.com/huggingface/smolagents/compare/v1.18.0...v1.19.0","publishedAt":"2025-06-24T08:43:14.000Z","url":"https://github.com/huggingface/smolagents/releases/tag/v1.19.0","media":[]},{"id":"rel_Cp9oRGt126WhuuZ4b54U4","version":"v1.18.0","title":"v1.18.0","summary":"## New Features ✨\r\n* **Multiple Parallel Tool Calls**: ToolCallingAgent can now handle multiple tool calls in parallel, significantly enhancing perfor...","content":"## New Features ✨\r\n* **Multiple Parallel Tool Calls**: ToolCallingAgent can now handle multiple tool calls in parallel, significantly enhancing performance for complex tasks.\r\n  * Support multiple tool calls in parallel in ToolCallingAgent by @albertvillanova in https://github.com/huggingface/smolagents/pull/1412\r\n* **Streaming Output for ToolCallingAgent**: ToolCallingAgent now supports streaming outputs, improving responsiveness and user experience during multi-step tool interactions\r\n  * Streaming outputs for ToolCallingAgent 🚀 by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/1409\r\n* **API Web Search Tool**: Introduced a new ApiWebSearchTool, enabling structured web search capabilities via API.\r\n  * Create API web search tool by @albertvillanova in https://github.com/huggingface/smolagents/pull/1400\r\n\r\n## Enhancements 🛠️\r\n* Update prompts to avoid confusion: search -> web_search and wiki -> wiki_search by @SrzStephen in https://github.com/huggingface/smolagents/pull/1403\r\n* Make Agent.system_prompt read only by @albertvillanova in https://github.com/huggingface/smolagents/pull/1399\r\n* Support configurable tool_choice in prepare_completion_kwargs by @albertvillanova in https://github.com/huggingface/smolagents/pull/1392\r\n* Support passing additional params to MLXModel load and tokenizer.apply_chat_template by @albertvillanova in https://github.com/huggingface/smolagents/pull/1406\r\n* Support custom headers/params for ApiWebSearchTool by @albertvillanova in https://github.com/huggingface/smolagents/pull/1411\r\n\r\n## Bug Fixes 🐛\r\n* Fix: Support custom inputs execution for custom Final Answer Tool by @Lrakotoson in https://github.com/huggingface/smolagents/pull/1383\r\n* Fix @tool decorator for remote Python executor by @tobiasofsn in https://github.com/huggingface/smolagents/pull/1334\r\n* Always pass add_generation_prompt=True to apply_chat_template by @albertvillanova in https://github.com/huggingface/smolagents/pull/1416\r\n\r\n## Documentation Improvements 📚\r\n* Make docs neutral about agent types by @julien-c in https://github.com/huggingface/smolagents/pull/1376\r\n* Add MCP tools doc section by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/1394\r\n* Update ToolCollection.from_mcp docstring examples by @neonwatty in https://github.com/huggingface/smolagents/pull/1398\r\n* Document better final_answer_checks by @albertvillanova in https://github.com/huggingface/smolagents/pull/1407\r\n* Fix typo in secure code execution documentation by @chahn in https://github.com/huggingface/smolagents/pull/1414\r\n* Add chat server demo to examples by @albertvillanova in https://github.com/huggingface/smolagents/pull/1415\r\n* Fix VLM model in web_browser example docs by @albertvillanova in https://github.com/huggingface/smolagents/pull/1424\r\n* Fix ValueError on Guided Tour docs by @albertvillanova in https://github.com/huggingface/smolagents/pull/1425\r\n* Explain agent types better in Guided tour docs by @albertvillanova in https://github.com/huggingface/smolagents/pull/1426\r\n* Add Quickstart page to docs by @albertvillanova in https://github.com/huggingface/smolagents/pull/1413\r\n\r\n## Maintenance 🏗️\r\n* Bump dev version: v1.18.0.dev0 by @albertvillanova in https://github.com/huggingface/smolagents/pull/1390\r\n\r\n## New Contributors\r\n* @Lrakotoson made their first contribution in https://github.com/huggingface/smolagents/pull/1383\r\n* @neonwatty made their first contribution in https://github.com/huggingface/smolagents/pull/1398\r\n* @SrzStephen made their first contribution in https://github.com/huggingface/smolagents/pull/1403\r\n* @chahn made their first contribution in https://github.com/huggingface/smolagents/pull/1414\r\n\r\n**Full Changelog**: https://github.com/huggingface/smolagents/compare/v1.17.0...v1.18.0","publishedAt":"2025-06-10T14:15:08.000Z","url":"https://github.com/huggingface/smolagents/releases/tag/v1.18.0","media":[]},{"id":"rel_ca8ZgEdhd48PllV2D12cS","version":"v1.17.0","title":"v1.17.0","summary":"## New Features ✨\r\n* **Structured Generation in CodeAgent**: Add optional support for structured outputs in `CodeAgent`, enabling more reliable and co...","content":"## New Features ✨\r\n* **Structured Generation in CodeAgent**: Add optional support for structured outputs in `CodeAgent`, enabling more reliable and consistent generation patterns\r\n  * Adding optional structured generation to CodeAgent by @akseljoonas in https://github.com/huggingface/smolagents/pull/1346\r\n* **Support for Streamable HTTP MCP Servers**: Expand compatibility with new server types to support streamable HTTP MCP implementations\r\n  * Support Streamable HTTP MCP servers by @albertvillanova in https://github.com/huggingface/smolagents/pull/1384\r\n* **Run Results from `Agent.run()`**: The `Agent.run()` method can now return a `RunResult` object, providing richer metadata on agent execution\r\n  * Agent.run() can return RunResult object by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/1337\r\n\r\n## Security Enhancements 🔒\r\n* **Safer LocalPythonExecutor**: Prevent indirect submodule access via attribute resolution, mitigating potential security risks in user-defined code\r\n  * Prevent submodules through indirect attribute access in LocalPythonExecutor by @albertvillanova in https://github.com/huggingface/smolagents/pull/1375\r\n\r\n## Enhancements 🛠️\r\n* **LocalPythonExecutor Enhancements**:\r\n  * Support annotated assignments within class definition in LocalPythonExecutor by @albertvillanova in https://github.com/huggingface/smolagents/pull/1355\r\n  * Fix evaluate_class_def for Assign Attribute target in LocalPythonExecutor by @albertvillanova in https://github.com/huggingface/smolagents/pull/1357\r\n  * Support 'pass' statement in class definition in LocalPythonExecutor by @albertvillanova in https://github.com/huggingface/smolagents/pull/1358\r\n  * Refactor tests of LocalPythonExecutor by @albertvillanova in https://github.com/huggingface/smolagents/pull/1356\r\n* Improve LaTeX rendering in GradioUI with extended delimiter support by @albertvillanova in https://github.com/huggingface/smolagents/pull/1387\r\n\r\n## Bug Fixes 🐛\r\n* **Streaming fixes**\r\n  * Fix live streaming when generating planning steps by @FlorianVal in https://github.com/huggingface/smolagents/pull/1348\r\n  * Stop streaming if LiteLLM provide a finish_reason by @FlorianVal in https://github.com/huggingface/smolagents/pull/1350\r\n  * add api_base and api_keys to preparation of kwargs for generate stream by @FlorianVal in https://github.com/huggingface/smolagents/pull/1344\r\n* Fix WebSearchTool validation error by @albertvillanova in https://github.com/huggingface/smolagents/pull/1367\r\n* Fix smolagents benchmark by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/1377\r\n\r\n## Documentation Improvements 📚\r\n* Add example docs about using OpenRouter models by @albertvillanova in https://github.com/huggingface/smolagents/pull/1364\r\n* Fix Llama model name in docs example by @SaiDunoyer in https://github.com/huggingface/smolagents/pull/1379\r\n* fix typo  in docstring in mcp_client.py by @grll in https://github.com/huggingface/smolagents/pull/1380\r\n* Document use_structured_outputs_internally with version added by @albertvillanova in https://github.com/huggingface/smolagents/pull/1388\r\n* Fix rendering of version added in docs by @albertvillanova in https://github.com/huggingface/smolagents/pull/1389\r\n* Fix broken link in agentic RAG examples page by @vksx in https://github.com/huggingface/smolagents/pull/1363\r\n\r\n## Maintenance 🏗️\r\n* Bump dev version: v1.17.0.dev0 by @albertvillanova in https://github.com/huggingface/smolagents/pull/1336\r\n* Remove deprecated from_hf_api methods by @albertvillanova in https://github.com/huggingface/smolagents/pull/1351\r\n\r\n## New Contributors\r\n* @FlorianVal made their first contribution in https://github.com/huggingface/smolagents/pull/1344\r\n* @vksx made their first contribution in https://github.com/huggingface/smolagents/pull/1363\r\n* @akseljoonas made their first contribution in https://github.com/huggingface/smolagents/pull/1346\r\n* @SaiDunoyer made their first contribution in https://github.com/huggingface/smolagents/pull/1379\r\n\r\n**Full Changelog**: https://github.com/huggingface/smolagents/compare/v1.16.1...v1.17.0","publishedAt":"2025-05-27T11:26:12.000Z","url":"https://github.com/huggingface/smolagents/releases/tag/v1.17.0","media":[]},{"id":"rel_YgK34UqLEMW5Bzbmx9ISZ","version":"v1.16.1","title":"v1.16.1","summary":"## Bug Fixes 🐛 \r\n\r\n* Revert \"Add timeout mechanism for code execution\" by @albertvillanova in https://github.com/huggingface/smolagents/pull/1340\r\n\r\n...","content":"## Bug Fixes 🐛 \r\n\r\n* Revert \"Add timeout mechanism for code execution\" by @albertvillanova in https://github.com/huggingface/smolagents/pull/1340\r\n\r\n**Full Changelog**: https://github.com/huggingface/smolagents/compare/v1.16.0...v1.16.1","publishedAt":"2025-05-16T15:06:21.000Z","url":"https://github.com/huggingface/smolagents/releases/tag/v1.16.1","media":[]},{"id":"rel_jsMSCP2shvzdorzdu8k9E","version":"v1.16.0","title":"v1.16.0","summary":"## New features 🚀\r\n* **Tools**\r\n  * Add Bing search engine to WebSearchTool by @albertvillanova in https://github.com/huggingface/smolagents/pull/131...","content":"## New features 🚀\r\n* **Tools**\r\n  * Add Bing search engine to WebSearchTool by @albertvillanova in https://github.com/huggingface/smolagents/pull/1313\r\n* **Local Python executor improvements**\r\n  * Support passing custom functions to local Python executor by @albertvillanova in https://github.com/huggingface/smolagents/pull/1302\r\n  * Support executor_kwargs in LocalPythonExecutor for initialization customization by @albertvillanova in https://github.com/huggingface/smolagents/pull/1314\r\n  * Add timeout mechanism for code execution by @albertvillanova in https://github.com/huggingface/smolagents/pull/1318\r\n* **CLI improvements**\r\n* Enable local web agents via api_base and api_key by @zbloss in https://github.com/huggingface/smolagents/pull/1333\r\n\r\n## Important changes ⚠️\r\n* **Default provider for InferenceClientModel is now \"auto\"**\r\n  The default value of the `provider` argument in `InferenceClientModel` has changed from `\"hf-inference\"` to `\"auto\"`.\r\n  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\r\n  * Pin minimum version of huggingface-hub to use InferenceClient auto provider by @julien-c in https://github.com/huggingface/smolagents/pull/1322\r\n\r\n## Bug Fixes 🐛\r\n* **Streaming GradioUI fixes**\r\n  * Fix thought yield in GradioUI for streaming and non-streaming by @albertvillanova in https://github.com/huggingface/smolagents/pull/1311\r\n  * Fix duplicate error message in GradioUI, test, and refactor by @albertvillanova in https://github.com/huggingface/smolagents/pull/1312\r\n  * Fix duplicate plan display in GradioUI when streaming by @albertvillanova in https://github.com/huggingface/smolagents/pull/1317\r\n\r\n## Documentation 📚\r\n* Improve docs about Agentic RAG by @albertvillanova in https://github.com/huggingface/smolagents/pull/1319\r\n* Update Readme video with streaming example by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/1306\r\n\r\n## Misc 🛠️\r\n* Bump dev version: v1.16.0.dev0 by @albertvillanova in https://github.com/huggingface/smolagents/pull/1304\r\n* Update minimum supported Gradio version to 5.14.0 to fix Sidebar-related AttributeError by @albertvillanova in https://github.com/huggingface/smolagents/pull/1309\r\n* Fix deprecation of HfApiModel by @albertvillanova in https://github.com/huggingface/smolagents/pull/1315\r\n* Fix CI DuckDuckGoSearchTool tests raising 202 Ratelimit by @albertvillanova in https://github.com/huggingface/smolagents/pull/1324\r\n* Remove utils dir from Makefile check_dirs by @tobiasofsn in https://github.com/huggingface/smolagents/pull/1335\r\n\r\n\r\n## New Contributors\r\n* @tobiasofsn made their first contribution in https://github.com/huggingface/smolagents/pull/1335\r\n* @zbloss made their first contribution in https://github.com/huggingface/smolagents/pull/1333\r\n\r\n**Full Changelog**: https://github.com/huggingface/smolagents/compare/v1.15.0...v1.16.0","publishedAt":"2025-05-16T05:59:44.000Z","url":"https://github.com/huggingface/smolagents/releases/tag/v1.16.0","media":[]},{"id":"rel_8at-hKKU77eIEEanjemFM","version":"v1.15.0","title":"v1.15.0","summary":"## New features 🚀\r\n\r\n* **Streaming support**\r\n  * Streaming model outputs by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/1236\r...","content":"## New features 🚀\r\n\r\n* **Streaming support**\r\n  * Streaming model outputs by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/1236\r\n  * Working streaming Gradio chatbot outputs by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/1246\r\n  * Simplify validation of stream by @albertvillanova in https://github.com/huggingface/smolagents/pull/1242\r\n  * Fix return type hint for generate_stream and rename CompletionDelta to ChatMessageStreamDelta by @albertvillanova in https://github.com/huggingface/smolagents/pull/1247\r\n  * Remove dead code related to non-CompletionDelta streaming results by @albertvillanova in https://github.com/huggingface/smolagents/pull/1248\r\n\r\n* **New models**\r\n  * Add LiteLLM Router model by @NishantBaheti in https://github.com/huggingface/smolagents/pull/1096\r\n\r\n* **New tools**\r\n  * Implement WebSearchTool by @albertvillanova in https://github.com/huggingface/smolagents/pull/1300\r\n  * Replace DuckDuckGoSearchTool with WebSearchTool in docs by @albertvillanova in https://github.com/huggingface/smolagents/pull/1303\r\n\r\n## New documentation 📚\r\n* Add Installation docs by @albertvillanova in https://github.com/huggingface/smolagents/pull/1293\r\n* Add docs about Using different models: Gemini models by @albertvillanova in https://github.com/huggingface/smolagents/pull/1297\r\n\r\n## Fixes and improvements 🔧\r\n* Fix typo in pydoc by @darxriggs in https://github.com/huggingface/smolagents/pull/1222\r\n* Change language from semantic to lexical for BM25 by @HeardACat in https://github.com/huggingface/smolagents/pull/1230\r\n* Move MCPClient to root-level lib and manage optional dependencies by @njbrake in https://github.com/huggingface/smolagents/pull/1238\r\n* Update README.md by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/1233\r\n* Set \\_\\_name__ to \"\\_\\_main__\" in local Python interpreter by @albertvillanova in https://github.com/huggingface/smolagents/pull/1234\r\n* Remove unused argument from the MultiStepAgent documentation by @damnever in https://github.com/huggingface/smolagents/pull/1250\r\n* Add billing for inference providers model by @merveenoyan in https://github.com/huggingface/smolagents/pull/1260\r\n* Fix Loading GAIA dataset by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/1266\r\n* Fix remote executor send_tools to skip pip install on empty package list by @albertvillanova in https://github.com/huggingface/smolagents/pull/1273\r\n* Remove smolagents installation from remote executors by @albertvillanova in https://github.com/huggingface/smolagents/pull/1274\r\n* Allow VisitWebpageTool to run on remote executors without installing smolagents by @keetrap in https://github.com/huggingface/smolagents/pull/1288\r\n* Refactor RemotePythonExecutor.send_tools to call install_packages by @albertvillanova in https://github.com/huggingface/smolagents/pull/1281\r\n* Remove unnecessary dependencies from DockerExecutor image by @albertvillanova in https://github.com/huggingface/smolagents/pull/1272\r\n* Support tools with union type return by @albertvillanova in https://github.com/huggingface/smolagents/pull/1294\r\n* Fix WikipediaSearchTool in remote executors by @albertvillanova in https://github.com/huggingface/smolagents/pull/1283\r\n* docs: fix typo by @luisegarduno in https://github.com/huggingface/smolagents/pull/1253\r\n* Fix Custom Final Answer Tool for ToolCallingAgent by @HeardACat in https://github.com/huggingface/smolagents/pull/1255\r\n\r\n## Maintenance 🏗️\r\n* Bump dev version: v1.15.0.dev0 by @albertvillanova in https://github.com/huggingface/smolagents/pull/1221\r\n* CI: Simplify testing by running all tests in a single command by @albertvillanova in https://github.com/huggingface/smolagents/pull/1218\r\n* Fix deprecated typing by @albertvillanova in https://github.com/huggingface/smolagents/pull/1249\r\n* Update Open DeepResearch requirements by @albertvillanova in https://github.com/huggingface/smolagents/pull/1265\r\n* Lower Pillow dependency minimum version to 10.0.1 by @albertvillanova in https://github.com/huggingface/smolagents/pull/1270\r\n* Hotfix CI: pin mcp < 1.7.0 by @albertvillanova in https://github.com/huggingface/smolagents/pull/1285\r\n* Remove duckduckgo-search as required dependency by @albertvillanova in https://github.com/huggingface/smolagents/pull/1271\r\n* Unpin mcp < 1.7.0 by @albertvillanova in https://github.com/huggingface/smolagents/pull/1289\r\n* Remove markdownify as required dependency by @albertvillanova in https://github.com/huggingface/smolagents/pull/1275\r\n\r\n## New Contributors\r\n* @darxriggs made their first contribution in https://github.com/huggingface/smolagents/pull/1222\r\n* @HeardACat made their first contribution in https://github.com/huggingface/smolagents/pull/1230\r\n* @NishantBaheti made their first contribution in https://github.com/huggingface/smolagents/pull/1096\r\n* @damnever made their first contribution in https://github.com/huggingface/smolagents/pull/1250\r\n* @luisegarduno made their first contribution in https://github.com/huggingface/smolagents/pull/1253\r\n\r\n**Full Changelog**: https://github.com/huggingface/smolagents/compare/v1.14.0...v1.15.0","publishedAt":"2025-05-07T15:25:24.000Z","url":"https://github.com/huggingface/smolagents/releases/tag/v1.15.0","media":[]},{"id":"rel_9nB1iwv0eNSs9HUWbZu2L","version":"v1.14.0","title":"v1.14.0","summary":"## New features 🚀\r\n* SmolAgents MCP Client by @grll in https://github.com/huggingface/smolagents/pull/1200\r\n  * Introduce a new `MCPClient` class tha...","content":"## New features 🚀\r\n* SmolAgents MCP Client by @grll in https://github.com/huggingface/smolagents/pull/1200\r\n  * Introduce a new `MCPClient` class that allows users to manage connections to one or more MCP servers, making integration with SmolAgents more flexible and scalable.\r\n* Amazon Bedrock Native API Support by @leandrodamascena in https://github.com/huggingface/smolagents/pull/1115\r\n  * Add native support for Amazon Bedrock in the `models` module, enabling seamless interaction with Bedrock-hosted models.\r\n\r\n## Important changes 💥\r\n* Rename `HfApiModel` to `InferenceClientModel` by @julien-c in https://github.com/huggingface/smolagents/pull/1198\r\n  * Align the naming with its broader usage beyond the Hugging Face Hub, clarifying its purpose and usage.\r\n* Star-pattern-based import authorization by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/1180\r\n  * Enhance import security by introducing a star-pattern-based authorization mechanism, allowing fine-grained control over which modules can be imported.\r\n\r\n## Fixes and improvements 🔧\r\n* Unpin pillow < 11.2.0 by @albertvillanova in https://github.com/huggingface/smolagents/pull/1140\r\n* Pass vLLM (VLLMModel) model client params as `client_kwargs` by @sergiopaniego in https://github.com/huggingface/smolagents/pull/1137\r\n* Docs: Add Code Agents in agency table by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/1144\r\n* Replace ChatMessage.from_hf_api with from_dict with asdict by @albertvillanova in https://github.com/huggingface/smolagents/pull/1076\r\n* Make to_messages methods compatible with qwen vl by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/1148\r\n* Fix get_json_schema for keyword in description by @albertvillanova in https://github.com/huggingface/smolagents/pull/1146\r\n* Support images in stream_to_gradio by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/1154\r\n* Fix: adjust PlanningStep user message to avoid azure's content filter by @bpoppinga in https://github.com/huggingface/smolagents/pull/1151\r\n* Refactor code agent system prompt by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/1153\r\n* Fix bug authors by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/1163\r\n* Fix memory step model output in ToolCallingAgent by @keetrap in https://github.com/huggingface/smolagents/pull/1156\r\n* Parsing model outputs: allow whitespaces after the header of code blobs by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/1172\r\n* Fix: Add default value to optional argument by @rca-umb in https://github.com/huggingface/smolagents/pull/1155\r\n* Add more detail to code execution documentation  by @maeste in https://github.com/huggingface/smolagents/pull/983\r\n* Make TextInspectorTool serializable by @albertvillanova in https://github.com/huggingface/smolagents/pull/1176\r\n* Clarify tool usage in agent step tutorial by @albertvillanova in https://github.com/huggingface/smolagents/pull/1175\r\n* Provide ability to override Agent logger by @sysradium in https://github.com/huggingface/smolagents/pull/1166\r\n* Pin mcpadapt >= 0.0.19 to include security fix by @albertvillanova in https://github.com/huggingface/smolagents/pull/1178\r\n* Fix tool validation with multiple assignments by @albertvillanova in https://github.com/huggingface/smolagents/pull/1177\r\n* Fix typo in the memory.mdx by @alpsencer in https://github.com/huggingface/smolagents/pull/1187\r\n* feat: add custom Docker image support and enhanced configuration for DockerExecutor by @kingdomad in https://github.com/huggingface/smolagents/pull/1057\r\n* Add api_key argument in HfApiModel by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/947\r\n* Implement Tool.from_dict by @albertvillanova in https://github.com/huggingface/smolagents/pull/1006\r\n* Implement Agent.from_dict by @albertvillanova in https://github.com/huggingface/smolagents/pull/1007\r\n* Call recursively Agent.to_dict for managed agents by @albertvillanova in https://github.com/huggingface/smolagents/pull/1008\r\n* Support `Literal` type annotations in `@tool` for defining enums by @stephanlensky in https://github.com/huggingface/smolagents/pull/1195\r\n* Support class docstrings in LocalPythonExecutor by @albertvillanova in https://github.com/huggingface/smolagents/pull/1192\r\n* Reference Inference Providers more clearly by @julien-c in https://github.com/huggingface/smolagents/pull/1197\r\n* Support annotated assignment in LocalPythonExecutor by @albertvillanova in https://github.com/huggingface/smolagents/pull/1193\r\n* Fix evaluate_boolop for non-boolean return type by @ZeusFSX in https://github.com/huggingface/smolagents/pull/1191\r\n* Make MultiStepAgent and abstract class by @sysradium in https://github.com/huggingface/smolagents/pull/1204\r\n* fix: creating tool should not affect function that is being wrapped by @njbrake in https://github.com/huggingface/smolagents/pull/1203\r\n* Remove header comments from MDX docs for proper rendering by @albertvillanova in https://github.com/huggingface/smolagents/pull/1212\r\n* Fix CI test by updating LiteLLM error message by @albertvillanova in https://github.com/huggingface/smolagents/pull/1214\r\n* Fix typo in evaluate_ast() docs: static_tools -> custom_tools by @JungeAlexander in https://github.com/huggingface/smolagents/pull/1217\r\n* Make OpenDeepResearch tools serializable by @albertvillanova in https://github.com/huggingface/smolagents/pull/1206\r\n* Add Security Policy by @albertvillanova in https://github.com/huggingface/smolagents/pull/1208\r\n* Improve docs for stream run by @albertvillanova in https://github.com/huggingface/smolagents/pull/1215\r\n* Skip unsupported stop parameter for reasoning models by @albertvillanova in https://github.com/huggingface/smolagents/pull/1211\r\n\r\n\r\n## New Contributors\r\n* @leandrodamascena made their first contribution in https://github.com/huggingface/smolagents/pull/1115\r\n* @bpoppinga made their first contribution in https://github.com/huggingface/smolagents/pull/1151\r\n* @rca-umb made their first contribution in https://github.com/huggingface/smolagents/pull/1155\r\n* @alpsencer made their first contribution in https://github.com/huggingface/smolagents/pull/1187\r\n* @stephanlensky made their first contribution in https://github.com/huggingface/smolagents/pull/1195\r\n* @ZeusFSX made their first contribution in https://github.com/huggingface/smolagents/pull/1191\r\n* @JungeAlexander made their first contribution in https://github.com/huggingface/smolagents/pull/1217\r\n\r\n**Full Changelog**: https://github.com/huggingface/smolagents/compare/v1.13.0...v1.14.0","publishedAt":"2025-04-18T09:59:12.000Z","url":"https://github.com/huggingface/smolagents/releases/tag/v1.14.0","media":[]},{"id":"rel_Kk26WZJ7vIlSsyXaNrbm8","version":"v1.13.0","title":"v1.13.0","summary":"## Important changes 🚀 \r\n* Gradio UI now logs images observed by your agent: log observations images by @aymeric-roucher in https://github.com/huggin...","content":"## Important changes 🚀 \r\n* Gradio UI now logs images observed by your agent: log observations images by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/1113\r\n* allow users to retrieve original Gradio app by @sysradium in https://github.com/huggingface/smolagents/pull/811\r\n* Re-authorize submodule imports if top was allowed by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/1103\r\n     - We had internal debate about this one: when a user authorizes import of a top level package like `additional_authorized_imports=[\"numpy\"]`, should it:\r\n         - Option 1: by default enable all subpackages like numpy.random, except potentially dangerous ones that we then have to detect through a blocklist?\r\n         - Option 2: not import any subpackage, thus user have to type any subpackage they want to authorize, as in `additional_authorized_imports=[\"numpy\", \"numpy.random\", \"numpy.other_subpackage\", ...]`\r\n         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.\r\n\r\n## Fixes & Tweaks\r\n* Bump dev version: v1.13.0.dev0 by @albertvillanova in https://github.com/huggingface/smolagents/pull/1035\r\n* Fix telemetry AttributeError: module 'smolagents' has no attribute 'ApiModel' by @IlyaGusev in https://github.com/huggingface/smolagents/pull/1040\r\n* Hotfix CI: pin transformers < 4.50.0 by @albertvillanova in https://github.com/huggingface/smolagents/pull/1044\r\n* Align name of tool __source__ by @albertvillanova in https://github.com/huggingface/smolagents/pull/1042\r\n* Update type hints and docstrings of Agent/Tool .save with Path type by @albertvillanova in https://github.com/huggingface/smolagents/pull/1036\r\n* Fix PythonInterperterTool description of code input with auth imports by @benediktstroebl in https://github.com/huggingface/smolagents/pull/1053\r\n* Fix typos in Code Agent prompt by @andysalerno in https://github.com/huggingface/smolagents/pull/1063\r\n* Validate agent name by @Misakar-0v0 in https://github.com/huggingface/smolagents/pull/768\r\n* fix(`MLXModel`): define var to avoid `UnboundLocalError` by @SauravMaheshkar in https://github.com/huggingface/smolagents/pull/1059\r\n* Minor fix code block rendering in Open DeepResearch README by @keetrap in https://github.com/huggingface/smolagents/pull/1055\r\n* Add WikipediaSearchTool to default tools by @touseefahmed96 in https://github.com/huggingface/smolagents/pull/514\r\n* Improve MLXModel call by @albertvillanova in https://github.com/huggingface/smolagents/pull/1067\r\n* Support transformers 4.50.0 by @albertvillanova in https://github.com/huggingface/smolagents/pull/1070\r\n* Improve Tool.push_to_hub to avoid saving to local filesystem by @albertvillanova in https://github.com/huggingface/smolagents/pull/1051\r\n* Fix Tool.to_dict for nullable input parameter by @albertvillanova in https://github.com/huggingface/smolagents/pull/1038\r\n* Support tool Gradio app with boolean input type by @albertvillanova in https://github.com/huggingface/smolagents/pull/1065\r\n* Support running CI on push to ci-* branch by @albertvillanova in https://github.com/huggingface/smolagents/pull/1047\r\n* Set Agent/Tool requirements as a sorted list by @albertvillanova in https://github.com/huggingface/smolagents/pull/1048\r\n* Support passing raw to ChatMessage.from_dict by @albertvillanova in https://github.com/huggingface/smolagents/pull/1010\r\n* Distinguish between AgentToolCallError and AgentToolExecutionError by @sysradium in https://github.com/huggingface/smolagents/pull/1060\r\n* Add detail on potential threats to system by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/1077\r\n* Refactor Tool.save by @albertvillanova in https://github.com/huggingface/smolagents/pull/1075\r\n* Fixing typos in toolcallingagent prompt by @Y-artios in https://github.com/huggingface/smolagents/pull/1082\r\n* Refactor step yielding during streaming run to log PlanningSteps by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/1083\r\n* Make pandas a test extra dependency only by @albertvillanova in https://github.com/huggingface/smolagents/pull/1081\r\n* Add security disclaimer to MCP docs by @albertvillanova in https://github.com/huggingface/smolagents/pull/1090\r\n* Fix get_json_schema for docstrings with type annotations by @albertvillanova in https://github.com/huggingface/smolagents/pull/1088\r\n* Remove transformers/huggingface-hub to check torch availability by @albertvillanova in https://github.com/huggingface/smolagents/pull/1022\r\n* Improve ApiModel and subclasses instantiation by @albertvillanova in https://github.com/huggingface/smolagents/pull/1095\r\n* Add trust_remote_code to ToolCollection.from_mcp by @albertvillanova in https://github.com/huggingface/smolagents/pull/1091\r\n* Add user message after plan by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/1104\r\n* Add agent interruption by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/1112\r\n* Validate tool name as Python identifier by @albertvillanova in https://github.com/huggingface/smolagents/pull/1041\r\n* Increase request timeout for tests that time out by @albertvillanova in https://github.com/huggingface/smolagents/pull/972\r\n* Update README.md by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/1125\r\n* Change: expanded error exception for incorrect tool parameters by @cgthayer in https://github.com/huggingface/smolagents/pull/1099\r\n* Hotfix CI AttributeError: 'PngImageFile' object has no attribute 'filename' by @albertvillanova in https://github.com/huggingface/smolagents/pull/1128\r\n* Replace AgentGenerationError with AgentParsingError for ToolCallingAgent by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/1131\r\n* Fix planning_interval=1 bug in MultiStepAgent by @RolandJAAI in https://github.com/huggingface/smolagents/pull/1118\r\n* Set main as the no-argument CLI entry point  by @albertvillanova in https://github.com/huggingface/smolagents/pull/1126\r\n\r\n## New Contributors\r\n* @benediktstroebl made their first contribution in https://github.com/huggingface/smolagents/pull/1053\r\n* @andysalerno made their first contribution in https://github.com/huggingface/smolagents/pull/1063\r\n* @Misakar-0v0 made their first contribution in https://github.com/huggingface/smolagents/pull/768\r\n* @SauravMaheshkar made their first contribution in https://github.com/huggingface/smolagents/pull/1059\r\n* @Y-artios made their first contribution in https://github.com/huggingface/smolagents/pull/1082\r\n* @cgthayer made their first contribution in https://github.com/huggingface/smolagents/pull/1099\r\n\r\n**Full Changelog**: https://github.com/huggingface/smolagents/compare/v1.12.0...v1.13.0","publishedAt":"2025-04-02T15:10:31.000Z","url":"https://github.com/huggingface/smolagents/releases/tag/v1.13.0","media":[]},{"id":"rel_DL-W3Tmi2ZHjihreMvFuE","version":"v1.12.0","title":"v1.12.0","summary":"## What's Changed\r\n* Bump dev version: v1.12.0.dev0 by @albertvillanova in https://github.com/huggingface/smolagents/pull/982\r\n* Fix json parsing by @...","content":"## What's Changed\r\n* Bump dev version: v1.12.0.dev0 by @albertvillanova in https://github.com/huggingface/smolagents/pull/982\r\n* Fix json parsing by @sysradium in https://github.com/huggingface/smolagents/pull/987\r\n* Fix Agent.from_hub for older smolagents exports by @albertvillanova in https://github.com/huggingface/smolagents/pull/989\r\n* Regression fix: ChatMessageToolCall id must be a string by @sysradium in https://github.com/huggingface/smolagents/pull/990\r\n* Always parse tool calls from APIs by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/991\r\n* Sort additional authorized imports by @keetrap in https://github.com/huggingface/smolagents/pull/998\r\n* Fix custom prompt templates in Agent.from_hub by @albertvillanova in https://github.com/huggingface/smolagents/pull/1001\r\n* Always parse arguments from API tool calls by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/1000\r\n* Fix TransformersModel: torch_dtype and trust_remote_code not passed to VLM by @Louis-Gv in https://github.com/huggingface/smolagents/pull/1012\r\n* Fix double space in toolcalling_agent.yaml by @louisbrulenaudet in https://github.com/huggingface/smolagents/pull/1021\r\n* Update images type and docstring by @keetrap in https://github.com/huggingface/smolagents/pull/1018\r\n* Support JSON string arguments in tool calls by @albertvillanova in https://github.com/huggingface/smolagents/pull/1003\r\n* Pass trust_remote_code to transformers tokenizer/processor by @albertvillanova in https://github.com/huggingface/smolagents/pull/1013\r\n* Fix code using pillow required dependency by @albertvillanova in https://github.com/huggingface/smolagents/pull/1019\r\n* Fix tests of Agent.save and Tool.save by @albertvillanova in https://github.com/huggingface/smolagents/pull/1029\r\n* Remove dependency on transformers get_tests_dir by @albertvillanova in https://github.com/huggingface/smolagents/pull/1026\r\n* Reduce model calls in planning_step from 2 to 1 by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/985\r\n* Bugfix: adding <end_code> to prevent imaginary tool calls in CodeAgent by @IlyaGusev in https://github.com/huggingface/smolagents/pull/918\r\n* Use pytest-datadir for shared data files by @albertvillanova in https://github.com/huggingface/smolagents/pull/1031\r\n* Refactor Agent.to_dict by @albertvillanova in https://github.com/huggingface/smolagents/pull/1004\r\n* Add support for MCP SSE servers by @grll in https://github.com/huggingface/smolagents/pull/931\r\n\r\n## New Contributors\r\n* @Louis-Gv made their first contribution in https://github.com/huggingface/smolagents/pull/1012\r\n* @louisbrulenaudet made their first contribution in https://github.com/huggingface/smolagents/pull/1021\r\n\r\n**Full Changelog**: https://github.com/huggingface/smolagents/compare/v1.11.0...v1.12.0","publishedAt":"2025-03-20T09:37:38.000Z","url":"https://github.com/huggingface/smolagents/releases/tag/v1.12.0","media":[]},{"id":"rel_Cx5vevegqRNJzk2FNjo4s","version":"v1.11.0","title":"v1.11.0","summary":"## What's Changed\r\n* Bump dev version: v1.11.0.dev0 by @albertvillanova in https://github.com/huggingface/smolagents/pull/890\r\n* Add Chinese translati...","content":"## What's Changed\r\n* Bump dev version: v1.11.0.dev0 by @albertvillanova in https://github.com/huggingface/smolagents/pull/890\r\n* Add Chinese translation & fix zh doc build process by @muscaestar in https://github.com/huggingface/smolagents/pull/893\r\n* Fix chained assignment in local executor by @sysradium in https://github.com/huggingface/smolagents/pull/843\r\n* Check dangerous modules instead of dangerous patterns by @albertvillanova in https://github.com/huggingface/smolagents/pull/877\r\n* Fix typo in building good agents tutorial by @whistler in https://github.com/huggingface/smolagents/pull/903\r\n* Add tests and refactor CLI by @albertvillanova in https://github.com/huggingface/smolagents/pull/892\r\n* Bump mcpadapt >= 0.0.15 by @albertvillanova in https://github.com/huggingface/smolagents/pull/895\r\n* Update docs about changing the system prompt by @albertvillanova in https://github.com/huggingface/smolagents/pull/900\r\n* Support transformers 4.49.0 by @albertvillanova in https://github.com/huggingface/smolagents/pull/898\r\n* Fix typo in list of dangerous functions by @albertvillanova in https://github.com/huggingface/smolagents/pull/909\r\n* Improve evaluate_subscript by @albertvillanova in https://github.com/huggingface/smolagents/pull/916\r\n* Enforce security check in all evaluations by @albertvillanova in https://github.com/huggingface/smolagents/pull/906\r\n* Improve performance of test_while infinite loop by @albertvillanova in https://github.com/huggingface/smolagents/pull/907\r\n* Test all dangerous functions and fix check of os.system by @albertvillanova in https://github.com/huggingface/smolagents/pull/911\r\n* Fix Tool docstring, and model init exception by @zhanluxianshen in https://github.com/huggingface/smolagents/pull/927\r\n* Remove default model_id from models by @albertvillanova in https://github.com/huggingface/smolagents/pull/905\r\n* Improve docstring of parse_code_blobs by @albertvillanova in https://github.com/huggingface/smolagents/pull/876\r\n* Test vulnerability for dangerous modules by @albertvillanova in https://github.com/huggingface/smolagents/pull/929\r\n* Fix broken link to benchmarking code in README by @amaarora in https://github.com/huggingface/smolagents/pull/933\r\n* Fix Gradio UI for unnamed agents by @sysradium in https://github.com/huggingface/smolagents/pull/812\r\n* Add mlx-lm to all extra by @albertvillanova in https://github.com/huggingface/smolagents/pull/961\r\n* Fix Gradio UI for None name by @albertvillanova in https://github.com/huggingface/smolagents/pull/956\r\n* Introduce counter class by @Bilokin in https://github.com/huggingface/smolagents/pull/891\r\n* Fix AzureOpenAIServerModel to not call openai.OpenAI by @albertvillanova in https://github.com/huggingface/smolagents/pull/966\r\n* Fix CI usage of uv by @albertvillanova in https://github.com/huggingface/smolagents/pull/970\r\n* Adds VLLMModel by @NathanHB in https://github.com/huggingface/smolagents/pull/337\r\n* Support passing flatten_messages_as_text to OpenAIServerModel and test by @albertvillanova in https://github.com/huggingface/smolagents/pull/959\r\n* Fix tool function implementation by @albertvillanova in https://github.com/huggingface/smolagents/pull/943\r\n* Fix broken example of using MCP Server by @njbrake in https://github.com/huggingface/smolagents/pull/936\r\n* Support passing any kwargs to E2BExecutor Sandbox by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/951\r\n* Fix VLLMModel example in models docs by @zhanluxianshen in https://github.com/huggingface/smolagents/pull/976\r\n* Fix OpenAIServerModel client by @durd07 in https://github.com/huggingface/smolagents/pull/975\r\n* Forbid all modules by default except whitelist authorized_imports by @albertvillanova in https://github.com/huggingface/smolagents/pull/935\r\n* Forbid access to all dunder attributes by default by @albertvillanova in https://github.com/huggingface/smolagents/pull/979\r\n* Raise agent generation errors by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/948\r\n* Update Open Deep Research's README.md by @keetrap in https://github.com/huggingface/smolagents/pull/763\r\n* Make sure to log thoughts if verbosity_level is set to high by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/964\r\n* Get correct source code for functions defined in local executor. by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/973\r\n\r\n## New Contributors\r\n* @muscaestar made their first contribution in https://github.com/huggingface/smolagents/pull/893\r\n* @whistler made their first contribution in https://github.com/huggingface/smolagents/pull/903\r\n* @zhanluxianshen made their first contribution in https://github.com/huggingface/smolagents/pull/927\r\n* @amaarora made their first contribution in https://github.com/huggingface/smolagents/pull/933\r\n* @NathanHB made their first contribution in https://github.com/huggingface/smolagents/pull/337\r\n* @njbrake made their first contribution in https://github.com/huggingface/smolagents/pull/936\r\n* @durd07 made their first contribution in https://github.com/huggingface/smolagents/pull/975\r\n\r\n**Full Changelog**: https://github.com/huggingface/smolagents/compare/v1.10.0...v1.11.0","publishedAt":"2025-03-14T19:55:16.000Z","url":"https://github.com/huggingface/smolagents/releases/tag/v1.11.0","media":[]},{"id":"rel_ORND1gT_agEeSpxoMDgnl","version":"v1.10.0","title":"v1.10.0","summary":"## New features 🚀🚀\r\n* Add Docker executor by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/733\r\n    - This means you can now in...","content":"## New features 🚀🚀\r\n* Add Docker executor by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/733\r\n    - This means you can now initialize agents with `executor=\"docker\"` to run code in a Docker sandbox! Docs coming soon.\r\n* Safer local Python interpreter\r\n  * Make local Python interpreter safer by checking if returns builtins by @albertvillanova in https://github.com/huggingface/smolagents/pull/848\r\n  * Make local Python interpreter safer by checking if returns dangerous modules by @albertvillanova in https://github.com/huggingface/smolagents/pull/861\r\n  * Make local Python interpreter safer by adding builtins to dangerous modules by @albertvillanova in https://github.com/huggingface/smolagents/pull/869\r\n* Add support for serper search by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/698\r\n* Support running a demo of Open DeepResearch by @albertvillanova in https://github.com/huggingface/smolagents/pull/806\r\n* Enable Colab notebook version of each doc page (by renaming doc file extension from .md to .mdx) by @albertvillanova in https://github.com/huggingface/smolagents/pull/691\r\n\r\n## Fixes and improvements 🔧\r\n* Bump dev version: v1.10.0.dev0 by @albertvillanova in https://github.com/huggingface/smolagents/pull/649\r\n* Improve missing toolcall exception by @GrahamTheCoder in https://github.com/huggingface/smolagents/pull/614\r\n* refactor: simplify file type checking from MIME to extension by @kingdomad in https://github.com/huggingface/smolagents/pull/342\r\n* Bugfix: Groq via LiteLLM 🚅 by @JGalego in https://github.com/huggingface/smolagents/pull/605\r\n* Add docstring args for MultiStepAgent.from_folder by @albertvillanova in https://github.com/huggingface/smolagents/pull/654\r\n* Remove non-existent subfolder arg in MultiStepAgent.from_hub by @albertvillanova in https://github.com/huggingface/smolagents/pull/653\r\n* Minor fix save agents by @keetrap in https://github.com/huggingface/smolagents/pull/645\r\n* Align step numbers in monitoring logging by @spemed in https://github.com/huggingface/smolagents/pull/667\r\n* Remove deprecated resume_download arg in from_hub by @albertvillanova in https://github.com/huggingface/smolagents/pull/670\r\n* Pass notebook_folder to build notebook docs by @albertvillanova in https://github.com/huggingface/smolagents/pull/671\r\n* Update the prompts for delegating subtasks to agents in prompt files by @spemed in https://github.com/huggingface/smolagents/pull/678\r\n* Documentation: manage agent's memory by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/675\r\n* Move contributing details into contributing file by @GrahamTheCoder in https://github.com/huggingface/smolagents/pull/651\r\n* Fix typo in error message by @samee99 in https://github.com/huggingface/smolagents/pull/687\r\n* Refactor evaluate ast to improve readability by @CalOmnie in https://github.com/huggingface/smolagents/pull/625\r\n* Update docs in zh/examples/multiagents.md by @spemed in https://github.com/huggingface/smolagents/pull/688\r\n* Make dangerous_patterns a module variable by @CalOmnie in https://github.com/huggingface/smolagents/pull/505\r\n* Pin transformers < 4.49.0 to fix TypeError: LlavaProcessor: got multiple values for keyword argument 'images' by @albertvillanova in https://github.com/huggingface/smolagents/pull/693\r\n* Respect formatting in ast.FormattedValue for local_python_executor by @LorienMan in https://github.com/huggingface/smolagents/pull/660\r\n* Simplify instrumentation for phoenix by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/697\r\n* Test validate_tool_attributes by @albertvillanova in https://github.com/huggingface/smolagents/pull/696\r\n* Remove translation tool from README by @keetrap in https://github.com/huggingface/smolagents/pull/705\r\n* Fix test docs by @albertvillanova in https://github.com/huggingface/smolagents/pull/701\r\n* Fix SpeechToTextTool by @albertvillanova in https://github.com/huggingface/smolagents/pull/706\r\n* Fixed typo in Telemetry docs by @sergiopaniego in https://github.com/huggingface/smolagents/pull/710\r\n* Fix validate_tool_attributes for non-literal defaults by @albertvillanova in https://github.com/huggingface/smolagents/pull/711\r\n* Ignore parameter types in tool docstrings by @carlsberg03 in https://github.com/huggingface/smolagents/pull/724\r\n* Refactor MultiStepAgent and improve some tests by @colesmcintosh in https://github.com/huggingface/smolagents/pull/598\r\n* Fix duplicate managed agent name and its tool name by @keetrap in https://github.com/huggingface/smolagents/pull/721\r\n* Update docs on how to change prompts by @albertvillanova in https://github.com/huggingface/smolagents/pull/725\r\n* Remove transformers tasks from load_tool docstring by @albertvillanova in https://github.com/huggingface/smolagents/pull/726\r\n* Remove article section from launch_gradio_demo Interface by @albertvillanova in https://github.com/huggingface/smolagents/pull/728\r\n* Update logo in Readme by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/730\r\n* Support passing additional parameters for openai client initialization by @touseefahmed96 in https://github.com/huggingface/smolagents/pull/388\r\n* Add api-base and api-key arguments to CLI by @keetrap in https://github.com/huggingface/smolagents/pull/734\r\n* Fix CI test error: DuckDuckGoSearchException: 202 Ratelimit by @albertvillanova in https://github.com/huggingface/smolagents/pull/739\r\n* Fix typo in Makefile by @albertvillanova in https://github.com/huggingface/smolagents/pull/741\r\n* Add disclaimer in benchmark to request access for gated dataset by @albertvillanova in https://github.com/huggingface/smolagents/pull/744\r\n* Define test RUN_ALL requirement marker in one file by @albertvillanova in https://github.com/huggingface/smolagents/pull/743\r\n* Rename managed agent in multiagents docs to avoid confusing the LLM by @albertvillanova in https://github.com/huggingface/smolagents/pull/766\r\n* Update documentation on sandboxes by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/747\r\n* Add audioop-lts as Python>=3.13 Open DeepResearch requirement for pydub by @albertvillanova in https://github.com/huggingface/smolagents/pull/749\r\n* Create docker extra installation dependency by @albertvillanova in https://github.com/huggingface/smolagents/pull/764\r\n* Fix bracket logging in rich by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/753\r\n* Enable custom final answer in CodeAgent by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/769\r\n* Fix TypeError raised by launch_gradio_demo with PipelineTool by @albertvillanova in https://github.com/huggingface/smolagents/pull/732\r\n* Use docker extra in Secure code execution docs by @albertvillanova in https://github.com/huggingface/smolagents/pull/780\r\n* Support custom final_answer in agent init by @albertvillanova in https://github.com/huggingface/smolagents/pull/783\r\n* Fix LiteLLMModel API key usage in CLI by @asselindebeauville in https://github.com/huggingface/smolagents/pull/788\r\n* Secure code execution wrong title in docs TOC by @maeste in https://github.com/huggingface/smolagents/pull/771\r\n* Update Open DeepResearch to install smolagents from local path by @albertvillanova in https://github.com/huggingface/smolagents/pull/786\r\n* Support importing scipy and sklearn without AttributeError: module 'scipy.sparse._coo' has no attribute 'upcast' by @albertvillanova in https://github.com/huggingface/smolagents/pull/790\r\n* Fix and test validate_tools_and_managed_agents by @albertvillanova in https://github.com/huggingface/smolagents/pull/731\r\n* Update README with mention to Docker sandboxed execution by @touseefahmed96 in https://github.com/huggingface/smolagents/pull/803\r\n* Added sidebar layout and session state management for agent by @yvrjsharma in https://github.com/huggingface/smolagents/pull/797\r\n* Fix CI quality in examples/gradio_ui by @albertvillanova in https://github.com/huggingface/smolagents/pull/822\r\n* Improve dependency loading of Open DeepResearch visual_qa by @albertvillanova in https://github.com/huggingface/smolagents/pull/821\r\n* Improve setup instruction for Open DeepResearch by @albertvillanova in https://github.com/huggingface/smolagents/pull/823\r\n* Support other models than o1 in Open Deep Research by @albertvillanova in https://github.com/huggingface/smolagents/pull/824\r\n* Fix final_answer_pattern matching in remote executors by @albertvillanova in https://github.com/huggingface/smolagents/pull/826\r\n* Fix and refactor tests of Docker executors by @albertvillanova in https://github.com/huggingface/smolagents/pull/827\r\n* Remove unnecessary self argument in GoogleSearchTool super() call by @gael1130 in https://github.com/huggingface/smolagents/pull/828\r\n* Fix call from dict with LocalPythonExecutor by @albertvillanova in https://github.com/huggingface/smolagents/pull/837\r\n* Minor fix of import in VisitWebpageTool by @keetrap in https://github.com/huggingface/smolagents/pull/840\r\n* No need of these Files by @touseefahmed96 in https://github.com/huggingface/smolagents/pull/798\r\n* fix: correcting tool_call role by @zndqs in https://github.com/huggingface/smolagents/pull/779\r\n* Fix translation guide as it points to invalid location by @FanwangM in https://github.com/huggingface/smolagents/pull/794\r\n* Fix load_model in webagent CLI by @albertvillanova in https://github.com/huggingface/smolagents/pull/855\r\n* Fix message for observations without tool_calls by @albertvillanova in https://github.com/huggingface/smolagents/pull/857\r\n* Fix CI test_action_step_to_messages by @albertvillanova in https://github.com/huggingface/smolagents/pull/868\r\n* Fix LiteLLMModel docstring by @albertvillanova in https://github.com/huggingface/smolagents/pull/885\r\n* Fix bug where operations count was not reinitialized at each step by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/866\r\n* Fix CLI webagent by @albertvillanova in https://github.com/huggingface/smolagents/pull/889\r\n\r\n## New Contributors\r\n* @JGalego made their first contribution in https://github.com/huggingface/smolagents/pull/605\r\n* @spemed made their first contribution in https://github.com/huggingface/smolagents/pull/667\r\n* @samee99 made their first contribution in https://github.com/huggingface/smolagents/pull/687\r\n* @LorienMan made their first contribution in https://github.com/huggingface/smolagents/pull/660\r\n* @carlsberg03 made their first contribution in https://github.com/huggingface/smolagents/pull/724\r\n* @colesmcintosh made their first contribution in https://github.com/huggingface/smolagents/pull/598\r\n* @asselindebeauville made their first contribution in https://github.com/huggingface/smolagents/pull/788\r\n* @maeste made their first contribution in https://github.com/huggingface/smolagents/pull/771\r\n* @yvrjsharma made their first contribution in https://github.com/huggingface/smolagents/pull/797\r\n* @gael1130 made their first contribution in https://github.com/huggingface/smolagents/pull/828\r\n* @zndqs made their first contribution in https://github.com/huggingface/smolagents/pull/779\r\n\r\n**Full Changelog**: https://github.com/huggingface/smolagents/compare/v1.9.2...v1.10.0","publishedAt":"2025-03-05T18:04:08.000Z","url":"https://github.com/huggingface/smolagents/releases/tag/v1.10.0","media":[]},{"id":"rel_uc3SBk4-07uFDAZ87L9V3","version":"v1.9.2","title":"v1.9.2","summary":"## Bug Fixes 🐛 \r\n* Fix litellm flatten_messages_as_text detection by @aymeric-roucher in https://github.com/huggingface/smolagents/commit/ef6031542c1...","content":"## Bug Fixes 🐛 \r\n* Fix litellm flatten_messages_as_text detection by @aymeric-roucher in https://github.com/huggingface/smolagents/commit/ef6031542c1f71b758e3167b9c21888a726f92d8\r\n* Fix litellm flatten_messages_as_text detection by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/659\r\n\r\n**Full Changelog**: https://github.com/huggingface/smolagents/compare/v1.9.1...v1.9.2","publishedAt":"2025-02-17T10:43:13.000Z","url":"https://github.com/huggingface/smolagents/releases/tag/v1.9.2","media":[]}],"pagination":{"page":1,"pageSize":20,"totalPages":2,"totalItems":34},"summaries":{"rolling":{"windowDays":90,"summary":"Smolagents maintained compatibility across evolving dependencies while expanding model support. The release added backward compatibility for the deprecated HfApiModel, updated the no-stop-sequence model list to cover GPT-5.2 variants, and patched Gradio 6 compatibility in the UI layer. Support for additional parameters in chat template application rounded out the update.","releaseCount":1,"generatedAt":"2026-04-07T17:29:17.226Z"},"monthly":[]}}