Introducing smolagents: simple agents that write actions in code.
Related stories
Tiny Agents: an MCP-powered agent in 50 lines of code
Tiny Agents in Python: a MCP-powered agent in ~70 lines of code
Language-Based Agent Control
The paper introduces Language-Based Agent Control (LBAC), a programming model that extends static typing and runtime enforcement to agentic applications, ensuring that agent-generated programs are well‑typed before execution. LBAC allows agents to perform arbitrary side‑effect‑free computation and recursively invoke subagents while maintaining uniform policy enforcement across both agent and developer code. The authors demonstrate LBAC through case studies on I/O sandboxing, data provenance, and information‑flow control.
Comment and Control: Hijacking Agentic Workflows via Context-Grounded Evolution
The paper introduces JAW, a detection and exploitation framework that hijacks agentic workflows on automation platforms like GitHub Actions and n8n. By evolving workflow inputs through static path‑feasibility, dynamic prompt‑provenance, and capability analyses, JAW can manipulate LLM agents to perform malicious actions such as credential exfiltration. The study demonstrates that 4,714 GitHub workflows and eight n8n templates are vulnerable, affecting 15 popular GitHub Actions and two official n8n nodes.
Agents All the Way Down; A Methodology for Building Custom AI Agents from Substrate to Production
arXiv:2606. 11869v1 Announce Type: cross Abstract: Custom AI agents areagents that live inside their own application, talk to their own data and tools, enforce their own security boundaries, and carry their own brand and audit trail.
Dive into Claude Code: The Design Space of Today's and Future AI Agent Systems
arXiv:2604. 14228v2 Announce Type: replace-cross Abstract: Claude Code is an agentic coding tool that can run shell commands, edit files, and call external services on behalf of the user.
FM-Agent: Scaling Formal Methods to Large Systems via LLM-Based Hoare-Style Reasoning
arXiv:2604. 11556v2 Announce Type: replace-cross Abstract: LLM-assisted software development has become increasingly prevalent, and can generate large-scale systems, such as compilers.
Inside VAKRA: Reasoning, Tool Use, and Failure Modes of Agents
Harness as a Language: A Minimalist Agent Framework With Maximal Expressivity
The paper introduces JAZ, a minimalist LLM agent framework that centers on a single primitive called “invoke”, which allows an LLM to write and execute arbitrary code, including recursive calls, while treating all inputs and interaction history as variables in the code environment. JAZ provides built‑in hooks for constraints and monitoring but relies solely on prompting, without external tools, memory systems, or file‑system access. Experiments show that JAZ “invoke” outperforms specialized external harnesses such as Letta (MemGPT) and ACE on long‑horizon recall tasks and continual self‑improvement, achieving higher accuracy at lower cost.
A Case Study in Assuring AI-Written Software
The article reports a case study of a production healthcare platform that was built using software‑engineering agents and overseen by an operator lacking formal software training. Over time the system evolved into a meta‑agent workflow where one agent wrote code, other agents supervised and reviewed it, and project rules carried lessons forward. The study found that tests, monitors, and reviewing agents were fallible—some measured proxies instead of outcomes, audits failed silently, checks disappeared from reports, and an automated repair caused operational disruption—highlighting that human control relied on aligning the intended outcome, the evidence used to judge it, the agents’ permissions, and the final human decision around the same objective.
MAGS: Multi-agent Auto-formalization Guarantees Safety for Agentic Outputs
The paper introduces MAGS, a multi-agent framework that automatically generates executable programs with formal safety guarantees. MAGS translates LLM-generated code into the verification-aware language Dafny, repairs any safety violations using verifier feedback, and then compiles the verified code back into executable form. Evaluations on 220 diverse examples—including CUDA kernels, terminal scripts, and robotic-arm tasks—show a 100% success rate in producing programs that meet frozen safety specifications, with additional safety and functional tests confirming strong performance across domains.