Agent Frameworks

smolagents

Minimalist Hugging Face library where AI agents write and execute Python code actions directly instead of verbose JSON.

pip install smolagents

smolagents implements CodeAgents in ~1,000 lines of core code with sandboxed execution and seamless integration with Hugging Face Hub models and tools.