Reproduce “FAMA: Failure-Aware Meta-Agentic Framework for Open-Source LLMs in Interactive Tool Use Environments” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Amir Saeidi, Venkatesh Mishra, Souradeep Mukhopadhyay, Gaowen Liu, Ali Payani, Jayanth Srinivasa, Chitta Baral

The FAMA (Failure-Aware Meta-Agentic Framework) is a two-stage approach designed to enhance the performance of open-source Large Language Models in interactive tool-use environments by identifying specific failure modes and dynamically activating a minimal subset of helper agents for mitigation. The framework achieved performance gains of up to 27% across various benchmarks like τ-bench, τ-trait, and ACEBench, while reducing token overhead and latency compared to indiscriminate multi-agent systems.

Key insights

  • Open-source LLMs consistently struggle with specific failure modes in tool-use tasks, such as Domain Policy Violation, Contextual Misinterpretation and Hallucination, and Incomplete Fulfillment.
  • Dynamically composing a minimal, task-relevant subset of specialized helper agents, based on identified failure modes, is more efficient and effective than static, indiscriminate multi-agent approaches for resource-constrained models.
  • The optimal memory size for an agent in interactive tool-use environments is domain-dependent rather than model-dependent, highlighting the need for adaptive context management strategies.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.