Agentic Generative AI for Media Content Discovery at the National Football League

Henry Wang, Md Sirajus Salekin, Jake Lee, Ross Claytor, Shinan Zhang, Michael Chi

Abstract

The National Football League (NFL) manages petabytes of digital media, primarily game footage used for broadcasts, social media, and historical analysis. Traditionally, retrieving specific plays required researchers to navigate complex "filter-and-click" interfaces, a process that was both time-consuming and dependent on deep schema knowledge. This paper describes an agentic generative AI system developed in partnership with AWS that allows media researchers to find historical plays using natural language. By translating conversational queries into precise database calls and utilizing a novel semantic caching mechanism, the system achieves over 95% accuracy and reduces search time from an average of 10 minutes to just 30 seconds.

Introduction

As the volume of data from the NFL’s "Next Gen Stats" (NGS) platform grows, the "needle in a haystack" problem has become a significant bottleneck for production teams. Finding a specific moment—such as "all touchdown passes greater than 10 yards by Patrick Mahomes from Under Center in 2022"—traditionally required manual filtering across multiple granular data tables. To address this, the NFL developed an agentic workflow designed to bridge the gap between natural language and complex database architectures, enabling real-time content creation and more efficient media workflows.

System Architecture and Methods

The system utilizes an agentic workflow orchestrated by LangGraph and powered by Amazon Bedrock (specifically the Claude 3 model family). Unlike standard chatbots, this system functions as a multi-step reasoning engine with several specialized components:

1. Intent Classification and Guardrailing

A low-latency model (Claude 3 Haiku) serves as the initial entry point, acting as a guardrail to filter out non-football queries and ensure the system remains focused on its primary domain.

2. Entity Extraction and Disambiguation

The system identifies players, teams, and specific statistical conditions (e.g., ">10 yards"). To maintain high precision, the agent includes a human-in-the-loop disambiguation step. For example, if a user searches for "Josh Allen," the system prompts the user to clarify whether they mean the quarterback or the linebacker before proceeding with the query.

3. Dynamic Schema Routing

NGS data is highly granular, with separate schemas for passing, rushing, and defensive statistics. To prevent the LLM from being overwhelmed by irrelevant fields—which can lead to hallucinations—a "router" LLM selects only the relevant data tables to include in the context window for the specific query.

4. Text-to-API Translation and Auto-Correction

The agent translates natural language into OpenSearch API calls using a Chain-of-Thought (CoT) approach. A critical feature of this module is the auto-correction loop: if an API call fails, the LLM analyzes the error message and attempts to fix the syntax (up to three times) before returning a result.

5. Semantic Caching with Placeholders

To optimize performance and reduce costs, the system employs a semantic cache. This cache uses placeholders (e.g., replacing "Patrick Mahomes" with [PLAYER]) to store the logic of previous queries. This allows the system to reuse the structural reasoning of a complex query for a different player without re-running expensive LLM steps.

Evaluation and Datasets

The system was evaluated using the NFL Next Gen Stats platform, which has captured real-time player and ball tracking data since 2016. The research team curated a custom dataset of 240 Question and Answer (QA) pairs, categorized by complexity:

  • Easy (30%): Straightforward API calls.
  • Medium (50%): Queries involving multiple filtering conditions.
  • Complex (20%): Queries requiring deep football domain knowledge and the joining of multiple data schemas.

Key Results

  • Accuracy: The system achieved over 95% accuracy on the test set, where accuracy was defined as the generated API call returning the exact same count of plays as the ground truth.
  • Efficiency: The average time to find relevant video clips dropped from 10 minutes to 30 seconds. For complex queries involving multiple conditions, the speedup reached up to 20x compared to manual searching.
  • Adoption: Within the first month of deployment, 250 NFL media editors were onboarded and integrated the tool into their daily workflows.

Discussion and Future Work

The implementation demonstrates that agentic workflows can significantly lower the barrier to entry for complex data retrieval. The use of schema routing and semantic caching provides a blueprint for managing large-scale, domain-specific datasets with LLMs.

Future iterations of the system may move beyond metadata-based searches. Potential areas for growth include multi-modal capabilities, where the LLM could directly analyze video frames to identify nuances not captured in tracking data, such as specific celebrations or one-handed catches. Additionally, expanding the system for fan-facing applications would require further refinement of guardrails and simplified output formats.

Summary updated

BibTeX
@inproceedings{wang2025agentic,
  author = {Henry Wang and Md Sirajus Salekin and Jake Lee and Ross Claytor and Shinan Zhang and Michael Chi},
  title = {{Agentic Generative AI for Media Content Discovery at the National Football League}},
  booktitle = {ISACE},
  year = {2025},
  doi = {10.1007/978-3-032-06167-6\_20},
}
Figure