smolagents is Hugging Face's minimal library for agent development. Its core idea is agents that reason through code, writing and running small snippets to take actions instead of relying only on text-based tool calls.
Because it is deliberately simple, developers can read and understand how it works without much overhead. It is free, hosted on GitHub and widely followed. It suits developers who want to experiment with agents quickly.