chore(eco-watch): add smolagents — 2026-04-17
Hugging Face's code-first agent framework (26.5k★, Apache-2.0). CodeAgent pattern (Python-native tool calls), LiteLLM model-agnostic, E2B/Docker sandboxing, Hub tool registry. Filed GH #792 to evaluate molecule-ai-workspace-template-smolagents adapter. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
bcd256946f
commit
6d5fd8bb9a
@ -2858,6 +2858,26 @@ langgraph/crewai adapters.
|
||||
|
||||
---
|
||||
|
||||
### smolagents — `huggingface/smolagents`
|
||||
|
||||
**Pitch:** "The simplest library to build powerful agents" — Hugging Face's barebones, code-first agent framework.
|
||||
|
||||
**Shape:** Python, Apache-2.0, 26.5k★, ~1,000 lines of core library code. Primary primitive is `CodeAgent`: instead of emitting tool calls as JSON, the agent writes executable Python that calls tools directly — "thinking in code." Model-agnostic via LiteLLM (OpenAI, Anthropic, Mistral, Ollama, etc.). Sandboxed code execution via E2B, Modal, Docker, or Pyodide (WASM). Hugging Face Hub integration for sharing reusable tools and agents. Multimodal support (text, vision). CLI utilities (`smolagent`, `webagent`). Companion: `huggingface/agents-course` for onboarding.
|
||||
|
||||
**Overlap with us:** (1) Code-first agent execution sits at the same runtime layer as `molecule-ai-workspace-template`. (2) Tool sharing via Hub = a public registry alternative to our internal tool registry. (3) Sandboxed execution (E2B/Docker) mirrors our Docker workspace isolation model. (4) Multimodal + model-agnostic design aligns with our workspace-template flexibility goals. (5) 26.5k★ + Hugging Face distribution = strong community pull for developers who land here before Molecule.
|
||||
|
||||
**Differentiation:** Single-agent, no multi-agent orchestration, no A2A protocol, no org hierarchy, no canvas, no scheduling, no workspace lifecycle management. "Barebones by design" — Molecule is the governance + multi-tenant + orchestration layer smolagents explicitly omits. smolagents' code execution sandbox is local-process; Molecule provides a full Docker workspace per agent.
|
||||
|
||||
**Worth borrowing:** CodeAgent pattern (agent writes Python to call tools) as an optional execution mode for workspace-template. Hub-based tool registry concept — could inform a public Molecule tool/template marketplace. E2B integration pattern for lightweight sandboxing of short-lived tasks.
|
||||
|
||||
**Terminology collisions:** "agents" (identical), "tools" (identical), "CodeAgent" ≈ our workspace-template code execution runner.
|
||||
|
||||
**Signals to react to:** smolagents ships A2A support → evaluate `molecule-ai-workspace-template-smolagents` adapter (GH #792). Hugging Face positions smolagents as the default agent runtime in their platform → Molecule needs a smolagents bridge or loses HF-ecosystem developers. smolagents reaches 40k★ → competitive threat to workspace-template mind-share.
|
||||
|
||||
**Last reviewed:** 2026-04-17 · **Stars / activity:** 26,500★, Python, Apache-2.0, active Hugging Face development. GH #792 filed for adapter evaluation.
|
||||
|
||||
---
|
||||
|
||||
### Claw Code — `ultraworkers/claw-code`
|
||||
|
||||
**Pitch:** Clean-room Python + Rust rewrite of the Claude Code agentic architecture — fastest GitHub repository to 100k stars in history.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user