code-as-action-agents-41cbea00·1 events·first seen Aliases: code-as-action agents
Hugging Face has released smolagents, a lightweight agent framework where agents express actions as executable Python code rather than structured JSON tool calls. The library is designed for simplicity and composability, allowing agents to chain tool calls and manipulate outputs programmatically within a single code block. The release positions smolagents as a minimal alternative to heavier orchestration frameworks, with native integration into the Hugging Face ecosystem.