Metraipolis › archive › dc_0c9edae8f648

AgentPProf: Semantic Profiler for Long Horizon AI Agents — arXiv:2609.20301

Source
arXiv (en)
Original
https://arxiv.org/abs/2609.20301
License (as archived)
CC0-1.0
Archived
2026-10-10T03:21:55.044Z
SHA-256 of the archived text
1abcc059ca996177f71089cdab72ec1ff4a9d257bf53c74c49df4a1d65a9c34c
Stable URL of this page
https://metraipolis.com/documento/dc_0c9edae8f648

How to cite

AgentPProf: Semantic Profiler for Long Horizon AI Agents — arXiv:2609.20301 — arXiv (en), https://arxiv.org/abs/2609.20301 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_0c9edae8f648 (Metraipolis archive dc_0c9edae8f648, sha256 1abcc059ca996177f71089cdab72ec1ff4a9d257bf53c74c49df4a1d65a9c34c)
BibTeX
@misc{dc0c9edae8f648,
  title = {AgentPProf: Semantic Profiler for Long Horizon AI Agents — arXiv:2609.20301},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2609.20301},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_0c9edae8f648; sha256 1abcc059ca996177f71089cdab72ec1ff4a9d257bf53c74c49df4a1d65a9c34c},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.20301. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

AI agents increasingly orchestrate long-running activities with users, tools, and system resources for days and weeks. To improve agent quality, safety, and cost efficiency, developers need to determine where failures happen, what triggers unsafe effects, and which tasks consume the most budget, then optimize those tasks. In systems software, profiling answers similar questions by aggregating resource consumption and attributing it to responsible code paths to identify hotspots. Yet existing agent observability tools focus on per-execution debugging and tracing rather than cross-run, long term profiling, making these questions difficult to answer at scale. Agent observability needs profiling, not only debugging, but profiling agents is challenging: the responsible entities are task intent like diagnose authentication, compare branches rather than code paths, and lack stable identifiers for aggregation. We propose a semantic operation stack model that adapts profiling to agent trajectories. Uniform operations represent all activities, and operation stacks replace the runtime call stack, enabling hierarchical attribution at different granularities. We observe that an agent's task occupies a contiguous span and decomposes into subtasks, so we introduce recursive operation segmentation, which recursively splits trajectories at task boundaries. AgentPProf is a profiler that aggregates agent trajectories into pprof-compatible profiles, enabling flame graph visualization and analysis. AgentPProf reaches 0.764 $B^3$ F1 against human annotations on CodeTraceBench. On three problem-localization benchmarks, the profile raises MAP by up to 56%, demonstrating that it effectively attributes resources, locates problems, and helps optimize token cost at practical profiling cost. AgentPProf is available at this https URL .

Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-09-18 in cs.AI).
Categorie arXiv: Artificial Intelligence (cs.AI).
Pagina del lavoro: https://arxiv.org/abs/2609.20301 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-10T03:04:13.731Z dalla pagina https://arxiv.org/catchup/cs.AI/2026-09-18?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).