Overview
Hugging Face’s lightweight library for building agents that write and execute Python code as their primary action.
Details
Smolagents is Hugging Face’s lightweight library for building agents that write and execute Python code as their primary action mechanism (rather than tool calling via JSON). The “code is the action” approach gives agents strong reasoning and execution capabilities. Smolagents supports multiple LLM providers and tool integrations. Smolagents is one of the simplest reference implementations of code-action agents.
Tags
agent-framework, open-source, hugging-face, python, code-agents