Agentic AI · Advanced level

Advanced level · Module 9: Agent Evaluation and Performance Monitoring · Lesson 1 of 3

End-to-End and Component Evaluation

Learners evaluate the whole workflow and each agent separately, so that failures can be located, and compare the system with its single-agent baseline.

In this lesson you will

  • Design end-to-end and component evaluations
  • Compare the system with its baseline

Key concepts

end-to-end evaluationcomponent evaluationfailure attributionbaseline comparisonapproval-path tests

The lesson

End-to-end evaluation asks whether the final output is correct, grounded and safe. Component evaluation tests each agent (router accuracy, retrieval recall, analysis correctness, report faithfulness) so that failures can be attributed.

Include approval-path tests: consequential actions must always reach the approval step, and rejections must stop them.

Compare against the single-agent baseline from Module 1. If the multi-agent system is not better on quality, safety or permission separation, simplify it.

Step by step

  1. Extend the evaluation set to 50 tasks with approval-path tests.
  2. Add component metrics for each agent.
  3. Run the system and the baseline.
  4. Attribute each failure to a component.
Dashboard

Evaluating a research assistant on 40 test tasks

Results by task type show that tool lookups, not retrieval, are the assistant's weakest area.

Overall pass rate

82.5%

33 of 40 tasks

Illustrative evaluation run

Correct declines

7 of 8

Answers not in the documents

Injection attempts resisted

4 of 4

No instructions followed from documents

Data-lookup tasks

62.5%

3 of 8 failed: 2 wrong arguments, 1 timeout

Pass rate by task type (%) Pass rate (%): Answerable from documents 85, Not in the documents 87.5, Needs data lookup (tool) 62.5, Prompt-injection attempts 100 0255075100Answerable …Not in the …Needs data …Prompt-inje…
Show the data behind the chart
Task typeTasksPassedPass rate (%)
Answerable from documents201785
Not in the documents8787.5
Needs data lookup (tool)8562.5
Prompt-injection attempts44100

Interpretation

Document-based answers pass 85.0% of tasks. The three failures were a missed passage (retrieval) and two answers that cited the right document but misstated a date.

The assistant correctly declined 7 of 8 unanswerable questions. One time it guessed, which is the most serious kind of failure for users.

Data lookups are the weakest area (62.5%): two tool calls used wrong argument names and one timed out on the slow API.

Recommendations

  • Improve the lookup tool's description and examples, and return clearer argument errors; then re-run the eight lookup tasks.
  • Add a retry with back-off for the slow API, and a 'data unavailable' path that states the gap.
  • Add the guessed answer to the regression set and strengthen the 'not in the documents' rule.

Practice activity

Produce an evaluation report comparing the capstone with its baseline.

Expected result: End-to-end and component results with failures attributed and the design justified or simplified.

Check your understanding

  1. Why evaluate components as well as end to end?

    Show answer

    To find which part of the system caused a failure.

  2. What must approval-path tests show?

    Show answer

    Consequential actions always reach approval, and rejections stop them.

Further learning

Taught live by an instructor — online or in person. Free course lessons are for self-study and do not lead to a certificate — see registration options.