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)
| Route | Mode | Answer | Time | First evidence | Turns | Tool calls | Shell commands | Code written | Tool errors | Sent to the model | Tokens | CPU |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Claude Code + TKTail (MCP tools only) | from zero | correct | 19 s | 12 s | 4 | 3 | 0 | - | 0 | 10.2 KB | 192,066 in / 1,046 out | 6.4 s |
| Claude Code + Windows PowerShell 5.1 | prepared | correct | 19 s | 13 s | 2 | 1 | 1 | - | 0 | 417 B | 17,051 in / 719 out | 7.1 s |
| Claude Code + Windows PowerShell 5.1 | from zero | correct | 32 s | 27 s | 4 | 3 | 2 | - | 0 | 2.2 KB | 37,775 in / 1,814 out | 7.6 s |
| Claude Code + PowerShell 7 | from zero | correct | 27 s | 22 s | 3 | 2 | 2 | - | 0 | 1.1 KB | 26,339 in / 1,251 out | 8.4 s |
| Claude Code + Python | prepared | correct | 33 s | 21 s | 3 | 2 | 2 | - | 0 | 706 B | 19,962 in / 1,221 out | 10.9 s |
| Claude Code + Python | from zero | correct | 26 s | 20 s | 3 | 2 | 2 | - | 0 | 1.8 KB | 21,160 in / 1,357 out | 11.1 s |
| Claude Code + a C# program | prepared | correct | 14 s | 10 s | 2 | 1 | 1 | - | 0 | 387 B | 16,843 in / 640 out | 5.8 s |
| Claude Code + a C# program | from zero | correct | 38 s | 32 s | 3 | 2 | 2 | - | 0 | 822 B | 26,318 in / 1,516 out | 8.2 s |
t2 - B - slow endpoints: requests of 5,000 ms or more, counted and grouped by endpoint (numeric latency)
| Route | Mode | Answer | Time | First evidence | Turns | Tool calls | Shell commands | Code written | Tool errors | Sent to the model | Tokens | CPU |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Claude Code + TKTail (MCP tools only) | from zero | correct | 17 s | 11 s | 3 | 2 | 0 | - | 0 | 7.5 KB | 141,659 in / 1,035 out | 6.0 s |
| Claude Code + Windows PowerShell 5.1 | from zero | correct | 31 s | 24 s | 4 | 3 | 2 | - | 0 | 1.6 KB | 37,447 in / 2,016 out | 6.5 s |
| Claude Code + PowerShell 7 | from zero | correct | 29 s | 18 s | 4 | 3 | 3 | - | 0 | 1.6 KB | 36,793 in / 1,628 out | 6.8 s |
| Claude Code + Python | from zero | correct | 23 s | 18 s | 3 | 2 | 2 | - | 0 | 2.1 KB | 21,484 in / 1,521 out | 8.9 s |
| Claude Code + a C# program | from zero | correct | 43 s | 34 s | 3 | 2 | 2 | - | 0 | 1.5 KB | 26,914 in / 2,120 out | 8.7 s |
q1 - C / F - volume by account in a proprietary order log: which accounts have the most slow requests
| Route | Mode | Answer | Time | First evidence | Turns | Tool calls | Shell commands | Code written | Tool errors | Sent to the model | Tokens | CPU |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Claude Code + TKTail (MCP tools only) | from zero | correct | 36 s | 20 s | 9 | 8 | 0 | - | 1 | 17.6 KB | 452,937 in / 2,742 out | 7.3 s |
| Claude Code + TKTail (MCP tools only) | prepared | correct | 23 s | 14 s | 5 | 4 | 0 | - | 0 | 10.9 KB | 242,321 in / 1,059 out | 6.1 s |
| Claude Code + Windows PowerShell 5.1 | from zero | correct | 43 s | 38 s | 6 | 5 | 3 | - | 0 | 5.5 KB | 46,628 in / 2,682 out | 6.8 s |
| Claude Code + Python | from zero | correct | 25 s | 21 s | 3 | 2 | 2 | - | 0 | 4.7 KB | 25,983 in / 1,507 out | 10.0 s |
| Claude Code + Python | prepared | correct | 22 s | 12 s | 3 | 2 | 2 | - | 0 | 1.8 KB | 21,639 in / 1,123 out | 9.6 s |
q2 - C / F - a follow-up: the average ELAPSED of those five accounts
| Route | Mode | Answer | Time | First evidence | Turns | Tool calls | Shell commands | Code written | Tool errors | Sent to the model | Tokens | CPU |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Claude Code + TKTail (MCP tools only) (follow-up) | from zero | correct | 15 s | - | 2 | 1 | 0 | - | 0 | 3.5 KB | 118,407 in / 935 out | 6.3 s |
| Claude Code + Windows PowerShell 5.1 (follow-up) | from zero | correct | 19 s | - | 3 | 2 | 1 | - | 0 | 471 B | 30,470 in / 1,208 out | 5.7 s |
| Claude Code + Python (follow-up) | from zero | correct | 17 s | - | 2 | 1 | 1 | - | 0 | 163 B | 22,528 in / 840 out | 7.8 s |
q3 - C / F - a later question: the accounts with the most rejected orders
| Route | Mode | Answer | Time | First evidence | Turns | Tool calls | Shell commands | Code written | Tool errors | Sent to the model | Tokens | CPU |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Claude Code + TKTail (MCP tools only) | from zero | correct | 20 s | 12 s | 5 | 4 | 0 | - | 0 | 8.2 KB | 239,794 in / 1,258 out | 6.2 s |
| Claude Code + Windows PowerShell 5.1 | from zero | correct | 149 s | 142 s | 6 | 5 | 3 | - | 0 | 2.9 KB | 50,828 in / 2,536 out | 8.8 s |
| Claude Code + Python | from zero | correct | 21 s | 18 s | 3 | 2 | 2 | - | 0 | 865 B | 20,044 in / 866 out | 11.2 s |
q4 - C / F - log volume by account: the bytes of log lines per account
| Route | Mode | Answer | Time | First evidence | Turns | Tool calls | Shell commands | Code written | Tool errors | Sent to the model | Tokens | CPU |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Claude Code + TKTail (MCP tools only) | from zero | correct | 108 s | - | 21 | 20 | 0 | - | 0 | 60.1 KB | 720,410 in / 11,123 out | 8.1 s |
| Claude Code + Windows PowerShell 5.1 | from zero | correct | 149 s | 144 s | 6 | 5 | 3 | - | 1 | 2.9 KB | 48,605 in / 2,314 out | 10.8 s |
| Claude Code + Python | from zero | correct | 21 s | 15 s | 4 | 3 | 3 | - | 0 | 2.0 KB | 29,677 in / 1,216 out | 9.2 s |
q5 - E - durable evidence: preserve every record of one account as evidence a vendor can be given
| Route | Mode | Answer | Time | First evidence | Turns | Tool calls | Shell commands | Code written | Tool errors | Sent to the model | Tokens | CPU |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Claude Code + TKTail (MCP tools only) | from zero | correct 238 of 238 records present | 43 s | - | 11 | 10 | 0 | - | 1 | 15.1 KB | 507,761 in / 3,775 out | 6.6 s |
| Claude Code + Windows PowerShell 5.1 | from zero | correct 238 of 238 records present | 556 s | - | 7 | 6 | 4 | 1 files, 121 lines | 0 | 7.8 KB | 82,654 in / 6,836 out | 15.7 s |
| Claude Code + Python | from zero | correct 238 of 238 records present | 56 s | - | 5 | 4 | 4 | 1 files, 54 lines | 0 | 4.2 KB | 47,875 in / 4,698 out | 13.0 s |
g1 - D - several sources under governance: the Gateway application's slow requests among other applications' logs
| Route | Mode | Answer | Time | First evidence | Turns | Tool calls | Shell commands | Code written | Tool errors | Sent to the model | Tokens | CPU |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Claude Code + TKTail (MCP tools only) | from zero | correct | 21 s | 12 s | 5 | 4 | 0 | - | 0 | 9.4 KB | 239,504 in / 1,509 out | 6.8 s |
| Claude Code + Windows PowerShell 5.1 | from zero | correct | 57 s | 45 s | 6 | 5 | 4 | - | 0 | 2.6 KB | 48,531 in / 2,534 out | 9.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.