the catalog · ✨ AI assistants

smolagents

★ 24k

Hugging Face's minimal agent library — agents that write their actions in code, any model, ~1,000 lines of core.

smolagents does the job of OpenAI Agents platform, self-hosted. It is Apache-2.0-licensed, so you can do essentially what you like with it, and it installs in about one command. OpenAI Agents platform bills $20 for it. 24k stars on GitHub.

Open-source replacement for OpenAI Agents platform.

Licence
Apache-2.0
Self-hosting
Easy
The paid one costs
$20
GitHub stars
24k
view the code →official site →

Is it actually a replacement?

We have not written a verdict on OpenAI Agents platform yet, so this page says what smolagents is rather than judging what you would give up. When that product gets a page, this one will link to it.

smolagents questions

Is smolagents open source?

Yes — it is released under Apache-2.0.

Can I self-host smolagents?

Yes — we rate it easy to self-host.

More agent framework tools