# smolagents — card for AI agents

A minimal Hugging Face library for agents that write and run Python code as their actions.

Maker: Hugging Face · category: Agent frameworks and SDKs · open source (Apache-2.0)

## Price
- smolagents is open source and free to use; you pay only for the models and infrastructure it runs on.
- Free tier: yes
- Checked: 2026-11-04

## Install
- PyPI: `pip install smolagents`

## Facts
- Interfaces: Python library
- Repository: https://github.com/huggingface/smolagents

## Numbers (AgentGid data)
- Gid Score: 54 (rank #46) (public popularity and activity, not quality)
- Downloads last 7 days: 193,463
- GitHub stars: 30,437

## Details (plan limits, live status, safety; from AgentGid's data)
smolagents by Hugging Face. Category: Agent frameworks and SDKs. Type: code-agent library. A minimal Hugging Face library for agents that write and run Python code as their actions. Open source (Apache-2.0) Pricing (checked 2026-11-04): smolagents is open source and free to use; you pay only for the models and infrastructure it runs on. Free tier: yes. Interfaces: Python library Supports: mcp, local, multi_agent Data: Gid Score 54/100, #46 overall; #11 in its category; 30,437.0 GitHub stars; usage +64% over 30 days; latest release 1.26.0 (2026-05-29).

## Alternatives in the same category
- LangChain: https://agentgid.com/agents/langchain/agent.md
- LangGraph: https://agentgid.com/agents/langgraph/agent.md
- AI SDK: https://agentgid.com/agents/vercel-ai-sdk/agent.md
- Claude Agent SDK: https://agentgid.com/agents/claude-agent-sdk/agent.md
- Mastra: https://agentgid.com/agents/mastra/agent.md
- OpenAI Agents SDK: https://agentgid.com/agents/openai-agents-sdk/agent.md

## Links
- AgentGid page: https://agentgid.com/agents/smolagents/

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
