February 17, 2026

smolagents

framework

Hugging Face · December 2024

  • The entire library is roughly 1,000 lines of code — a deliberate rejection of the sprawling framework approach; minimal abstraction means you can read the whole agent runtime in one sitting
  • Code agents outperform JSON tool-calling agents by ~30% fewer steps because code is inherently composable: you can nest calls, define variables, and loop — the same properties that make shell scripts powerful
  • The core design insight maps directly to the shell thesis: agents should write executable actions (code), not describe desired actions (JSON) — the agent is a script
February 12, 2026

LangChain

framework

GitHub · October 2022

  • Framework for composing LLM calls with tools, memory, and retrieval into multi-step chains and agents
  • Popularized the “chain” abstraction — sequential LLM calls where each step’s output feeds the next — and the “agent” pattern with dynamic tool selection
  • Useful as a reference for what complexity emerges when tool loops scale; argues for the shell thesis by showing what happens without simplicity constraints