huggingface/smolagents
A lightweight Python library for building AI agents that generate and execute code.

Velocity · 7d
+50
★ / day
Trend
→steady
star history
smolagents is a barebones library for building AI agents maintained by Hugging Face. It provides a minimal framework for creating autonomous agents that think in code, meaning they generate and execute code to accomplish tasks. The library offers a streamlined approach to agent development without extensive abstractions, making it lightweight and approachable.