Smolagents
30,471Minimalist code-agent library that expresses actions as executed Python.
Activity band details
Activity band A to F: a bin of a score that adds GitHub stars (log scale), a push to the upstream repository in the 12 months before `as_of`, the number of declared integration surfaces and, where the catalogue records them, citing papers and benchmark evaluations. It measures popularity and activity. It is not a level of evidence: no band means a paper cites the tool or that it was measured. Recency is judged as of 2026-11-22.
Computed band: D
(raw score 4.29).
Shown band: D
.
Facets:
documented_in=0evaluated_on=0integration_surfaces=0.5paper_citations=0recent_push=2stars=1.79
Source of truth: pipeline/maturity/score.py
Description
Hugging Face's minimalist agent framework (≈thousand lines of code) built around CodeAgent, which has the LLM emit Python snippets that are executed against a controlled tool namespace rather than producing JSON tool-call objects. Supervision primitives: a sandboxed Python executor (local or E2B/Docker), an explicit authorized-imports list, planning-step hooks, and trajectory inspection. Action-as-code gives richer composition but shifts the surface from JSON-schema validation to Python-sandbox integrity.
Why it's included
Occupies detection × post_generation × fully_autonomous for the "code-as-action" agent archetype. Distinct enough from JSON-tool-call frameworks that its supervision primitives (authorized-imports, Python sandbox) are worth modeling separately.
Security notes
Open-source (Apache-2.0). CodeAgent executes model-emitted Python — the default local executor only whitelists imports and is not a hard sandbox; for untrusted prompts use the E2B or Docker executor. Review the authorized-imports list per deployment; a broad list effectively grants the model arbitrary local-Python capability.
Addresses failure modes
These tags are the catalog's claim about what Smolagents is built to catch or prevent. A tag is not a test result. SAICA-Bench has not measured Smolagents, so none of these tags is tested here.
- Scope creep — Actions outside declared task boundary.