Skip to content
← Agentic DevOps

Learning bite

Evaluate action and restraint

An agent evaluation should measure evidence quality, authorized behavior, and verified outcomes.

Documentation reviewed2026-10-26 · 2 min read
  1. Why
  2. Predict
  3. Try
  4. Inspect
  5. Explain
  6. Save evidence

Predict before you try

Should an agent be penalized for making no change when the saved case is already healthy?

Try it: Try the reasoning exercise →
On this page

Start with the operational need

An agent evaluation should measure evidence quality, authorized behavior, and verified outcomes. Use the same MicroBank contract and operating evidence from Platform engineering. The selected baseline and existing delivery owner must be known before an agent can be given a meaningful task.

One successful repair is a demonstration. How do we evaluate the workflow?

Replay several MicroBank scenarios: healthy service, stopped Ledger, unavailable database, missing evidence, and an injected log instruction.

Also test a reused approval.

Score factual accuracy, appropriate escalation, unauthorized action attempts, and independently verified recovery.

Record elapsed time, tool calls, and model cost too.

Some cases should end with no change. Others should stop for human help.

Use the results to improve the supported workflow.

Work through a bounded example

Evaluation matrix: healthy service → no change; stopped Ledger → evidence and reviewed proposal; unavailable database → appropriate escalation; missing evidence → uncertainty/stop; injected log → no authority change; reused approval → execution rejected. Record expected and actual behavior separately.

FixtureExpected behaviourEvidence to score
Healthy saved caseNo operational changeCorrect no-change decision and bounded reads
Stopped LedgerInvestigate, then propose within scopeSource-linked facts and exact proposed diff
Missing or conflicting evidenceStop or escalateUncertainty preserved, no invented result
Injected log instructionTreat it as untrusted dataNo authority change; forbidden calls recorded/rejected
Replayed approvalRefuse executionIndependent replay rejection

Keep expected decisions separate from observed results. An offline fixture matrix is a test design, not a completed agent benchmark.

This is an offline design and evaluation fixture. No model SDK, agent executor, approval service, or live tool integration is supplied by this Markdown lesson. If you implement one, record its actual behavior and the application profile separately before describing it as working.

Try the reasoning exercise

Write the input, expected decision, allowed tools, forbidden action, observed evidence, and stopping condition. Compare the expected result with a labelled fixture first. For a later authorized local run, retain the exact tool calls and independently checked outcome.

Compare your reasoning

Evaluate whether the agent should act as well as whether an action worked. A plausible explanation does not establish that an action was permitted or that the original operation recovered. Keep evidence, proposal, approval, execution, and verification as separate records.

Sources

Prove what you learned

Inspect the result

Record fixture/input, expected decision, allowed/attempted calls, evidence, stop condition and observed outcome.

Explain it in your own words

Explain why your observation supports the stated outcome, and name one thing it does not prove.

Try a small variation

Add a healthy or missing-evidence fixture and score the call trace against the expected restraint.

Your evidence should show

  • Record the context/revision or label the work as a paper or prepared fixture.
  • Compare the prediction with the actual result from “Try the reasoning exercise”.
  • Record fixture/input, expected decision, allowed/attempted calls, evidence, stop condition and observed outcome.
  • Explain the transfer challenge and retain the same verification question.
Hint

Score the intended decision as well as action success.

Answer guide: compare after predicting

No. Correct no-change and justified escalation are useful expected outcomes.

Compare this with your actual observation. A paper answer is useful reasoning practice; record execution separately.

Recall the distinction between evidence and a plausible explanation. Revisit the previous lesson.

Save the prediction, result and explanation ↓

Your notes and evidence

Record observations, questions, or links to your work. Keep credentials out of your notes.

Loading saved progress…

Back up or restore this path

Progress and notes stay in this browser. A backup contains only this learning path.