Agent tool tracing

에이전트 도구 추적

Connect model decisions, tool calls, and results in one trace tree.

···
html
<div class="demo"><div class="title">AGENT TRACE TREE</div><div class="scene"><div class="tree"><div class="model">model · plan</div><div class="tool">└ search tool <b>320 ms</b></div><div class="result"> └ result · 3 hits</div><div class="answer">model · answer</div></div></div></div>
css
.demo{width:min(94vw,690px);height:min(88vh,320px);box-sizing:border-box;padding:clamp(9px,2.5vmin,18px);border:1px solid var(--line);border-radius:14px;background:var(--surface);color:var(--fg);font:600 clamp(12px,2.4vmin,16px)/1.25 var(--font-sans,"Pretendard Variable",Pretendard,-apple-system,BlinkMacSystemFont,sans-serif);display:flex;flex-direction:column;gap:clamp(7px,2vmin,14px);overflow:hidden}.title{color:var(--accent);font:700 clamp(12px,2.4vmin,16px)/1.2 var(--font-sans,"Pretendard Variable",Pretendard,-apple-system,BlinkMacSystemFont,sans-serif);letter-spacing:.04em}.scene{flex:1;min-height:0;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden}.tree{width:90%;display:grid;gap:5px;font:600 clamp(12px,2.4vmin,15px)/1.2 ui-monospace,monospace}.tree div{padding:5px 7px;border-left:3px solid var(--line);background:var(--bg);white-space:nowrap;overflow:hidden;animation:walk 3s infinite}.tree div:nth-child(2){animation-delay:.5s}.tree div:nth-child(3){animation-delay:1s}.tree div:nth-child(4){animation-delay:1.5s}.tree b{color:var(--accent-3)}@keyframes walk{0%,20%,85%,100%{border-color:var(--line);background:var(--bg)}35%,65%{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 17%,var(--surface))}}

Agent tool tracing records model steps and external tool executions as linked parent and child spans. It reveals slow or failed tools within the full request path.

The demo highlights the path from model to search tool and back to the response. Tool arguments and results can contain sensitive information, so bound what is recorded.

When to use

Use it to investigate latency, errors, and control flow in tool-using agents.

Open as page ↗