Download Latest Version v1.21.0 source code.tar.gz (1.1 MB)
Email in envelope

Get an email when there's a new version of smolagents

Home / v1.17.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2025-05-27 4.1 kB
v1.17.0 source code.tar.gz 2025-05-27 1.1 MB
v1.17.0 source code.zip 2025-05-27 1.2 MB
Totals: 3 Items   2.2 MB 0

New Features ✨

  • Structured Generation in CodeAgent: Add optional support for structured outputs in CodeAgent, enabling more reliable and consistent generation patterns
  • Adding optional structured generation to CodeAgent by @akseljoonas in https://github.com/huggingface/smolagents/pull/1346
  • Support for Streamable HTTP MCP Servers: Expand compatibility with new server types to support streamable HTTP MCP implementations
  • Support Streamable HTTP MCP servers by @albertvillanova in https://github.com/huggingface/smolagents/pull/1384
  • Run Results from Agent.run(): The Agent.run() method can now return a RunResult object, providing richer metadata on agent execution
  • Agent.run() can return RunResult object by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/1337

Security Enhancements 🔒

  • Safer LocalPythonExecutor: Prevent indirect submodule access via attribute resolution, mitigating potential security risks in user-defined code
  • Prevent submodules through indirect attribute access in LocalPythonExecutor by @albertvillanova in https://github.com/huggingface/smolagents/pull/1375

Enhancements 🛠️

Bug Fixes 🐛

Documentation Improvements 📚

Maintenance 🏗️

New Contributors

Full Changelog: https://github.com/huggingface/smolagents/compare/v1.16.1...v1.17.0

Source: README.md, updated 2025-05-27