Albert Villanova del Moral
banner
albertvillanova.bsky.social
Albert Villanova del Moral
@albertvillanova.bsky.social
Machine Learning Engineer @ Hugging Face
🔥 This feature is live in smolagents v1.20.0!

Try it out.
Break things. Extend it. Give us feedback.

Let's build safer, smarter agents; together 🧠⚙️

👉 github.com/huggingface/...

#smolagents #opensource #AIagents #WebAssembly #Deno #Pyodide #HuggingFace #AgenticAI
Release v1.20.0 · huggingface/smolagents
New Features ✨ Remote Execution: Implement remote Python WasmExecutor by @albertvillanova in #1261 Callbacks: Support callbacks after planning step by @albertvillanova in #1445 Support multi...
github.com
July 11, 2025 at 1:53 PM
Check out the PR 👉 github.com/huggingface/...

Let's reimagine what agent-driven code execution can look like: remote, safe, and Wasm-powered.
Implement remote Python WebAssemblyExecutor by albertvillanova · Pull Request #1261 · huggingface/smolagents
Implement remote Python WebAssemblyExecutor.
github.com
July 11, 2025 at 1:53 PM
👷 Want to help?

This is a foundation we're inviting the community to build on:
• Add feature support
• Expand compatibility to new use cases
• Help make agents even more secure + capable

Contribute, test, break things, and PR back 🚀
July 11, 2025 at 1:53 PM
🙅‍♂️ Why no network calls (for now)?

Because Pyodide in Node.js needs experimental flags for stack switching, and some APIs (like urllib3) aren’t yet compatible out of the box.

But this is just the beginning.
July 11, 2025 at 1:53 PM
🚧 What’s supported right now?

✅ Basic Python logic
✅ Standard control flow
✅ Limited stdlib support
❌ No HTTP requests (yet)
❌ No advanced I/O or external packages

It's early: a solid MVP for secure use cases. 💡
July 11, 2025 at 1:53 PM
🔐 Why WebAssembly?

WebAssembly = portable, fast, and secure.
It enables:
• Safe remote execution of Python code
• Zero access to the host machine
• Consistent, deterministic environments
• Serverless + edge-compatible agent workflows
July 11, 2025 at 1:53 PM
7/
🧵 That’s a wrap for smolagents v1.19.0!

Grab the latest, test the improvements, and tell us what you build.
👇👇👇
github.com/huggingface/...
#smolagents #AIagents #OSS #HuggingFace
Release v1.19.0 · huggingface/smolagents
Enhancements 🛠️ Agent Upgrades: Support managed agents in ToolCallingAgent by @albertvillanova in #1456 Support context managers for agent cleanup by @tobiasofsn in #1422 Change code tags to xml...
github.com
June 24, 2025 at 2:31 PM
6/
📚 Docs Game: Leveled Up

* ✨ Quickstart got tool usage examples
* 💡 Added open in Colab buttons!
* 🧠 Reference docs now include AgentMemory, better docstrings
June 24, 2025 at 2:31 PM
5/
🐛 Bug Fixes Blitz
From final answer logic to Docker logs, this release patched up:

* Planning logic bugs 🧠
* Type-safe wrappers 🛡️
* Executor output matching 🧵
* Prompt fixes for additional_args 📝
June 24, 2025 at 2:31 PM
4/
📋 Agent Output Tracking

* CodeAgent outputs are now stored in ActionStep
📂 More structured traceability of actions & results!
June 24, 2025 at 2:31 PM
3/
📡 Streaming Just Got Smarter

* Streaming event aggregation was moved off the Model class
➕ Cleaner structure, better separation of concerns
June 24, 2025 at 2:31 PM
2/
🎛️ UI Improvements

* New reset_agent_memory feature in GradioUI 💾
- Handy for debugging or starting fresh mid-run!
June 24, 2025 at 2:31 PM
1/
🧠 Agent Upgrades

* You can now use managed agents with ToolCallingAgent 🔧
* Agent cleanup supports context managers: easier resource handling!
* Switched code output tags to XML for clarity
June 24, 2025 at 2:31 PM
International Women's Day (IWD) 2025: www.internationalwomensday.com
March 8, 2025 at 5:41 PM