AgentTrace: A Structured Logging Framework for Agent System Observability

ankitg121 pts0 comments

[2602.10133] AgentTrace: A Structured Logging Framework for Agent System Observability

Skip to main content

arXiv is now an independent nonprofit!<br>Learn more<br>&times;

Search arXiv

Press Enter to search &middot; Advanced search

-->

Computer Science > Software Engineering

arXiv:2602.10133 (cs)

[Submitted on 7 Feb 2026]

Title:AgentTrace: A Structured Logging Framework for Agent System Observability

Authors:Adam AlSayyad, Kelvin Yuxiang Huang, Richik Pal<br>View a PDF of the paper titled AgentTrace: A Structured Logging Framework for Agent System Observability, by Adam AlSayyad and 2 other authors

View PDF<br>HTML (experimental)

Abstract:Despite the growing capabilities of autonomous agents powered by large language models (LLMs), their adoption in high-stakes domains remains limited. A key barrier is security: the inherently nondeterministic behavior of LLM agents defies static auditing approaches that have historically underpinned software assurance. Existing security methods, such as proxy-level input filtering and model glassboxing, fail to provide sufficient transparency or traceability into agent reasoning, state changes, or environmental interactions. In this work, we introduce AgentTrace, a dynamic observability and telemetry framework designed to fill this gap. AgentTrace instruments agents at runtime with minimal overhead, capturing a rich stream of structured logs across three surfaces: operational, cognitive, and contextual. Unlike traditional logging systems, AgentTrace emphasizes continuous, introspectable trace capture, designed not just for debugging or benchmarking, but as a foundational layer for agent security, accountability, and real-time monitoring. Our research highlights how AgentTrace can enable more reliable agent deployment, fine-grained risk analysis, and informed trust calibration, thereby addressing critical concerns that have so far limited the use of LLM agents in sensitive environments.

Comments:<br>AAAI 2026 Workshop LaMAS

Subjects:

Software Engineering (cs.SE); Artificial Intelligence (cs.AI)

Cite as:<br>arXiv:2602.10133 [cs.SE]

(or<br>arXiv:2602.10133v1 [cs.SE] for this version)

https://doi.org/10.48550/arXiv.2602.10133

Focus to learn more

arXiv-issued DOI via DataCite

Submission history<br>From: Adam AlSayyad [view email]<br>[v1]<br>Sat, 7 Feb 2026 04:04:59 UTC (65 KB)

Full-text links:<br>Access Paper:

View a PDF of the paper titled AgentTrace: A Structured Logging Framework for Agent System Observability, by Adam AlSayyad and 2 other authors<br>View PDF<br>HTML (experimental)<br>TeX Source

view license

Current browse context:

cs.SE

next >

new<br>recent<br>| 2026-02

Change to browse by:

cs<br>cs.AI

References & Citations

NASA ADS<br>Google Scholar

Semantic Scholar

export BibTeX citation<br>Loading...

BibTeX formatted citation

&times;

loading...

Data provided by:

Bookmark

Bibliographic Tools

Bibliographic and Citation Tools

Bibliographic Explorer Toggle

Bibliographic Explorer (What is the Explorer?)

Connected Papers Toggle

Connected Papers (What is Connected Papers?)

Litmaps Toggle

Litmaps (What is Litmaps?)

scite.ai Toggle

scite Smart Citations (What are Smart Citations?)

Code, Data, Media

Code, Data and Media Associated with this Article

alphaXiv Toggle

alphaXiv (What is alphaXiv?)

Links to Code Toggle

CatalyzeX Code Finder for Papers (What is CatalyzeX?)

DagsHub Toggle

DagsHub (What is DagsHub?)

GotitPub Toggle

Gotit.pub (What is GotitPub?)

Huggingface Toggle

Hugging Face (What is Huggingface?)

ScienceCast Toggle

ScienceCast (What is ScienceCast?)

Demos

Demos

Replicate Toggle

Replicate (What is Replicate?)

Spaces Toggle

Hugging Face Spaces (What is Spaces?)

Spaces Toggle

TXYZ.AI (What is TXYZ.AI?)

Related Papers

Recommenders and Search Tools

Link to Influence Flower

Influence Flower (What are Influence Flowers?)

Core recommender toggle

CORE Recommender (What is CORE?)

Author

Venue

Institution

Topic

About arXivLabs

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs .

Which authors of this paper are endorsers? |<br>Disable MathJax (What is MathJax?)

Major funding support from

toggle arxiv agenttrace agent framework structured

Related Articles