paper-with-me

Papers

TapeAgents: a Holistic Framework for Agent Development and Optimization

2024-12-11 · Dzmitry Bahdanau, Nicolas Gontier, Gabriel Huang, Ehsan Kamalloo, Rafael Pardinas, Alex Piché, Torsten Scholak, Oleh Shliazhko, Jordan Prince Tremblay, Karam Ghanem, Soham Parikh, Mitul Tiwari, Quaizar Vohra

We present TapeAgents, an agent framework built around a granular, structured log tape of the agent session that also plays the role of the session's resumable state. In TapeAgents we leverage tapes to facilitate all stages of the LLM Agent development lifecycle. The agent reasons by processing the tape and the LLM output to produce new thought and action steps and append them to the tape. The environment then reacts to the agent's actions by likewise appending observation steps to the tape. By virtue of this tape-centred design, TapeAgents can provide AI practitioners with holistic end-to-end support. At the development stage, tapes facilitate session persistence, agent auditing, and step-by-step debugging. Post-deployment, one can reuse tapes for evaluation, fine-tuning, and prompt-tuning; crucially, one can adapt tapes from other agents or use revised historical tapes. In this report, we explain the TapeAgents design in detail. We demonstrate possible applications of TapeAgents with several concrete examples of building monolithic agents and multi-agent teams, of optimizing agent prompts and finetuning the agent's LLM. We present tooling prototypes and report a case study where we use TapeAgents to finetune a Llama-3.1-8B form-filling assistant to perform as well as GPT-4o while being orders of magnitude cheaper. Lastly, our comparative analysis shows that TapeAgents's advantages over prior frameworks stem from our novel design of the LLM agent as a resumable, modular state machine with a structured configuration, that generates granular, structured logs and that can transform these logs into training text -- a unique combination of features absent in previous work.

📄 PDF Abstract BibTeX arXiv:2412.08445

Code (1)

servicenow/tapeagents

Similar Papers 제목 키워드 기반

OMAC: A Broad Optimization Framework for LLM-Based Multi-Agent Collaboration

2025-05-17 · Shijun Li, Hilaf Hasson, Joydeep Ghosh

Agents powered by advanced large language models (LLMs) have demonstrated impressive capabilities across diverse complex applications. Recently, Multi-Agent Systems (MAS), wherein multiple agents collaborate and communic…

Arithmetic ReasoningCode Generation

MARS-Gym: A Gym framework to model, train, and evaluate Recommender Systems for Marketplaces

2020-09-30 · Marlesson R. O. Santana, Luckeciano C. Melo, Fernando H. F. Camargo, Bruno Brandão 외

Recommender Systems are especially challenging for marketplaces since they must maximize user satisfaction while maintaining the healthiness and fairness of such ecosystems. In this context, we observed a lack of resourc…

FairnessRecommendation Systems

AIOpsLab: A Holistic Framework to Evaluate AI Agents for Enabling Autonomous Clouds

2025-01-12 · Yinfang Chen, Manish Shetty, Gagan Somashekar, Minghua Ma 외

AI for IT Operations (AIOps) aims to automate complex operational tasks, such as fault localization and root cause analysis, to reduce human workload and minimize customer impact. While traditional DevOps tools and AIOps…

Fault localization

FormulaCode: Evaluating Agentic Optimization on Large Codebases

2026-03-16 · Atharva Sehgal, James Hou, Akanksha Sarkar, Ishaan Mantripragada 외 arxiv

Large language model (LLM) coding agents increasingly operate at the repository level, motivating benchmarks that evaluate their ability to optimize entire codebases under realistic constraints. Existing code benchmarks …

A Survey on the Optimization of Large Language Model-based Agents

2025-03-16 · Shangheng Du, Jiabao Zhao, Jinxin Shi, Zhentao Xie 외

With the rapid development of Large Language Models (LLMs), LLM-based agents have been widely adopted in various fields, becoming essential for autonomous decision-making and interactive tasks. However, current work typi…

Decision MakingLanguage ModelingLanguage ModellingLarge Language Model+1