Smolagents: Code-first, Multi-step AI agents smolagents is Hugging Face 's small, intentionally minimal Python library for building agentic systems that think in code. It gives you a multi-step loop, tools, and models without a forest of abstrac... AI agents CodeAgent Hugging Face MCP Open Source smolagents