Agents & Multi-Agent

smolagents

huggingface/smolagents

A lightweight Python library for building agents that use tools and execute code to solve tasks.

★ 29.8KStars
⑂ 3.1KForks
361Open issues
PythonLanguage
Apache-2.0License
Q84Editorial score

Overview

smolagents offers a compact agent loop with tool-calling and code-executing agents. It is designed to keep agent logic small while allowing integrations with model providers, tools, and sandboxed execution environments.

Key features

  • CodeAgent and tool-calling patterns
  • Composable tools and agents
  • Provider integrations
  • Sandbox options for code execution

Requirements, installation and quick start

Install the Python package with `pip install smolagents`; consult the official documentation for optional integrations.

Usage

Create an agent, provide a model and a set of tools, then call it with a task. Use an appropriate sandbox when enabling generated code execution.

Model compatibility and use cases

Supports multiple model providers through its integrations; check the current documentation for provider-specific setup.

License and risk notes

The repository declares Apache-2.0. Model, provider, and optional sandbox dependencies may have separate terms.

Release and maintenance

See the official repository for current releases and changes.

Firecrawl

firecrawl/firecrawl

★ 161.1KTypeScript

LangChain

langchain-ai/langchain

★ 143.6KPython

RAGFlow

infiniflow/ragflow

★ 86.7KGo