Ross ROSS = Recommend OSS · open-source software intelligence for agents

huggingface/smolagents

🤗 smolagents: a barebones library for agents that think in code. observed · 2026-08-28

github.com/huggingface/smolagents · homepage · Python · Apache-2.0 (permissive) observed · 2026-08-28

Health v2 · maintenance only

84/100

  • Activity 99
  • Release rhythm 86
  • Longevity 45
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: 8
  • age_days: 636
  • days_rel: 96
  • days_push: 8
  • n_releases_24m: 36

Full methodology

Adoption not part of the score

29005 stars · 2895 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

smolagents is a lightweight Python library from Hugging Face for building LLM-powered agents in a few lines of code, with first-class support for Code Agents that write their actions as Python code. It is model-agnostic, supports tool-calling agents, Hub sharing of tools/agents, and sandboxed code execution via E2B, Modal, Blaxel, or Docker.

Use cases

  • build an ai agent in python with a few lines of code
  • run llm agents that write and execute code
  • create tool-calling agents with any llm provider
  • sandbox agent code execution securely
  • share and reuse agent tools via the hugging face hub
  • monitor and debug agent runs with opentelemetry

When to choose

  • you want a minimal, simple agent framework with little abstraction
  • you prefer code-writing agents over JSON tool calling for composability
  • you need model-agnostic agent support across LLM providers
  • you want to share or pull tools and agents from the Hugging Face Hub

When to avoid

  • you need a full-featured multi-agent orchestration framework with heavy abstractions
  • you cannot run generated code safely and lack a sandbox option
  • your workflow is fully deterministic and doesn't need LLM agency

Facets

library · maturity active

agent-framework llm-inference sdk developer-tools large-language-models artificial-intelligence developer-tools python cloud cross-platform code-agents tool-calling hugging-face sandboxed-execution opentelemetry llm-agents ai-agents docker

10 sources

Member repositories

RepositoryRoleHealth v2
huggingface/smolagentsmain84

For agents

markdown · JSON · MCP: product_card(name="huggingface/smolagents")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem