AI Potluck
Product / UX / Orchestration & agents

smolagents

Hugging Face

Minimal code-first agent framework from Hugging Face, whose CodeAgent writes actions as executable Python rather than JSON tool calls. The core is about a thousand lines. It runs actions in a sandbox, is model-agnostic across hosted and local providers, and imports tools over MCP and from LangChain.

Verified 2026-08-13 via the huggingface/smolagents repository.

Openness

5 high confidence
5.0
license
Apache-2.0(OSI)
source
public(github.com/huggingface/smolagents)
core-gated
ungated

Fully OSI-licensed (Apache-2.0), entire library public, no proprietary/managed core, top openness.

Adoption

3 high confidence
3.0

653,459 PyPI downloads in the trailing 30 days for smolagents, from the pypistats API, which bands at level 3 (100K-1M) on the software adoption scale - meaningful, but below the heavyweight framework anchors. smolagents is the declared and primary channel, so this measures the product itself rather than standing in for it.

Capability

3 medium confidence
3.0

Deliberately lightweight: strong on model-agnosticism, tool-use, and sandboxing but thinner orchestration/eval surface than heavier frameworks; no benchmark, scored 3 on feature matrix.

Verified 2026-08-13