v1.8.0
huggingface/smolagentsv1.8.0Feb 7, 2025by albertvillanova
AI Summary
This release introduces visualization tools for agent structures, simplifies managed agent configuration by removing the ManagedAgents class, and releases Open Deep Research capabilities.
Key Highlights
- Agent structure visualization
- Simplified managed agents
- Open Deep Research release
Breaking Changes
- We've removed the ManagedAgents class: directly provide `name` and `description` attributes to your agent to make it work as a managed agent!
New Features
- Agent tree visualization
- Open Deep Research
- Simplified agent definitions
Full Release Notes
### New features ⭐️
* We added visualization method to display the agent' structure as a tree! 🌳 by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/470
<img width="696" alt="image" src="https://github.com/user-attachments/assets/1e2d4011-6ea7-4ef7-9601-f934d9201788" />
* We vastly simplified managed agents in https://github.com/huggingface/smolagents/pull/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 https://github.com/huggingface/smolagents/pull/317!
### Fixes 🔧
* Bump dev version: v1.8.0.dev0 by @albertvillanova in https://github.com/huggingface/smolagents/pull/451
* Add ToC and CLI docs by @merveenoyan in https://github.com/huggingface/smolagents/pull/455
* Fix link to Helium repository in README.md by @dross20 in https://github.com/huggingface/smolagents/pull/471
* Remove default max_tokens for all models by @albertvillanova in https://github.com/huggingface/smolagents/pull/475
* Improve Readme: shorter intro, VLMs, MCP, etc by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/459
* Fix SpeechToTextTool new instance by @albertvillanova in https://github.com/huggingface/smolagents/pull/478
* Allow flatten_messages_as_text to be pushed via LiteLLMModel to fix Ollama integration by @sysradium in https://github.com/huggingface/smolagents/pull/406
* Fixed demo typo in README.md by @hanteed in https://github.com/huggingface/smolagents/pull/481
* Added `HfApiModel` import to `web browser example` by @sergiopaniego in https://github.com/huggingface/smolagents/pull/461
* Minor Fix tool push_to_hub by @keetrap in https://github.com/huggingface/smolagents/pull/460
* Fix link in README.md by @vanrohan in https://github.com/huggingface/smolagents/pull/496
* Fix undefined `step_number` in single_step run by @taha-yassine in https://github.com/huggingface/smolagents/pull/495
* Bump litellm to 1.60.2 (fixes #34) by @taha-yassine in https://github.com/huggingface/smolagents/pull/488
* Initialize step_number attribute by @albertvillanova in https://github.com/huggingface/smolagents/pull/497
* Suppress terminal logging in CI tests by @albertvillanova in https://github.com/huggingface/smolagents/pull/504
* Fix link in README.md by @Ryanb58 in https://github.com/huggingface/smolagents/pull/492
* Test PrintContainer by @albertvillanova in https://github.com/huggingface/smolagents/pull/515
* Add missing default tools to reference docs by @touseefahmed96 in https://github.com/huggingface/smolagents/pull/516
* Refactor prompts by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/502
* Fix Typo by @rehanzo in https://github.com/huggingface/smolagents/pull/529
* Test HfApiModel call with custom_role_conversions by @albertvillanova in https://github.com/huggingface/smolagents/pull/517
* Set MAX_WHILE_ITERATIONS as module variable by @albertvillanova in https://github.com/huggingface/smolagents/pull/520
* add self.logger = logger for e2b_executor by @femto in https://github.com/huggingface/smolagents/pull/537
* Create simpler example open-deep-research by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/534
* Support disabling logging to terminal by @albertvillanova in https://github.com/huggingface/smolagents/pull/512
* Fix installation with data files by @albertvillanova in https://github.com/huggingface/smolagents/pull/536
* Pin openinference-instrumentation-smolagents >= 0.1.4 by @albertvillanova in https://github.com/huggingface/smolagents/pull/535
* Delete prompts_path argument and use prompt_templates by @albertvillanova in https://github.com/huggingface/smolagents/pull/541
* Fix deprecation warning from importlib.resources.read_text by @albertvillanova in https://github.com/huggingface/smolagents/pull/543
* Delete non-exisiting accelerate extra by @albertvillanova in https://github.com/huggingface/smolagents/pull/539
* Fix some doc examples by @aymeric-roucher in https://github.com/huggingface/smolagents/pull/542
* Test E2B Executor by @albertvillanova in https://github.com/huggingface/smolagents/pull/540
## New Contributors
* @dross20 made their first contribution in https://github.com/huggingface/smolagents/pull/471
* @sysradium made their first contribution in https://github.com/huggingface/smolagents/pull/406
* @hanteed made their first contribution in https://github.com/huggingface/smolagents/pull/481
* @vanrohan made their first contribution in https://github.com/huggingface/smolagents/pull/496
* @taha-yassine made their first contribution in https://github.com/huggingface/smolagents/pull/495
* @Ryanb58 made their first contribution in https://github.com/huggingface/smolagents/pull/492
* @rehanzo made their first contribution in https://github.com/huggingface/smolagents/pull/529
* @femto made their first contribution in https://github.com/huggingface/smolagents/pull/537
**Full Changelog**: https://github.com/huggingface/smolagents/compare/v1.7.0...v1.8.0