Skip to main content

Models · English edition

Evaluating agents and tool calls: environment, tools, steps, scoring

Practitioner methodology · key facts carry official sources

An agent score is not “can the model use tools”. It is “can the task be completed under a given environment, tool set, step limit and scorer”. Missing any one of the four makes scores incomparable.

Fix the environment and tool set

The same task is harder on a live website than in a replica or a mock API. The evaluation card must state the environment image and version, starting state, available tools and permission boundary. If the tool set changes, scores cannot be compared directly; record tool names, parameter schemas, maximum calls and error returns.

Report steps and cost together

A success rate without step count hides agents that succeed by trial and error. Report average steps, token cost, tool calls and timeout rate. pass^k measures stability: the probability that all k runs of the same task succeed. It exposes randomness better than a single pass@1.

The scorer defines what you measure

Exact match, state check, unit test and LLM judge are four different rulers. A state check is hard but narrow; an LLM judge is broad but biased. Classify failures: planning, tool selection, parameters, environment or scorer. A total score alone does not tell you what to fix.

A minimal reproducible experiment

Pick 20 tasks, fix the environment image, tool schema and step limit; run each task three times and record pass@1, pass^3, average steps, token cost and tool calls. Acceptance is not “a higher score”; it is “when the model changes, the success and failure distribution on the same tasks can be explained”.

English edition. Figures and vendor claims are snapshots; verify the linked primary sources before making a decision.