Skip to main content
Smolagents logo
Framework

Smolagents

Verified Sep 2026

A Simple Framework for Building AI Agents

A lightweight open-source agent framework from Hugging Face. Simple, focused on code-generating agents and tool use. Pythonic and minimal.

Who it's for

Developers who want a minimal HF-native library for code-writing AI agents in about a thousand lines.

Keep exploring

1 in catalog

Smolagents is written in

3 in catalog

Smolagents features