Skip to content
Agent Search Engine.

Record · smolagentsFrameworkOpen sourceVerified Sep 22, 2026

smolagents

Minimal agent library where agents write their actions as Python code.

Best for

Small code-writing agents you want to read end to end before trusting them.

Avoid if

You need a large integration ecosystem or managed orchestration out of the box.

About smolagents

Hugging Face's small agent library. Its CodeAgent writes actions as executable Python rather than JSON tool calls, with sandboxed execution options; a conventional tool-calling agent is also included. It is model-agnostic and deliberately small, favouring a readable core over a large feature surface.

smolagents is an open-source project, with 29k stars on GitHub. It was last updated in August 2026.

For agent buildersMake your product part of the discovery.Explore advertising

smolagents vs. the alternatives

All 33 alternatives →
RecordStarsPricing
smolagentsFrameworkthis listing29kOpen source
langchainFramework146kOpen source
rufloFramework72kOpen source
autogenFramework61kOpen source
crewAIFramework58kOpen source
LlamaIndexFramework52kOpen source

See all 33 smolagents alternatives, compared →

Head-to-head