Proceedings

TraceBrain: An Open-Source Framework for Agentic Trace Management

Download BibTeX Cite

Proceedings of the Thirty-Fifth International Joint Conference on Artificial Intelligence. Demo Track. Pages 8441-8444.

https://doi.org/10.24963/ijcai.2026/975

Abstract

As Large Language Model (LLM) agents scale toward real-world deployment, they generate large volumes of fragmented, non-standardized execution traces. Many existing observability platforms treat these traces primarily as passive logging artifacts, lacking the unified infrastructure to operationalize them for active governance and agent adaptation across heterogeneous single-agent and multi-agent workflows. To address this gap, we introduce TraceBrain, an open-source infrastructure for autonomous agent trace management. TraceBrain adopts a framework-agnostic architecture built on a delta-based OpenTelemetry (OTLP) schema, which mitigates context explosion and supports on-demand reconstruction of long-horizon execution trajectories. For runtime governance, TraceBrain implements uncertainty-driven supervision, where an internal Trace Evaluator prioritizes ambiguous trajectories for human review, thereby reducing manual annotation workload. Moving beyond passive observation, the platform incorporates a hybrid semantic-lexical retrieval engine that combines dense vector similarity and exact keyword matching for operational memory retrieval. Furthermore, an automated curriculum mechanism continuously synthesizes failure patterns into structured training artifacts. Empirical evaluations demonstrate a ~100x reduction in storage overhead together with high precision in uncertainty-guided trace supervision. Ultimately, TraceBrain transforms the execution history into a reusable operational memory substrate, bridging runtime observability with retrieval-driven agent adaptation. The system is publicly available at https://github.com/ToolBrain/TraceBrain.

  1. [Anonymous, 2026] Anonymous. Agenttrace: A structured logging framework for agent system observability. In AAAI 2026 Workshop on Trust and Control in Agentic AI (TrustAgent), 2026.
  2. [Arize AI, 2023] Arize AI. Openinference. https://github. com/Arize-ai/openinference, 2023. Accessed: 2026-05- 14. Link
  3. [Bengio et al., 2009] Yoshua Bengio, Jérôme Louradour, Ronan Collobert, and Jason Weston. Curriculum learning. In Proceedings of the 26th Annual International Confer- ence on Machine Learning, ICML '09, page 41-48, New York, NY, USA, 2009. Association for Computing Ma- chinery. [Cormack et al., 2009]
  4. Gordon V. Cormack, Charles L A Clarke, and Stefan Buettcher. Reciprocal rank fusion out- performs condorcet and individual rank learning methods. In Proceedings of the 32nd International ACM SIGIR Con- ference on Research and Development in Information Re- trieval, SIGIR '09, page 758-759, New York, NY, USA, 2009. Association for Computing Machinery.
  5. [Deshpande et al., 2025] Darshan Deshpande, Varun Gan- gal, Hersh Mehta, Jitin Krishnan, Anand Kannappan, and Rebecca Qian. Trail: Trace reasoning and agentic issue localization, 2025.
  6. [Desmond et al., 2025] Michael Desmond, Ja Young Lee, Ibrahim Ibrahim, James M. Johnson, Avirup Sil, Justin MacNair, and Ruchir Puri. Agent trajectory explorer: Vi- sualizing and providing feedback on agent trajectories. In Proceedings of the AAAI Conference on Artificial Intelli- gence (AAAI), volume 39, pages 29634-29636, 2025.
  7. [Kim et al., 2024] Seungone Kim, Jamin Shin, Yejin Cho, Joel Jang, Shayne Longpre, Hwaran Lee, Sangdoo Yun, Seongjin Shin, Sungdong Kim, James Thorne, and Min- joon Seo. Prometheus: Inducing fine-grained evaluation capability in language models. In The Twelfth Interna- tional Conference on Learning Representations, 2024. [LangChain, 2026] LangChain. Langchain overview. https: //docs.langchain.com/oss/python/langchain/overview, 2026. Accessed: 2026-02-12. Link
  8. [Lewis et al., 2020] Patrick Lewis, Ethan Perez, Aleksan- dra Piktus, Fabio Petroni, Vladimir Karpukhin, Na- man Goyal, Heinrich Küttler, Mike Lewis, Wen-tau Yih, Tim Rocktäschel, Sebastian Riedel, and Douwe Kiela. Retrieval-augmented generation for knowledge-intensive nlp tasks. In H. Larochelle, M. Ranzato, R. Hadsell, M.F. Balcan, and H. Lin, editors, Advances in Neural Informa- tion Processing Systems, volume 33, pages 9459-9474.
  9. Curran Associates, Inc., 2020.
  10. [OpenTelemetry Authors, 2026] OpenTelemetry Authors. OpenTelemetry Documentation. https://opentelemetry.io/, 2026. Accessed: 2026-02-12. Link
  11. [Roucher et al., 2025] Aymeric Roucher, Albert Villanova del Moral, Thomas Wolf, Leandro von Werra, and Erik Kaunismäki. 'smolagents': a smol library to build great agentic systems. https://github.com/huggingface/ smolagents, 2025. Link
  12. [Settles, 2009] Burr Settles. Active learning literature sur- vey. Computer Sciences Technical Report 1648, Univer- sity of Wisconsin-Madison, 2009.
  13. [Shinn et al., 2023] Noah Shinn, Federico Cassano, Ashwin Gopinath, Karthik Narasimhan, and Shunyu Yao. Re- flexion: language agents with verbal reinforcement learn- ing. In A. Oh, T. Naumann, A. Globerson, K. Saenko, M. Hardt, and S. Levine, editors, Advances in Neural In- formation Processing Systems, volume 36, pages 8634- 8652.
  14. Curran Associates, Inc., 2023.
  15. [Wang et al., 2023] Guanzhi Wang, Yuqi Xie, Yunfan Jiang, Ajay Mandlekar, Chaowei Xiao, Yuke Zhu, Linxi Fan, and Anima Anandkumar. Voyager: An open-ended embodied agent with large language models. In Second Agent Learn- ing in Open-Endedness Workshop, 2023.
  16. [Wu et al., 2024] Qingyun Wu, Gagan Bansal, Jieyu Zhang, Yiran Wu, Shaokun Zhang, Erkang Zhu, Beibin Li, Li Jiang, Xiaoyun Zhang, Chi Wang, et al. AutoGen: Enabling next-gen LLM applications via multi-agent con- versations. In First Conference on Language Modeling (COLM), 2024.
  17. [Yao et al., 2023] Shunyu Yao, Jeffrey Zhao, Dian Yu, Nan Du, Izhak Shafran, Karthik Narasimhan, and Yuan Cao. ReAct: Synergizing reasoning and acting in language models. In International Conference on Learning Repre- sentations (ICLR), 2023.
  18. [Zheng et al., 2023] Lianmin Zheng, Wei-Lin Chiang, Ying Sheng, Siyuan Zhuang, Zhanghao Wu, Yonghao Zhuang, Zi Lin, Zhuohan Li, Dacheng Li, Eric Xing, Hao Zhang, Joseph Gonzalez, and Ion Stoica. Judging llm-as-a-judge with mt-bench and chatbot arena. In A. Oh, T. Naumann, A. Globerson, K. Saenko, M. Hardt, and S. Levine, edi- tors, Advances in Neural Information Processing Systems, volume 36, pages 46595-46623.
  19. Curran Associates, Inc., 2023.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards