Skip to content
TKTail

Performance · AI workflow

End-to-end AI investigation

Starting from a user's question, how much work does an AI agent need to reach a correct, evidenced answer? The same agent answers the same question with TKTail's tools, or with a shell in which it writes PowerShell, Python or C#. Correctness first: a faster wrong answer is not a result.

A different question from the raw execution benchmark, which times programs that already exist. Here, creating, running, fixing and re-running those programs is part of the work - and so is TKTail's one-time setup, reported separately.

Current benchmark — TKTail 1.2.1 Measured on TKTail 1.2.1 (commit 3bc9dc5f65, Release - Shipping PGO a957dfc72020) on 2026-11-08.

Pilot run: 1 session per route and task. Agents are non-deterministic; a published claim needs at least five trials per arm with medians and spread (ADR-082). Read these as one observed investigation each, not as averages.

What the machine had

Measured, not assumed. A development workstation: every runtime above is installed here. A production server often has only Windows PowerShell 5.1 (part of Windows); PowerShell 7, Python and the .NET SDK are separate installations. Each arm ran once (a pilot): differences of a few seconds are within one session's spread.

TKTail
TKTail 1.2.1 (TKTail.exe SHA-256 16772136d73dcae125fcdd6320d0a96154d55885e1ad1f351ba34356557166d8)
Windows PowerShell
5.1.26100.9818
PowerShell 7
7.6.9
Python
Python 3.13.0
.NET SDK
6.0.428 [C:\Program Files\dotnet\sdk], 9.0.123 [C:\Program Files\dotnet\sdk], 9.0.320 [C:\Program Files\dotnet\sdk], 10.0.200 [C:\Program Files\dotnet\sdk], 10.0.403 [C:\Program Files\dotnet\sdk]
Claude Code
2.1.302 (Claude Code)
Model
claude-opus-5-5

t1 - A - top clients behind HTTP 503: which 10 client IPs sent the most POST requests answered 503 (IIS W3C, 100 MB)

RouteModeAnswerTimeFirst evidenceTurnsTool callsShell commandsCode writtenTool errorsSent to the modelTokensCPU
Claude Code + TKTail (MCP tools only)from zerocorrect19 s12 s430-010.2 KB192,066 in / 1,046 out6.4 s
Claude Code + Windows PowerShell 5.1preparedcorrect19 s13 s211-0417 B17,051 in / 719 out7.1 s
Claude Code + Windows PowerShell 5.1from zerocorrect32 s27 s432-02.2 KB37,775 in / 1,814 out7.6 s
Claude Code + PowerShell 7from zerocorrect27 s22 s322-01.1 KB26,339 in / 1,251 out8.4 s
Claude Code + Pythonpreparedcorrect33 s21 s322-0706 B19,962 in / 1,221 out10.9 s
Claude Code + Pythonfrom zerocorrect26 s20 s322-01.8 KB21,160 in / 1,357 out11.1 s
Claude Code + a C# programpreparedcorrect14 s10 s211-0387 B16,843 in / 640 out5.8 s
Claude Code + a C# programfrom zerocorrect38 s32 s322-0822 B26,318 in / 1,516 out8.2 s

t2 - B - slow endpoints: requests of 5,000 ms or more, counted and grouped by endpoint (numeric latency)

RouteModeAnswerTimeFirst evidenceTurnsTool callsShell commandsCode writtenTool errorsSent to the modelTokensCPU
Claude Code + TKTail (MCP tools only)from zerocorrect17 s11 s320-07.5 KB141,659 in / 1,035 out6.0 s
Claude Code + Windows PowerShell 5.1from zerocorrect31 s24 s432-01.6 KB37,447 in / 2,016 out6.5 s
Claude Code + PowerShell 7from zerocorrect29 s18 s433-01.6 KB36,793 in / 1,628 out6.8 s
Claude Code + Pythonfrom zerocorrect23 s18 s322-02.1 KB21,484 in / 1,521 out8.9 s
Claude Code + a C# programfrom zerocorrect43 s34 s322-01.5 KB26,914 in / 2,120 out8.7 s

q1 - C / F - volume by account in a proprietary order log: which accounts have the most slow requests

