# smolagents

> Barebones library for agents that think in code

A small library from Hugging Face for agents that write and run Python code as their actions, with sandboxed execution options.

- Source: https://github.com/huggingface/smolagents
- Homepage: https://huggingface.co/docs/smolagents
- License: Apache-2.0
- Language: Python
- Stars: 29656
- Forks: 3036
- Contributors: 255
- Last commit: 2026-09-30
- Latest release: v1.26.0 (2026-05-29)
- Purpose: AI & LLM tooling, Agents & frameworks
- Runs on: Library / SDK
- For: Personal

## Worth score: 77/100

How much DigGitHub recommends it, from activity, adoption, docs, license and security signals.

- Popularity: 22/25
- Momentum: 10/20
- Maintenance: 21/25
- Community: 13/15
- Readiness: 11/15

## Alternatives

- [Mem0](https://diggithub.com/mem0ai/mem0.md): Memory layer for AI agents
- [LangChain](https://diggithub.com/langchain-ai/langchain.md): Framework for building LLM-powered applications
- [DSPy](https://diggithub.com/stanfordnlp/dspy.md): Program language models instead of prompting them
- [Hindsight](https://diggithub.com/vectorize-io/hindsight.md): Agent memory that learns
- [Semantica](https://diggithub.com/semantica-agi/semantica.md): Graph-native context infrastructure for AI
- [CrewAI](https://diggithub.com/crewAIInc/crewAI.md): Orchestrate role-playing AI agent crews
- [LangGraph](https://diggithub.com/langchain-ai/langgraph.md): Build resilient, stateful agents
- [Agno](https://diggithub.com/agno-agi/agno.md): Build, run and manage agent platforms

---

Source page: https://diggithub.com/huggingface/smolagents
Updated: 2026-10-03
