Compare Agent Traces
agent_invariants_compare_tracesCompare baseline and candidate traces to detect regressions: newly broken rules, new tools, call inflation, or outcome changes.
Instructions
Compare baseline and candidate traces and report newly broken rules, new tools, call inflation, or outcome regression.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"contract": "<contract>",
"baseline": "<baseline>",
"candidate": "<candidate>"
},
"name": "agent_invariants_compare_traces"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| baseline | Yes | ||
| contract | Yes | ||
| candidate | Yes |