smolagents
Open-source Python library for building and running AI agents with minimal code.
Unclaimed
- Pricing
- Open source
- Rating
- No reviews yet
- Category
- AI Agents
- Type
- CLI, API
- Updated

smolagents is a lightweight Python library that lets developers create agents using just a few lines of code. It supports code-based agents that write Python to invoke tools, as well as standard tool-calling agents. It works with any LLM, including models hosted on the Hugging Face Hub, APIs like OpenAI and Anthropic, or local models via Transformers or Ollama. Agents can handle text, vision, video, and audio inputs, and tools can be sourced from MCP servers, LangChain, or Hub Spaces.
Makers
—
Launches
—