Skip to content
product
Data quality: Editorially Reviewed
Language (LLM / NLP)
CLI / IDE plugin
Free
Software & technology
Workflow orchestration
API / SDK
Self-hosted / on-premises
Agent framework / SDK
AI Agents & Automation
Agentic / autonomous
Code generation & assistance
Enterprise / custom quote

Smolagents

AI Agents & Automation

Visit website

Overview

Smolagents is a minimal, code-centric agent framework from Hugging Face whose CodeAgent generates executable Python actions and supports local, Ollama, LiteLLM, and sandboxed execution through E2B, Modal, or Docker. It provides a lightweight approach to building AI agents that can write and execute code to accomplish tasks, with support for various model providers and execution environments. The framework prioritizes simplicity and code-as-action over complex tool-calling abstractions.

Pricing model
Free
Deployment
Self-hosted / on-premises, API / SDK, CLI / IDE plugin
Regions served
Global
Categories
Language (LLM / NLP), CLI / IDE plugin, Free, Software & technology, Workflow orchestration, API / SDK, Self-hosted / on-premises, Agent framework / SDK, AI Agents & Automation, Agentic / autonomous, Code generation & assistance, Enterprise / custom quote
Last updated
2 October 2026
Published
2 October 2026

Use cases

Workflow orchestration
Code generation & assistance

Deployment options

Self-hosted / on-premises
API / SDK
CLI / IDE plugin

Data sources & provenance

Where this information came from, how it was checked and when it was last looked at. “Last updated” records a change to the record — it does not mean the record was verified.

Data quality
Data quality: Editorially Reviewed
Primary source
langfuse.com
Sources cited
2
Last reviewed
28 September 2026
Last updated
2 October 2026

Spotted something out of date?

Anyone can suggest a correction — you don't need an account. An editor checks every suggestion against the sources before the record changes.