DirectoryHarness
HarnessCode-action agent library
smolagents
Hugging Face
Hugging Face’s small agent library, Apache-2.0. The repository stresses code agents: the action is code, not only a JSON tool call.
When to use it
- You want a thin library and a sandbox around code the agent writes.
- The model can be local transformers, Ollama, the Hub, or another vendor through LiteLLM.
Official excerpt
Notes taken from the source page on 2026-12-04. They are not measurements or rankings by HAROPS. Quotes stay in the source language.
- 仓库自述
- CodeAgent 把动作写成代码。沙箱执行提到 Blaxel、E2B、Modal 或 Docker。工具可以来自 MCP、LangChain 或 Hub Space。
- 许可证
- 仓库 LICENSE 为 Apache-2.0。
Deployment and terms
- Local
- Self-host
- Open-source license
Apache-2.0
- Coding agent
- Tool use
Read this carefully
- Sandbox vendors are optional. The library does not require one hosted backend.
Sources and review
Last reviewed 2026-12-04