TECHNOLOGY

AgentCompat: which recorded tool calls survive a schema migration?

In this article
THE QUICK TAKE

The score covers eligible recorded argument weight under two schemas. Exclusions, weights and supported semantics determine what it means; tool behavior and agent success remain separate.

Changing a tool schema can reject arguments that an agent previously emitted successfully. AgentCompat asks a narrower question than whether the agent will still solve its task: which recorded argument objects remain valid under the candidate contract? This distinction makes the tool useful for schema migration without turning its score into an agent-quality benchmark.

Compare historical calls against both contracts

The project description uses a baseline bundle, candidate bundle and recorded tool-call arguments. Calls invalid under the baseline are excluded from compatibility scoring. Otherwise, an old malformed request could incorrectly count as a regression introduced by the new schema.

The reviewed analyzer also excludes calls whose tool was absent from the baseline. A tool removed only from the candidate is different: a previously eligible call then fails. Preserve excluded counts and weights alongside passed and broken calls. A high score with most evidence excluded describes a small eligible subset, not comprehensive compatibility.

Keep weights and an empty denominator visible

The implementation divides compatible eligible weight by total eligible weight. Its empty-eligible case produces zero, not proof that an unused candidate is universally incompatible. That result needs interpretation with the accompanying counts.

Weights express the supplied importance or frequency policy. They are not automatically a measured future traffic distribution. A proposed migration report should state their origin and retain per-tool results: a frequently called lookup can dominate the aggregate while a rare destructive operation remains individually important. Sampling adds another population boundary, so selected-call results should remain distinguishable from exact replay of the entire input.

Audit the supported schema semantics

The pinned support matrix describes a bounded subset. Unsupported keywords cause an input error before scoring. It also specifies format assertions, local reference restrictions and annotations that do not affect validation.

This matters when moving between validators. A default annotation does not populate missing arguments, and a schema rewrite outside the supported semantics cannot be made safe by a reassuring percentage. The required/default explanation and format-validation guide provide adjacent detail. The exact checker revision belongs to the comparison just as much as the schemas do.

Interpret migration hints as observed argument impact

The change-attribution contract links failures to supported structural changes and deduplicates affected trace weight in its migration ranking. It explicitly does not establish arbitrary semantic equivalence of rewritten composition schemas. A failure may lack a structural link or have several.

For an illustrative migration, adding a required customer identifier can break older recorded calls. A hint to supply a value still needs application-specific meaning; inserting any valid string may satisfy syntax while selecting the wrong customer. The report therefore helps locate contract changes, while task correctness and tool behavior require separate evaluation. We read documentation and implementation without installing the package or replaying private traces. AgentCompat’s evidence concerns recorded arguments under declared schemas; it does not execute tools, prove their effects or establish that a model will choose the same calls after deployment.

Sources

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles