Skip to main content

smolagents

🤗 smolagents: a barebones library for agents that think in code.

View on GitHub Official site
Agent Frameworks Apache-2.0 Easy setup 28,484 stars

Overview

Description

smolagents lets you build AI agents that can browse the web, process information, and automate tasks using just a few lines of Python code. It works with any major AI model — from OpenAI and Anthropic to open-source models — and integrates with your existing tools. The bottom line: deploy powerful agentic workflows without heavy framework overhead.

Technical scorecard

License

Apache-2.0

Commercial use

Yes

OpenAI-compatible API

Yes

REST API

Yes

Fine-tuning support

No

Quantization support

No

Docker available

No

GUI / no-code available

No

Telemetry

Unknown

Offline after setup

Yes

Data & Privacy

Does it send data online?

After setup, this listing is marked as usable offline. Confirm network behavior against the upstream project before regulated deployment.

Does it store history?

Not verified in this directory yet. Review the upstream docs for persistence, logs, and workspace storage.

License checks?

Commercial use is marked as allowed or likely allowed by the listed license.

Telemetry?

Unknown

Last verified: Jul 22, 2026. Maintainer verification should be treated as directory guidance, not legal advice.

🛡️

Deploying smolagents in production?

Stop silent telemetry leaks before they trigger an unintended data leak. Get our Airgap Certainty Blueprint for smolagents.

Request Privacy and Telemetry Audit

Setup & Installation

Easy

A developer can usually get this running with standard docs.

# Start with the official project repository
# https://github.com/huggingface/smolagents

Hardware Requirements

Hardware tagsNot specified
LanguagesPython

Works Well With