Hugging Face Blog

Introducing smolagents: simple agents that write actions in code.

arXiv AI
Oct 16

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.

By Timothy Zhou, Loris D'Antoni, Nadia Polikarpova
arXiv AI
1d ago

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.

By Neil Fendley, Zhengyu Liu, Aonan Guan, Jiacheng Zhong, Yinzhi Cao
arXiv AI
Sep 24

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.

By Zhening Li, Joshua Liu, Mateja Vukelic, Nicole Shen, Supriya Lall, Amitayush Thakur, Alex Zhang, Omar Khattab, Jonathan Light, Armando Solar-Lezama
arXiv AI
Oct 7

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.

By Lindsey Ferris, Sierra Bonilla
arXiv AI
Sep 18

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.

By Albert Wu, Nicholas Roberts, Tzu-Heng Huang, Haoran Lin, Gil Friedman, Sungjun Cho, Gabriel Orlanski, Frederic Sala