# smolagents

> Barebones library for agents that think in code.

Canonical: https://thelocalbench.com/tools/smolagents · Data as of 2026-10-12 · The Local Bench (thelocalbench.com), data as of 2026-10-12, CC BY 4.0

Flags: [verified] checked against primary source · [sourced] cited · [estimate] formula · [sample] placeholder

- Category: Agent frameworks / Code agents
- Website: https://huggingface.co/docs/smolagents
- Repository: https://github.com/huggingface/smolagents
- Open source: yes, Apache-2.0 [verified] https://github.com/huggingface/smolagents/blob/HEAD/LICENSE
- Pricing: free, starting $0 [verified] https://github.com/huggingface/smolagents
- Platforms: Python [sourced] https://github.com/huggingface/smolagents#readme
- Added 2026-10-13, last verified 2026-10-13
- Sponsored: no

## Works with local models

| Integration | Status | Flag | Source |
|---|---|---|---|
| Ollama | yes | [sourced] | https://github.com/huggingface/smolagents#readme |
| llama.cpp | not yet confirmed | [not_measured] |  |
| LM Studio | not yet confirmed | [not_measured] |  |
| OpenAI-compatible | yes | [sourced] | https://github.com/huggingface/smolagents#readme |
| MCP | yes | [sourced] | https://github.com/huggingface/smolagents#readme |

JSON: https://thelocalbench.com/api/v1/tools/smolagents.json

Logo: trademark of its owner, shown to identify the tool (source: github-org-avatar, https://github.com/huggingface.png?size=384).
