# smolagents

Hugging Face Python agent library where agents can express actions as executable code.

- Company: Hugging Face
- Category: Platforms & Infrastructure
- Business model: Open (open weights/source)
- Availability: unknown
- Launched: Not recorded
- Tags: framework, developer-tools
- Website: https://huggingface.co/docs/smolagents/
- Documentation: https://github.com/huggingface/smolagents
- Pricing page: Not recorded
- License: Not recorded
- Canonical URL: https://globalaiproductindex.com/products/smolagents/
- Record updated: 2026-11-03

Typical uses include Development of tool-using agents; Construction of retrieval-augmented applications. Documented capabilities: CodeAgent writes tool actions as Python code; Sandbox execution integrations for code actions; Model-agnostic tools and Hugging Face Hub sharing.

## Key features

- CodeAgent writes tool actions as Python code
- Sandbox execution integrations for code actions
- Model-agnostic tools and Hugging Face Hub sharing

## Use cases

- Development of tool-using agents
- Construction of retrieval-augmented applications

## Pricing

The open-source software can be run on your own infrastructure. Compute, storage and any external model API usage are separate costs; a managed service is not included.

## FAQ

**Where does smolagents fit in a workflow?**

Hugging Face Python agent library where agents can express actions as executable code. CodeAgent writes tool actions as Python code.

**What costs and limits should I compare before choosing smolagents?**

The open-source software can be run on your own infrastructure. Compute, storage and any external model API usage are separate costs; a managed service is not included.

## Sources

- [smolagents — official product](https://huggingface.co/docs/smolagents/)
- [smolagents — official documentation and terms](https://github.com/huggingface/smolagents)

---
Data from the [Global AI Product Index](https://globalaiproductindex.com/), licensed CC BY 4.0.
