What holds up the agent's answer?

Answer

In this illustrative 2.4-second turn, the sandboxed tool call controls when synthesis can start. Session memory and retrieval finish sooner, so speeding them up alone would not move the finish line.

Applies toOne illustrative agent turnnot a benchmark

1

Follow the critical path

The operations that determine the finish time
Diagram structure
  • Input guardrail guard
  • Select a tool plan
  • Run the tool tool
  • Synthesize the answer answer
  • guard → plan · 80 ms
  • plan → tool · 540 ms
  • tool → answer · 860 ms
  1. Input guardrail

    The guardrail finishes at 80 ms.

  2. Select a tool

    Planning takes 540 ms. The three branches start at 620 ms.

  3. Run the tool

    The tool takes 860 ms, so synthesis waits until 1,480 ms.

  4. Synthesize the answer

    The last 920 ms brings the total to 2,400 ms.

2

Which branch finishes last?

All three branches start at 620 ms. Their durations overlap; add only the longest branch to the critical path.

BranchDurationFinished at
Session memory90 ms710 ms
Hybrid retrieval420 ms1,040 ms
Sandboxed tool860 msLast branch1,480 ms

The wall-clock total is 80 + 540 + 860 + 920 = 2,400 ms.

Opening diagram…