smolagents
Hugging Face's small agent library, where agents act by writing and running Python code.
Open the source (opens github.com) https://github.com/huggingface/smolagents
Before you use it
- Agents that run code should run somewhere they can't damage your machine.
What it is
Agents & frameworks from Hugging Face. Good for:
- Build an agent on open models
- Learn how agents work from compact code
Level: advanced
How to get it
Install
pip install "smolagents[toolkit]"
Copied from the official README or docs
Related
-
saluteface-public
Agents & frameworksOpen-source AI research agent for protein watermarking, autonomous research workflows, reproducible datasets, and Hugging Face publishing.
git clone https://github.com/IAmAaronYang/saluteface-public.git -
OpenAI Agents SDK (Python)
Agents & frameworksOpenAI's lightweight Python framework for multi-agent workflows.
pip install openai-agents -
CrewAI
Agents & frameworksA Python framework for teams of role-based agents that work on a task together.
uv tool install crewai -
Browser Use
Agents & frameworksA Python library that lets an AI agent use a web browser to finish tasks.
uv add browser-use -
parlant
Agents & frameworksBuild reliable customer-facing AI agents with Parlant: an interaction control harness optimized for controlled, consistent, and predictable LLM interactions.
git clone https://github.com/emcie-co/parlant.git -
LangGraph
Agents & frameworksA framework for building agents as graphs of steps, for long-running work that needs to pause, retry or resume.
pip install -U langgraph