TriEx: A Game-based Tri-View Framework for Explaining Internal Reasoning in Multi-Agent LLMs

Ziyi Wang, Chen Zhang, Wenjun Peng, Qi Wu, Xinyu Wang
4/21/2026
cs.CLcs.AI

Official code: Einsam1819/TriEx (1 star, MIT, last commit 2026-04-23).

Abstract

Explainability for Large Language Model (LLM) agents is especially challenging in interactive, partially observable settings, where decisions depend on evolving beliefs and other agents. We present \textbf{TriEx}, a tri-view explainability framework that instruments sequential decision making with aligned artifacts: (i) structured first-person self-reasoning bound to an action, (ii) explicit second-person belief states about opponents updated over time, and (iii) third-person oracle audits grounded in environment-derived reference signals. This design turns explanations from free-form narratives into evidence-anchored objects that can be compared and checked across time and perspectives. Using imperfect-information strategic games as a controlled testbed, we show that TriEx enables scalable analysis of explanation faithfulness, belief dynamics, and evaluator reliability, revealing systematic mismatches between what agents say, what they believe, and what they do. Our results highlight explainability as an interaction-dependent property and motivate multi-view, evidence-grounded evaluation for LLM agents. Code is available at https://github.com/Einsam1819/TriEx.

View on arXivView PDF

Code Implementations(1)

Einsam1819/TriExOfficial100%
MIT
10Python, Jupyter NotebookApr 23, 20266 months agoMIT

Similar Papers

Cite this paper

@article{wang2026triex,
  title  = {TriEx: A Game-based Tri-View Framework for Explaining Internal Reasoning in Multi-Agent LLMs},
  author = {Ziyi Wang and Chen Zhang and Wenjun Peng and Qi Wu and Xinyu Wang},
  year   = {2026},
  eprint = {2604.20043},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2604.20043v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2604.20043.svg)](https://codeofpaper.com/paper/2604.20043)

Discussion