
smolagents
huggingface.co · Agent Frameworks
Hugging Face's minimal library for agents that think in code, working with any model.
smolagents is one of 18 agent framework tools on Drydock. See all agent framework tools or how we check facts.

huggingface.co · Agent Frameworks
Hugging Face's minimal library for agents that think in code, working with any model.
smolagents is one of 18 agent framework tools on Drydock. See all agent framework tools or how we check facts.
// guides
How to build an AI agent from scratch in Python: a tool loop, safe file tools, approvals, a step cap and memory in about 125 lines, on OpenAI or Ollama.
Find the best AI agent framework for Python in 2026. LangGraph, CrewAI, Agno, smolagents, and Pydantic AI compared, with clear picks by use case and tradeoffs.
// related