v1.23.0

x402-foundation/x402v1.23.0Nov 17, 2025by aymeric-roucher

AI Summary

This update adds Dialog mode for CLI, exponential backoff for retries, and support for gpt-5.1 and custom Python executors, significantly improving agent reliability and flexibility.

Key Highlights

  • Added Dialog mode CLI
  • Added exponential backoff with jitter for retries
  • Added support for gpt-5.1
  • Support for custom Python code executor

New Features

  • Added Blaxel support for remote code execution
  • Retry logic on rate limit errors
  • Optimized comprehension evaluation
  • Support for MCP tools parsing

Full Release Notes

## Improvements ✨
* Update final answer checks to accept the agent instance by @Zoe14 in https://github.com/huggingface/smolagents/pull/1648
* Dialog mode CLI by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/1540
* Add Blaxel support for remote code execution by @Joffref in https://github.com/huggingface/smolagents/pull/1791
* Proposition: Add exponential backoff with jitter for retries by @suryabdev in https://github.com/huggingface/smolagents/pull/1829
* Cut generation at stop sequence post generation by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/1802
* Move executor type validation to python executor creation by @Lrakotoson in https://github.com/huggingface/smolagents/pull/1800
* Support custom Python code executor in CodeAgent by @albertvillanova in https://github.com/huggingface/smolagents/pull/1707
* Retry on rate limit errors by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/1801
* Change default InferenceClient model to Qwen/Qwen3-Next-80B-A3B-Thinking by @suryabdev in https://github.com/huggingface/smolagents/pull/1813
* Remove 'Server' from model names in doc by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/1812
* Optimize comprehension evaluation with generator-based approach in LocalPythonExecutor by @albertvillanova in https://github.com/huggingface/smolagents/pull/1824
* LocalPythonExecutor: Add support for nested dictcomp and setcomp by @suryabdev in https://github.com/huggingface/smolagents/pull/1823
* Support parsing `anyOf` from MCP tools by @duguyue100 in https://github.com/huggingface/smolagents/pull/1708
* Add Modal as sandbox option to docs front page by @sandcat100 in https://github.com/huggingface/smolagents/pull/1865
* make additional_args nullable for managed agents by @nflo in https://github.com/huggingface/smolagents/pull/1827
* vLLM: Move from guided_options_request to structured_outputs by @suryabdev in https://github.com/huggingface/smolagents/pull/1805

## Fixes 🛠️
* Fix agent logs: logging "None" and simplify the logic by @albertvillanova in https://github.com/huggingface/smolagents/pull/1788
* Fix dict(message) bug in AgentMemory.replay for ChatMessage objects by @Flakes342 in https://github.com/huggingface/smolagents/pull/1763
* Fix LocalPythonExecutor support for Enum and other metaclasses by @colesmcintosh in https://github.com/huggingface/smolagents/pull/1797
* Handle `None` content in stop-sequence trimming by @chahn in https://github.com/huggingface/smolagents/pull/1826
* Fix minor benchmark script bugs by @suryabdev in https://github.com/huggingface/smolagents/pull/1822
* Fix YAML scanner error when building documentation by @albertvillanova in https://github.com/huggingface/smolagents/pull/1841
* Pin huggingface-hub <1.0.0 to fix failed to build tokenizers by @albertvillanova in https://github.com/huggingface/smolagents/pull/1844
* Fixed SyntaxError format: keep exception type and message on same line (#835) by @balazsthomay in https://github.com/huggingface/smolagents/pull/1864
* Fix CLI Tool.from_space() call by auto-generating name and description (#1535) by @balazsthomay in https://github.com/huggingface/smolagents/pull/1859
* Add gpt-5.1 support by @suryabdev in https://github.com/huggingface/smolagents/pull/1868
* bug: role not converted back to enum by @njbrake in https://github.com/huggingface/smolagents/pull/1833
* Parallel tool calls lose OpenTelemetry context: tool spans not nested under agent step by @Barcavin in https://github.com/huggingface/smolagents/pull/1840

## Documentation 📚
* Bump dev version: v1.23.0.dev0 by @albertvillanova in https://github.com/huggingface/smolagents/pull/1787
* 🌐 [i18n-KO] Translated memory.md to Korean by @HyunZ118 in https://github.com/huggingface/smolagents/pull/1793
* 🌐 [i18n-KO] Translated `using_different_models.md` to Korean by @FacerAin in https://github.com/huggingface/smolagents/pull/1772
* 🌐 [i18n-KO] Translated `guided_tour.md` to Korean by @FacerAin in https://github.com/huggingface/smolagents/pull/1711
* 🌐 [i18n-KO] Translated `async_agent.md` to Korean by @FacerAin in https://github.com/huggingface/smolagents/pull/1749
* 🌐 [i18n-KO] Translated `agents.md` to Korean by @Kim-Ju-won in https://github.com/huggingface/smolagents/pull/1720
* 🌐 [i18n-KO] Translated `rag.md` to Korean by @Kim-Ju-won in https://github.com/huggingface/smolagents/pull/1646
* Documentation: Minor fixes by @suryabdev in https://github.com/huggingface/smolagents/pull/1809
* 🌐 [i18n-KO] Translated `web_browser.md` to Korean by @FacerAin in https://github.com/huggingface/smolagents/pull/1748
* [i18n-es] Translating docs to spanish by @1-echo in https://github.com/huggingface/smolagents/pull/1806
* 🌐 [i18n-KO] Translated `plan_customization.md` to Korean by @FacerAin in https://github.com/huggingface/smolagents/pull/1771
* 🌐 [i18n-KO] Translated `inspect_runs.md` to Korean by @FacerAin in https://github.com/huggingface/smolagents/pull/1747
* Build PR documentation for all languages by @albertvillanova in https://github.com/huggingface/smolagents/pull/1842

**Full Changelog**: https://github.com/huggingface/smolagents/compare/v1.22.0...v1.23.0