smolagents
Minimalist Hugging Face library where AI agents write and execute Python code actions directly instead of verbose JSON.
// Quick Install
pip install smolagents
// What It Does
smolagents implements CodeAgents in ~1,000 lines of core code with sandboxed execution and seamless integration with Hugging Face Hub models and tools.