Skip to content

smolagents

Open source

Hugging Face · Agent frameworks · Since 2024

Minimal agents that think in code.

Overview

A small Python library whose CodeAgent writes actions as Python snippets rather than JSON tool calls, runnable in sandboxes, with any model on the Hub or via API.

  • Code agents
  • Any LLM
  • Sandboxed execution