Project overview
smolagents offers a compact Python framework for code-writing agents, conventional tool-calling agents, and multi-agent hierarchies, with support for different model providers and Hub sharing. Its CodeAgent expresses actions as Python snippets. Since those snippets are executed, untrusted workloads should use a sandboxed backend; the local Python executor is explicitly not a security boundary.
Repository facts
- Primary language
- Python
- License
- Apache-2.0
- Repository updated
- Jul 10, 2026
- Default branch
- main
Resource types
Library
Use cases
AI and agent development
Runtime
LocalSandboxed
Capabilities
Code executionMemoryMulti-agent collaborationSecurity guardrailTool use