Stack Gems
Menu
← Catalog

smolagents

Apache-2.0 minimal code-agent framework from Hugging Face

AI Agents / Orchestration · Apache-2.0 · 30k

Reviewed 2026-09-04 · last push 2026-10-06 · repo checked 2026-10-21

What's Good

Apache-2.0. CodeAgent (executable Python) + ToolCallingAgent (JSON). Hub-native tools, multi-agent orchestration, optional E2B sandbox. First-class HF model routing. Tiny core you can read.

The Catch

Minimalist — not Temporal durable workflows or production multi-tenant agent platform. Code execution needs sandbox discipline. Vs CrewAI/PydanticAI: HF Hub gravity, less enterprise packaging. You own evals, memory, and deploy.

Verdict

Apache-2.0 code-first agents. Free library; sandbox/ops are yours.

Embed

Maintainer? Add the badge to your README. It is free, links to this review, and there is no paid version.

Reviewed on Stack Gems

Markdown

[![Reviewed on Stack Gems](https://stackgems.com/badge/smolagents.svg)](https://stackgems.com/gems/smolagents)

HTML

<a href="https://stackgems.com/gems/smolagents"><img src="https://stackgems.com/badge/smolagents.svg" alt="smolagents reviewed on Stack Gems" height="20"></a>