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
Follow the critical path
Diagram structure
- Input guardrail
guard - Select a tool
plan - Run the tool
tool - Synthesize the answer
answer guard→plan· 80 msplan→tool· 540 mstool→answer· 860 ms
- Input guardrail
The guardrail finishes at 80 ms.
- Select a tool
Planning takes 540 ms. The three branches start at 620 ms.
- Run the tool
The tool takes 860 ms, so synthesis waits until 1,480 ms.
- Synthesize the answer
The last 920 ms brings the total to 2,400 ms.
Which branch finishes last?
All three branches start at 620 ms. Their durations overlap; add only the longest branch to the critical path.
| Branch | Duration | Finished at |
|---|---|---|
| Session memory | 90 ms | 710 ms |
| Hybrid retrieval | 420 ms | 1,040 ms |
| Sandboxed tool | 860 ms | Last branch1,480 ms |
The wall-clock total is 80 + 540 + 860 + 920 = 2,400 ms.