smolagents
SKILL.md
Smolagents Skill
This skill leverages Hugging Face's Smolagents framework, a minimalist AI agent library where agents write Python code to accomplish tasks. It's highly efficient (30% token efficiency gain) and supports multiple LLM providers.
Setup
-
Dependencies: Requires
smolagentswith toolkit extensions.pip install 'smolagents[toolkit]' python-dotenv -
API Key Configuration: Supports multiple LLM providers. At minimum, set one:
# For Hugging Face Inference API (default, free tier available) echo "HF_TOKEN=your_huggingface_token" >> .env