Skip to content

Releases: huggingface/smolagents

v1.7.0

31 Jan 13:05
4e504a8
Compare
Choose a tag to compare

Main changes

Added commands to directly run agents from CLI: smolagent and webagent

  • Make web browser agent example a CLI script by @merveenoyan in #416
  • Add CLI for smolagents by @aymeric-roucher in #431
    • Now you can run smolagent "Your task!" from CLI to directly call a smolagent. Try it! webagent "Find me a cheap train from Paris to Torino before Thursday" or smolagent "Who's the current director of La French Tech?"

Gave a memory to agents! 🧠

  • Untangling Logging by @clefourrier in #316
  • Test memory by @albertvillanova in #428
    • This added a specific memory attribute to the agent!
    • We used this change to introduce nice functions like an agent.replay() function that replays the last run (based on the memories stored, so no further LLM calls)

Other big improvements 💪

  • Improve code execution logs in case of error by showing print outputs by @aymeric-roucher in #446

    • This makes sure that code execution outputs are stored to memory even when an error was raised later on. It should slightly improve the performance of CodeAgents
  • Update benchmark with Hub datasets by @albertvillanova in #412

    • This adds storing of benchmarking outputs directly to the Hub. Moving forward, we'll make benchmarking even easier!

Fixes and small improvements

New Contributors

Full Changelog: v1.6.0...v1.7.0

v1.6.0

28 Jan 10:46
de12e0a
Compare
Choose a tag to compare

What's Changed

image

New Contributors

Full Changelog: v1.5.1...v1.6.0

v1.5.1

27 Jan 09:26
12c923e
Compare
Choose a tag to compare

Bug Fixes 🐛

Full Changelog: v1.5.0...v1.5.1

v1.5.0

24 Jan 16:22
ad41f80
Compare
Choose a tag to compare

What's Changed

New Features 🚀

Fixes 🐛

Documentation and examples 📚

Maintenance 🏗️

New Contributors

Full Changelog: v1.4.1...v1.5.0

v1.4.1

17 Jan 20:00
Compare
Choose a tag to compare

What's Changed

New features 🚀

  • Add support for MCP Servers tools as ToolCollection by @grll in #232
    • This enables using Model Context Protocol (MCP) servers, thus makes many, many tools compatible with smolagents: find a list on glama.ai or smithery.ai
  • Allow passing kwargs to all models by @aymeric-roucher in #222
  • Add Chinese translations for multi-agent example by @FanwangM in #246

Fixes 🐛

Adjustments 🔧

New Contributors

Full Changelog: v1.3.0...v1.4.1

v1.3.0

15 Jan 16:30
Compare
Choose a tag to compare

What's Changed

New features 🚀

inspect_run_phoenix
  • We now have a Chinese (mandarin) version of the doc for smolagents! by @Ayuilos in #156

  • Add option to upload files to GradioUI by @stackviolator in #138

  • feat: Add multi-GPU support for TransformersModel by @6643789wsx in #139

  • More flexible verbosity level: now use verbosity_level=0/1/2 instead of verbose=True/False upon agent initialization by @aymeric-roucher in #150. This gives you more fine-grained control over verbosity!

  • Agents can now import anything using additional_authorized_imports=['*']! Contributed by @joaopauloschuler in #129

Fixes and smol improvements 🔧

New Contributors

Full Changelog: v1.2.2...v1.3.0

v1.2.0

10 Jan 15:30
Compare
Choose a tag to compare

What's Changed

Big features:

  • Add an OpenAIServerModel by @Zetaphor in #109
    • This unlocks using any OpenAI-format-compatible server like TGI or vLLM.
  • Enable smolagent tools in Hugging Chat! 🚀 in #132
    • Demo incoming!
  • Vastly simplify Model class ✨ in #146
    • Now Model subclasses have only one __call__ method: if arg tools_to_call_from is passed, this method will return a tool call instead of just a string.
  • Halve import time by removing torch dependency in #147
    • Following up on #100 raised by @xianminx, removing dependency on torch allowed to halve the library loading time!
  • Support OpenTelemetry in #136
    • This is still cooking, more stuff needs to be done, but we'll have observability!

Other important features

Great thanks for everyone who participated!

v1.1.0

06 Jan 22:19
Compare
Choose a tag to compare

What's Changed

New features: 🥳

  • !Breaking change: Agent initialization argument max_iterations changed to max_steps for consistency.
  • Add a warning towards the user when imports are missing in CodeAgent 3f79bae.
  • Add code of conduct and contributing guide by @LysandreJik in #50
  • feat: Add max_results kwarg to DDGS tool by @Stillerman in #40
  • Add support for additional keyword arguments in LiteLLMModel by @chakib-belgaid in #29
  • Add device parameter for TransformerModel in models.py by @ScientistIzaak in #49

Fixes: 🔧

  • Don't pass sanitize_inputs_outputs=True to managed agents by @grrowl in #85
  • Include missing pip install library in RAG example by @DarwinAnim8or in #92
  • Fix issue with forward signature validation in space tool wrapper by @lelayf in #75
  • fix ToolCollection usage by @Brunwo in #53

Typos: 🪶

Full Changelog: v1.0.0...v1.1.0

v1.0.0

31 Dec 18:36
Compare
Choose a tag to compare
Bump release number for 1.0.0

v0.1.0: First ever release!

27 Dec 15:59
Compare
Choose a tag to compare