skills/smithery.ai/smolagents

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

  1. Dependencies: Requires smolagents with toolkit extensions.

    pip install 'smolagents[toolkit]' python-dotenv
    
  2. 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
    
Installs
3
First Seen
Apr 2, 2026