Skip to content

Releases: huggingface/smolagents

v1.14.0

18 Apr 09:59
3142d91
Compare
Choose a tag to compare

New features 🚀

  • SmolAgents MCP Client by @grll in #1200
    • 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.
  • Amazon Bedrock Native API Support by @leandrodamascena in #1115
    • Add native support for Amazon Bedrock in the models module, enabling seamless interaction with Bedrock-hosted models.

Important changes 💥

  • Rename HfApiModel to InferenceClientModel by @julien-c in #1198
    • Align the naming with its broader usage beyond the Hugging Face Hub, clarifying its purpose and usage.
  • Star-pattern-based import authorization by @aymeric-roucher in #1180
    • Enhance import security by introducing a star-pattern-based authorization mechanism, allowing fine-grained control over which modules can be imported.

Fixes and improvements 🔧

New Contributors

Full Changelog: v1.13.0...v1.14.0

v1.13.0

02 Apr 15:10
Compare
Choose a tag to compare

Important changes 🚀

  • Gradio UI now logs images observed by your agent: log observations images by @aymeric-roucher in #1113
  • allow users to retrieve original Gradio app by @sysradium in #811
  • Re-authorize submodule imports if top was allowed by @aymeric-roucher in #1103
    • We had internal debate about this one: when a user authorizes import of a top level package like additional_authorized_imports=["numpy"], should it:
      • Option 1: by default enable all subpackages like numpy.random, except potentially dangerous ones that we then have to detect through a blocklist?
      • 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", ...]
        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.

Fixes & Tweaks

New Contributors

Full Changelog: v1.12.0...v1.13.0

v1.12.0

20 Mar 09:37
7776b07
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.11.0...v1.12.0

v1.11.0

14 Mar 19:55
2184001
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.10.0...v1.11.0

v1.10.0

05 Mar 18:04
ebfaba9
Compare
Choose a tag to compare

New features 🚀🚀

  • Add Docker executor by @aymeric-roucher in #733
    • This means you can now initialize agents with executor="docker" to run code in a Docker sandbox! Docs coming soon.
  • Safer local Python interpreter
    • Make local Python interpreter safer by checking if returns builtins by @albertvillanova in #848
    • Make local Python interpreter safer by checking if returns dangerous modules by @albertvillanova in #861
    • Make local Python interpreter safer by adding builtins to dangerous modules by @albertvillanova in #869
  • Add support for serper search by @aymeric-roucher in #698
  • Support running a demo of Open DeepResearch by @albertvillanova in #806
  • Enable Colab notebook version of each doc page (by renaming doc file extension from .md to .mdx) by @albertvillanova in #691

Fixes and improvements 🔧

Read more

v1.9.2

17 Feb 10:43
Compare
Choose a tag to compare

Bug Fixes 🐛

Full Changelog: v1.9.1...v1.9.2

v1.9.1

14 Feb 12:21
957b24a
Compare
Choose a tag to compare

Bug Fixes 🐛

Full Changelog: v1.9.0...v1.9.1

v1.9.0

14 Feb 11:26
7ebfe37
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.8.1...v1.9.0

v1.8.1

11 Feb 09:14
5998f81
Compare
Choose a tag to compare

Bug Fixes 🐛

  • Restore missing user prompt for initial facts by @NeuroWhAI in #576
  • Bugfix: problems with the prompt refactoring of the planning step by @IlyaGusev in #564
  • Do not pass system prompt to update plan and test plan prompts by @albertvillanova in #586

Full Changelog: v1.8.0...v1.8.1

v1.8.0

07 Feb 15:02
fb7b499
Compare
Choose a tag to compare

New features ⭐️

  • We added visualization method to display the agent' structure as a tree! 🌳 by @aymeric-roucher in #470
image
  • We vastly simplified managed agents in #484
    • We've removed the ManagedAgents class: directly provide name and description attributes to your agent to make it work as a managed agent ! Check an example here.
  • We released Open Deep Research in #317!

Fixes 🔧

New Contributors

Full Changelog: v1.7.0...v1.8.0