RouteModeAnswerTimeFirst evidenceTurnsTool callsShell commandsCode writtenTool errorsSent to the modelTokensCPU
Claude Code + TKTail (MCP tools only)from zerocorrect36 s20 s980-117.6 KB452,937 in / 2,742 out7.3 s
Claude Code + TKTail (MCP tools only)preparedcorrect23 s14 s540-010.9 KB242,321 in / 1,059 out6.1 s
Claude Code + Windows PowerShell 5.1from zerocorrect43 s38 s653-05.5 KB46,628 in / 2,682 out6.8 s
Claude Code + Pythonfrom zerocorrect25 s21 s322-04.7 KB25,983 in / 1,507 out10.0 s
Claude Code + Pythonpreparedcorrect22 s12 s322-01.8 KB21,639 in / 1,123 out9.6 s

q2 - C / F - a follow-up: the average ELAPSED of those five accounts

RouteModeAnswerTimeFirst evidenceTurnsTool callsShell commandsCode writtenTool errorsSent to the modelTokensCPU
Claude Code + TKTail (MCP tools only) (follow-up)from zerocorrect15 s-210-03.5 KB118,407 in / 935 out6.3 s
Claude Code + Windows PowerShell 5.1 (follow-up)from zerocorrect19 s-321-0471 B30,470 in / 1,208 out5.7 s
Claude Code + Python (follow-up)from zerocorrect17 s-211-0163 B22,528 in / 840 out7.8 s

q3 - C / F - a later question: the accounts with the most rejected orders

RouteModeAnswerTimeFirst evidenceTurnsTool callsShell commandsCode writtenTool errorsSent to the modelTokensCPU
Claude Code + TKTail (MCP tools only)from zerocorrect20 s12 s540-08.2 KB239,794 in / 1,258 out6.2 s
Claude Code + Windows PowerShell 5.1from zerocorrect149 s142 s653-02.9 KB50,828 in / 2,536 out8.8 s
Claude Code + Pythonfrom zerocorrect21 s18 s322-0865 B20,044 in / 866 out11.2 s

q4 - C / F - log volume by account: the bytes of log lines per account

RouteModeAnswerTimeFirst evidenceTurnsTool callsShell commandsCode writtenTool errorsSent to the modelTokensCPU
Claude Code + TKTail (MCP tools only)from zerocorrect108 s-21200-060.1 KB720,410 in / 11,123 out8.1 s
Claude Code + Windows PowerShell 5.1from zerocorrect149 s144 s653-12.9 KB48,605 in / 2,314 out10.8 s
Claude Code + Pythonfrom zerocorrect21 s15 s433-02.0 KB29,677 in / 1,216 out9.2 s

q5 - E - durable evidence: preserve every record of one account as evidence a vendor can be given

RouteModeAnswerTimeFirst evidenceTurnsTool callsShell commandsCode writtenTool errorsSent to the modelTokensCPU
Claude Code + TKTail (MCP tools only)from zerocorrect 238 of 238 records present43 s-11100-115.1 KB507,761 in / 3,775 out6.6 s
Claude Code + Windows PowerShell 5.1from zerocorrect 238 of 238 records present556 s-7641 files, 121 lines07.8 KB82,654 in / 6,836 out15.7 s
Claude Code + Pythonfrom zerocorrect 238 of 238 records present56 s-5441 files, 54 lines04.2 KB47,875 in / 4,698 out13.0 s

g1 - D - several sources under governance: the Gateway application's slow requests among other applications' logs

RouteModeAnswerTimeFirst evidenceTurnsTool callsShell commandsCode writtenTool errorsSent to the modelTokensCPU
Claude Code + TKTail (MCP tools only)from zerocorrect21 s12 s540-09.4 KB239,504 in / 1,509 out6.8 s
Claude Code + Windows PowerShell 5.1from zerocorrect57 s45 s654-02.6 KB48,531 in / 2,534 out9.9 s

How it is measured

  • One agent (Claude Code in print mode, the model pinned), the same question and data, only the route's tools. The TKTail route has no shell and no file tools.
  • From zero: no helper exists - the agent writes and fixes what it needs. Prepared: the helper exists (the raw benchmark's programs; for TKTail the format profile is installed).
  • A follow-up question continues the session; a later investigation is a new session in the same working folder - what is reused is measured, not described.
  • Measured: correctness against the generator's ground truth; time; time to the first answer containing the right result; turns, tool calls, shell commands, files and lines of code written, tool errors; bytes returned to the model; tokens and cost as the provider reports them; CPU, memory and I/O of every process the agent started.
  • Lines of code are evidence of workflow work, not a quality score. One machine, one model, one client version.