Agent frameworksOpen source

smolagents

Hugging Face's minimal library for code-writing agents

smolagents website preview
Public Open Graph image captured during verification.

About the tool

Hugging Face's minimal library for code-writing agents

smolagents is a lightweight agent library whose core logic fits in roughly a thousand lines, centered on a CodeAgent that expresses actions as Python code rather than JSON tool calls. It supports sandboxed execution, open and proprietary models, and sharing tools via the Hugging Face Hub.

Pricing
Open source
Category
Agent frameworks
Maker
Not publicly supplied
Provenance
Indexed by PageVerified from public information

For the maker

Featured placement starts as soon as payment confirms. Outbound links are marked sponsored while featured.

Backlink artifact

Show the Attested badge.

This badge links to the public evidence record. The link is followed; the verification claim remains limited to the checks shown above.

Attested — verified by PageVerified

Same category

Similar verified tools.