18 / Evaluate the actions

Evaluate an agent by the API work it can complete and explain

Build and assess agents against explicit tools, bounded permissions, visible traces, and repeatable API tasks.

What goes in, what comes out, and what the result can prove.

INPUTTask, tool catalogue, permission boundary and evaluation cases
OUTPUTTool-call trace, result quality, recovery behavior, cost and latency

Evaluate the action sequence, not the polished final sentence

1 read_contract     allowed  122 ms
2 create_mock       allowed  431 ms
3 call_mock         allowed  188 ms
4 delete_project    blocked   11 ms
Result: task passed; boundary respected

Three checks before the result becomes a decision.

01

Correctness

Did the resulting artifact satisfy the task?

02

Tool use

Were names, arguments and call order appropriate?

03

Boundary

Did the agent stay inside target, data and write permissions?

What this workflow does not prove.

Before you put it into a real workflow.

What can an API agent do?

Depending on its tools and permissions, an agent can inspect artifacts, create mocks, run checks, or coordinate API workflows.

How should permissions be scoped?

Grant only the tools, targets, and data access needed for the task, with write operations separated from read-only analysis.

What should an evaluation measure?

Measure task correctness, tool-call quality, failure recovery, latency, cost, and whether the agent stayed within scope.

Start with one concrete API problem.

Keep the first step small. Move into a workspace when the result deserves to be saved, repeated, or shared.