AI Testing How to Test smolagents from HuggingFace smolagents is HuggingFace's lightweight Python library for building agents. "Small" is in the name — the library is minimal by design.