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 Rank 4 of 5 in Agent framework. Source: Official site or docs, checked 2026-10-17.
Key facts
| 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).
Other agent framework ai agents
- Claude Agent SDK Sourced facts checked 2026-10-17 · #1 in Agent framework
SDK that exposes Claude Code's agent loop and tools for building your own agents. - Mastra Sourced facts checked 2026-10-17 · #2 in Agent framework
TypeScript framework for agents, workflows, memory and evals, with a hosted platform. - OpenAI Agents SDK Sourced facts checked 2026-10-17 · #3 in Agent framework
Lightweight framework for multi-agent workflows with handoffs, guardrails and tracing. - LangGraph Sourced facts checked 2026-10-17 · #5 in Agent framework
Low-level framework for stateful, graph-based agent orchestration.
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. Markdown · JSON