Skip to content
smolagents logo

smolagents

Build lightweight agents that can use tools and execute code to complete tasks.

Languages
Python
API surface
Python agent library
MCP capability
MCP integration

APIs & SDKs

Build lightweight agents around tool execution and code. Tool definitions connect Python functionality to the agent’s available actions.

Explore the developer documentation ↗

Integrations

The tools guide covers custom tools, Hugging Face Hub collections, Spaces and LangChain tools. Select only the tools needed for the task.

View framework integration resources ↗

MCP support

ToolCollection.from_mcp loads MCP server tools for an agent. The guide includes stdio and Streamable HTTP examples and requires an explicit remote-code trust choice.

Evidence scope: Python tool collection integration. Documentation reviewed; runtime compatibility has not been tested.

Sources & review

Integration notes reviewed . Check the linked documentation for current package versions, language support and authentication requirements.

How we review directory entries →

Search API Tracker

Curated starting points