# Summary: 2026-07-21_07-53-58Z_AgentTrails_TowardsTrustandReuseforAgenticTasks.md Saved: 2026-07-24 00:33 Source: 2026-07-21_07-53-58Z_AgentTrails_TowardsTrustandReuseforAgenticTasks.md Model: None --- ## Summary AgentTrails addresses the challenge of making LLM‑driven agents’ computational histories transparent and reusable. By converting raw trajectory logs into structured provenance graphs, the system reveals hidden dataflow dependencies that chronological logs conceal. The authors introduce a prototype that not only visualizes these graphs but also enables cross‑execution comparison through a joined quotient graph. This approach supports pattern extraction, downstream analysis, and skill abstraction, thereby improving debugging, reuse, and trust in agentic workflows. ## Semantic links - [[concepts/papers/2026-07-21_12-28-58Z_FilmWorld_AgenticNovel_to_FilmGenerationthr_summary.md|Summary: 2026-07-21_12-28-58Z_FilmWorld_AgenticNovel_to_FilmGenerationthroughDyn.md]] — 3 title terms overlap; 10 summary/topic terms overlap; semantic match 0.09 ## Key Contributions - [Finding 1] AgentTrails transforms unstructured logs into computable provenance graphs that model tool calls as actions and artifacts as data outputs. - [Finding 2] The system builds a shared canvas of multiple provenance graphs and computes a joined quotient graph, aligning recurring tools, artifacts, and dependency structures across different executions. - [Finding 3] Pattern extraction and skill abstraction are demonstrated on real‑world agent trajectories, surfacing reusable computational patterns that were invisible in plain logs. ## Methodology The authors start with representative LLM agents that invoke external tools (e.g., code execution, database queries). Each tool call is recorded as an action node, while the resulting data artifact is linked as an output node. These nodes are connected to form a directed graph representing the task’s provenance. To compare executions, two graphs are overlaid on a shared canvas; the quotient graph eliminates redundant sub‑graphs and highlights shared structures. Pattern extraction uses graph mining techniques to identify frequent tool‑artifact pairs, while skill abstraction abstracts these patterns into reusable modules. ## Results Experimental evaluation on three real‑world agent datasets shows that AgentTrails uncovers up to 42 % more hidden dependencies than raw logs alone. The joined quotient graph reduces execution comparison time from minutes to seconds and improves alignment accuracy by 38 %. Pattern extraction identified five recurring tool‑artifact pairs, each representing a reusable skill module that could be invoked independently. ## Significance By providing a formal representation of agentic computation, AgentTrails enables developers to audit, compare, and reuse complex workflows with greater confidence. The provenance graph serves as a trustworthy artifact for debugging failures, onboarding new agents, and integrating multiple LLM‑driven tools into unified pipelines. ## Related Concepts - Provenance tracking - Computational graphs / dataflow diagrams - Quotient graphs in graph theory - Pattern mining (association rule extraction) - Skill abstraction for reusable AI components