Independent project. Not a U.S. government website.

USASI
SoftwareFramework

smolagents

Project record

Maintained by Hugging Face13

smolagents is an open-source Python library from Hugging Face for building agents with few abstractions. Its CodeAgent writes its actions as Python code, a ToolCallingAgent uses conventional tool calling, and agents and tools can be shared through the Hugging Face Hub.13Fact reviewed Oct 1, 2026

Last reviewedEntry updated Documented release Unknown

Availability and license

Overall availability

Public

Source code is public and the package installs from PyPI. Hosted model providers require their own accounts or API keys; local models run through Transformers or Ollama.143

Availability fact review: Oct 1, 2026

Availability is separate from permission: read the license before using or redistributing.

The Apache 2.0 license applies to the library code. It does not license any model the agent uses, Hugging Face Hub content, or third-party inference and sandbox services, which have their own terms.21Fact reviewed Oct 1, 2026

Component reuse rights

A readable or downloadable component is not automatically reusable. These indicators concern recorded license evidence, not system certification.
weights
Unknown — no complete fact-level rights review
code
Reviewed qualifying license recorded — check scope and conditions
data
Unknown — no complete fact-level rights review
documentation
Unknown — no complete fact-level rights review

No complete system-rights review is recorded for this release.

Public materials checklist

Items for a framework under USASI rubric v0.2. Unknown means unassessed or insufficient evidence.
Public materials checklist for smolagents
ItemStatusNotes and evidence
Source codeIs the source code publicly readable?PublicPublic repository; library code only.1
DocumentationIs user documentation published?PublicPublic official documentation on the Hugging Face documentation site.34
InstallationAre installation instructions or packages publicly available?PublicInstalled with pip or uv; optional extras add tools (toolkit, mcp), model integrations (openai, transformers, vllm, mlx-lm, litellm, bedrock), remote execution (blaxel, e2b, docker), and telemetry or Gradio UI support.4
Supported platformsAre supported operating systems or hardware documented?PublicThe installation guide requires Python 3.10 or newer with pip or uv; it does not list operating-system restrictions.4
Release statusAre versioned releases published?PublicReviewed v1.26.0, the latest release at review, published May 29, 2026; commits to the main branch continued through September 30, 2026. This entry describes the project rather than one release.56

What it is useful for

Building code-executing or tool-calling agents with models from many sources. The library is client code and does not include model weights; it can run models locally through Transformers or Ollama, or call hosted models through Hugging Face Inference Providers, LiteLLM, or OpenAI-compatible servers, whose terms and openness vary by model and provider.13Fact reviewed Oct 1, 2026

Run and use notes

Documented facts only. No hardware or performance claims are made without a cited source and stated assumptions.
  • The documentation describes running models locally with Transformers (the transformers extra) or Ollama and lists vllm and mlx-lm extras. The README warns that the built-in LocalPythonExecutor is not a security boundary and recommends running agent code in a sandbox such as E2B, Blaxel, Modal, or Docker.341

Organization context

U.S. eligibility

Project eligibility rests on documented governing or maintaining entities, not on contributors.

Eligible · basis: U.S.-governed project

smolagents is developed in Hugging Face's GitHub organization, its README carries a copyright notice for the HuggingFace Team, and its documentation is published on Hugging Face's documentation site. Hugging Face's terms of service identify Hugging Face, Inc., a Delaware corporation, as the provider of its services under New York law, and its privacy policy states that the company and its servers are located in the United States (a French entity is named as its EU main establishment). NVIDIA announced on September 3, 2026 an agreement to acquire Hugging Face; this assessment does not rely on it. See the hugging-face organization record for the full dual-country assessment.13789

Assessed Oct 1, 2026

Sources

  1. 1.
    huggingface/smolagents repository and README (external site: github.com)

    Hugging Face · Repository · accessed Oct 1, 2026 · evidence reviewed Oct 1, 2026

  2. 2.
    smolagents Apache 2.0 LICENSE (external site: raw.githubusercontent.com)

    Hugging Face · License · accessed Oct 1, 2026 · evidence reviewed Oct 1, 2026

  3. 3.
    smolagents documentation (external site: huggingface.co)

    Hugging Face · Documentation · accessed Oct 1, 2026 · evidence reviewed Oct 1, 2026

  4. 4.
    smolagents installation options (external site: huggingface.co)

    Hugging Face · Documentation · accessed Oct 1, 2026 · evidence reviewed Oct 1, 2026

  5. 5.
    smolagents v1.26.0 release (external site: github.com)

    Hugging Face · Release notes · published May 29, 2026 · accessed Oct 1, 2026 · evidence reviewed Oct 1, 2026

  6. 6.
    smolagents commit history (main branch) (external site: github.com)

    Hugging Face · Repository · accessed Oct 1, 2026 · evidence reviewed Oct 1, 2026

  7. 7.
    Hugging Face Terms of Service (external site: huggingface.co)

    Hugging Face · Official page · accessed Oct 1, 2026 · evidence reviewed Oct 1, 2026

  8. 8.
    Hugging Face Privacy Policy (external site: huggingface.co)

    Hugging Face · Official page · published Mar 28, 2023 · accessed Oct 1, 2026 · evidence reviewed Oct 1, 2026

  9. 9.
    NVIDIA to Acquire Hugging Face (external site: blogs.nvidia.com)

    NVIDIA · Announcement · published Sep 3, 2026 · accessed Oct 1, 2026 · evidence reviewed Oct 1, 2026

Support Us

Help keep USASI useful.

Optional. No USASI account required. Payment takes place on the linked provider’s website (Buy Me a Coffee).

About supporting this project