About Smolagents
Smolagents is an MCP server published by huggingface in the Agents category: 🤗 smolagents: a barebones library for agents that think in code. No package is published for it, so it installs from a source checkout.
The repository has 31K stars and 3.3K forks, is licensed Apache-2.0, and its last commit was on 1 Dec 2026. The latest release is v1.26.0 (29 May 2026). It follows v1.25.0 (14 May 2026), and the 5 most recent releases go back to v1.22.0 (25 Sep 2025). It passes 3 of the 5 static checks Conduid ran on the repository; it does not pass Dependencies pinned and No dynamic code execution. Its topics include fastapi, rag and smolagents.
Install
git clone https://github.com/huggingface/smolagentsSecurity checks
Static checks derived from the repository 7 hours ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 1.5K words.
- ✓License declaredThe repository declares the Apache-2.0 license.
- ✓Tests presentA test suite exists in the repository.
- !Dependencies pinnedNo lockfile anywhere in the repository. Installs can pull different code over time.
- !No dynamic code executionScanned 18 source files and found 1 call to eval or shell execution, in src/smolagents/tools.py:575. Review how tool inputs reach them before granting credentials.
1 check has not been run yet.
What the source scan found
- Transport
- None found in the source
- Starts other programs
- No calls that start other programs
- Outbound network calls
- 10 callssrc/smolagents/agent_types.py:229, src/smolagents/default_tools.py:210, src/smolagents/default_tools.py:317
- Writes or deletes files
- 3 callssrc/smolagents/gradio_ui.py:332, src/smolagents/tools.py:419, src/smolagents/utils.py:441
- Lockfile
- None in the repository
Pattern matches on the source text of 18 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 1.5K words, fetched 7 hours ago. The original in the repository is authoritative.
Read full README