Latest smolagents release supports GPT-5: build agents that think, plan, and act.
β‘ Upgrade now and put GPT-5 to work!
@albertvillanova.bsky.social
Machine Learning Engineer @ Hugging Face
Latest smolagents release supports GPT-5: build agents that think, plan, and act.
β‘ Upgrade now and put GPT-5 to work!
π smolagents v1.21.0 is here!
Now with improved safety in the local Python executor: dunder calls are blocked!
β οΈ Still, not fully isolated: for untrusted code, use a remote executor instead: Docker, E2B, Wasm.
β¨ Many bug fixes: more reliable code.
π github.com/huggingface/...
π₯ 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
Check out the PR π github.com/huggingface/...
Let's reimagine what agent-driven code execution can look like: remote, safe, and Wasm-powered.
π· 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 π
π
ββοΈ 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.
π§ 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. π‘
π 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
π₯ Big milestone just dropped in smolagents:
The CodeAgent can now execute Python code remotely in WebAssembly, powered by Pyodide + Deno!
Your agent-generated Python runs in a secure, sandboxed Wasm runtime: no local execution required.
Here's why this changes the game π§΅π
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
6/
π Docs Game: Leveled Up
* β¨ Quickstart got tool usage examples
* π‘ Added open in Colab buttons!
* π§ Reference docs now include AgentMemory, better docstrings
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 π
4/
π Agent Output Tracking
* CodeAgent outputs are now stored in ActionStep
π More structured traceability of actions & results!
3/
π‘ Streaming Just Got Smarter
* Streaming event aggregation was moved off the Model class
β Cleaner structure, better separation of concerns
2/
ποΈ UI Improvements
* New reset_agent_memory feature in GradioUI πΎ
- Handy for debugging or starting fresh mid-run!
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
πNew Release: smolagents v1.19.0 is out!
This one's packed with agent upgrades, smoother streaming, better docs, and bug squashing galore. π§΅π
New in smolagents v1.17.0:
- Structured generation in CodeAgent π§±
- Streamable HTTP MCP support π
- Agent.run() returns rich RunResult π¦
Smarter agents, smoother workflows.
Try it now: github.com/huggingface/...
Read the blog post π huggingface.co/blog/albertv...
16.05.2025 12:54 β π 0 π 0 π¬ 0 π 0π Experiment with Tiny Agents: minimalist LLM agents powered by async MCP tools, inspired by @julien_c
π A side-by-side comparison of tool-calling vs. code agent
π‘ See how code agents handle complex workflows in one step, reducing model calls and boosting efficiency!
New in smolagents v1.16.0:
π Bing support in WebSearchTool
π Custom functions & executor_kwargs in LocalPythonExecutor
π§ Streaming GradioUI fixes
π Local web agents via api_base & api_key
π Better docs
π github.com/huggingface/smolagents
Code Agents generate full code blocks and execute them in one go, instead of calling tools one-by-one. Learn how to build smarter, faster agents in a new @deeplearningai.bsky.social course by @hf.co.
Build with smolagents β sandboxed, reliable, powerful.
π www.deeplearning.ai/short-course...
Full release π github.com/huggingface/...
#smolagents #LLM #AgenticAI
smolagents v1.14.0 is out! π
π MCPClient: A sleek new client for connecting to remote MCP servers, making integrations more flexible and scalable.
πͺ¨ Amazon Bedrock: Native support for Bedrock-hosted models.
SmolAgents is now more powerful, flexible, and enterprise-ready. πΌ
International Women's Day (IWD) 2025: www.internationalwomensday.com
08.03.2025 17:41 β π 0 π 0 π¬ 0 π 0Imagine a gender equal world. A world free of bias, stereotypes, and discrimination. A world that's diverse, equitable, and inclusive. A world where difference is valued and celebrated. Together we can forge gender equality. Collectively for #IWD2025 we can all #AccelerateAction
08.03.2025 17:41 β π 1 π 0 π¬ 1 π 0π github.com/huggingface/...
What security measures do you take when running AI-generated code? Letβs discuss! π
#AI #smolagents #Python #Security
6οΈβ£ Upgrade Now & Stay Safe! π
Check out the latest smolagents release and start building safer AI agents today.
5οΈβ£ The Best Practice: Use Sandboxed Execution π
For production-grade AI agents, we strongly recommend running code in a Docker or E2B sandbox to ensure complete isolation.
4οΈβ£ Security Disclaimer β οΈ
π¨ Despite these improvements, local Python execution is NEVER 100% safe. π¨
If you need true isolation, use a remote sandboxed executor like Docker or E2B.