---
id: "b678"
language: "en"
library: "tools"
official_url: "https://huggingface.co/docs/smolagents/index"
profile_updated_on: "2026-10-20"
---

# smolagents

Let agents express actions as code and call tools, connecting models, MCP and sandboxed execution environments.

- Company / organization: Hugging Face, Inc.
- Company country / region: United States · Company registration
- Category: Agent development platforms
- Official website: [https://huggingface.co/docs/smolagents/index](https://huggingface.co/docs/smolagents/index)
- Profile updated: 2026-10-20


## Overview

smolagents is Hugging Face’s agent library. CodeAgent expresses task actions as executable code to combine tools and process results, alongside other tool-calling options. Developers select models, register tools and configure execution, using Hub resources and MCP connections. Supported sandbox environments can isolate execution, but activation and permissions require deployment configuration.

## Official sources and references

- [Official website](https://huggingface.co/docs/smolagents/index)

## Reading & subscriptions

- [Interactive profile](../../../products/smolagents--b678.html)
- [Read](../../../read/en/products/smolagents--b678.html)
- [JSON](../../../read/en/products/smolagents--b678.json)

Descriptions summarize public information; consult official websites for features, pricing and regional availability.
