FAMA: Failure-Aware Meta-Agentic Framework for Open-Source LLMs in Interactive Tool Use Environments

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

TL;DR

The Failure-Aware Meta-Agentic (FAMA) framework is a training-free approach that dynamically optimizes open-source LLM agents in tool-use environments. By analyzing failure trajectories, FAMA identifies the root causes of errors and orchestrates a minimal, targeted subset of specialized helper agents to mitigate them. This targeted context curation improves task success by up to 27% while significantly reducing token overhead and latency compared to static multi-agent methods.

What Problem Does This Paper Address?

Deploying Large Language Models (LLMs) as autonomous agents in multi-turn, interactive tool-use environments (like customer support chatbots) is notoriously difficult. Smaller, open-source LLMs frequently suffer from a cascading accumulation of decision-making errors over long conversation histories.

To make these models more reliable, traditional approaches often use static multi-agent scaffolding—deploying a fixed suite of helper modules (planners, verifiers, memory buffers) for every single task. However, this "kitchen sink" approach introduces a massive problem: it floods the model's limited context window, spikes inference latency, and increases costs. Crucially, indiscriminately injecting context can actually confuse smaller models and degrade their performance. FAMA addresses this by asking: Can we dynamically deploy only the exact helper agents a model needs based on its specific failure patterns?

Overview of the FAMA framework showing the multi-stage failure analysis and targeted mitigation loop.

Methods

FAMA is a training-free, two-stage framework that operates at a "meta" level—reasoning over agent behaviors rather than acting directly in the environment:

  1. Stage 1: Failure Analysis: The baseline agent is executed on domain tasks. If it fails, a team of independent error-analysis agents inspects the full interaction trajectory. They categorize the failure into four common error classes: Domain Policy Violations, Incorrect Retrieval from Complex Tool Outputs, Contextual Misinterpretation/Hallucination, or Incomplete Fulfillment/Early Stopping. An Orchestrator Agent then synthesizes these rationales to pinpoint the primary root cause.
  2. Stage 2: Targeted Mitigation: Based on the identified root cause, a Mitigation Agent selects the minimal optimal subset of helper agents (e.g., a Domain Constraints Extractor or a Memory Module) from a predefined pool.

When the task is re-executed, only these recommended helper agents are activated to shape the prior context for the tool-use agent, preventing unnecessary context bloat.

Datasets

The authors evaluated FAMA across three rigorous multi-turn, interactive tool-use benchmarks:

  • $\tau$-bench: Simulates real-world customer service scenarios across Airline (booking/refund workflows) and Retail (cancellations, returns) domains.
  • $\tau$-trait: An extension of $\tau$-bench focusing on agent robustness against persona-aware user simulations within Telehealth and Telecom domains.
  • ACEBench: A benchmark evaluating function-calling correctness across 30 distinct agent-based multi-turn tasks.

Key Insights and Ideas

  • More Agents $\neq$ Better Performance: Statically forcing an LLM to use every available helper agent often hurts smaller open-source models. Tailoring the agent scaffolding to the specific failure mode is far more effective than brute-force context injection.
  • Errors are Domain-Dependent: The mitigation strategies FAMA selects vary heavily by domain rather than just by model size. For example, the complex user-agent interactions in the Retail domain consistently bottleneck on memory, making the Memory Module highly recommended, whereas simpler domains require fewer active helpers.
  • The "Thinking" Model Trap: While reasoning-augmented ("thinking") variants of LLMs can improve baseline performance, their internal chain-of-thought traces consume massive token budgets. In multi-turn settings, this frequently triggers context window overflows. FAMA achieves superior and more stable performance without relying on these expensive internal reasoning steps.

Key Results

FAMA delivered consistent, substantial performance gains across all tested open-source model backbones (ranging from 4B to 72B parameters):

  • Task Success Multipliers: FAMA improved task success rates by up to 25% on $\tau$-bench, 24% on $\tau$-trait, and 27% on ACEBench over standard baselines.
  • Resource Efficiency: Compared to static multi-agent frameworks like IRMA, FAMA cut token overhead nearly in half (maintaining ~30% overhead vs. IRMA's 50-58%) and significantly lowered task completion latency, resulting in fewer overflow-induced errors.
Comparison of static methods versus FAMA's dynamic orchestration, highlighting the trade-offs in behavioral diversity and token budgets.

Limitations and Future Work

While FAMA is highly extensible, it currently operates over a predefined pool of specialized helper agents. If a model exhibits a novel failure mode not covered by the existing pool, FAMA cannot dynamically synthesize a new type of helper agent on the fly.

Additionally, the framework was validated primarily on structured, text-based conversational environments. The authors note that extending FAMA to more diverse, open-ended, multimodal, or embodied agent environments remains an important avenue for future research.

Summary updated

BibTeX
@inproceedings{saeidi2026fama,
  author = {Amir Saeidi and Venkatesh Mishra and Souradeep Mukhopadhyay and Gaowen Liu and Ali Payani and Jayanth Srinivasa and Chitta Baral},
  title = {{FAMA: Failure-Aware Meta-Agentic Framework for Open-Source LLMs in Interactive Tool Use Environments}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2026},
  doi = {10.18653/v1/2026.findings-acl.1716},
}
Figure