# smolagents

> Hugging Face's small, open-source Python library for building AI agents that write and run code to get tasks done. Works with local models (Ollama, LM Studio) or hosted APIs. Advanced: needs some Python.

- **Category:** Agent Tools
- **Official site:** https://huggingface.co/docs/smolagents/index
- **Pricing (summary; confirm on vendor site):** Free, open source (Apache-2.0); model or API costs depend on what you connect
- **Pricing source:** https://github.com/huggingface/smolagents
- **Free / DIY path:** pip install smolagents and pair it with a free local model
- **Link last checked:** 2026-10-23
- **HTML page:** https://contractoraishop.com/tools/smolagents

Pricing notes are summaries. Confirm current pricing on the vendor's site.
Independent listing by Contractor AI Shop. Not affiliated with the vendor.
Sponsored and affiliate links, if any, are labeled and never affect rankings.
