# smolagents: AI agent (Agent framework) in 2026

> Small Python library for agents that act by writing and running code.

**Sourced facts checked 2026-10-17.** Source: https://huggingface.co/docs/smolagents (checked 2026-10-17). Rank 4 of 5 in Agent framework.

## Key facts

| Fact | Value |
| --- | --- |
| Type | AI agent |
| Category | Agent framework |
| Maker | Hugging Face |
| Interface | SDK |
| Licence | Apache-2.0 (Open source) |
| GitHub stars | 29,894 (as of 2026-10-17) |
| MCP support | Yes (per official docs) |
| Subagents | Yes |
| Sandboxing | Yes |
| Website | https://huggingface.co/docs/smolagents |
| Repository | https://github.com/huggingface/smolagents |
| Source | https://huggingface.co/docs/smolagents (checked 2026-10-17) |
| Vibe Shipped harness page | https://vibeshipped.io/harness/smolagents |

## Install

### Install

This agent is an MCP client (official docs). To give it a server from this directory, add that server in this agent's own MCP settings; every MCP server entry shows the snippet.

Source: https://huggingface.co/docs/smolagents (checked 2026-10-17).

## Links

- Page: https://vibeshipped.io/directory/agents/smolagents
- JSON: https://vibeshipped.io/directory/agents/smolagents.json
- Claim this listing: https://vibeshipped.io/directory/claim?entry=agents/smolagents
- Directory: https://vibeshipped.io/directory

Ranking rule: Within a category, entries sort by (1) latest verification: verified working, then reachable but sign-in required, then failing; (2) share of daily checks that passed; (3) number of sourced facts attached to the entry; (4) median response time of passing checks; (5) name. Nothing else counts. Rankings are never for sale: sponsors and paid plans cannot change an entry's position.