Agent synthesis

Contribution attribution turns multi-agent traces into a ledger of who did the work, and leave-one-out testing is the cheap way to keep that ledger honest. The auditability note already argues that the auditable unit is the structure around each exchange, not the words inside it: the handoff contract, the per-agent latency and token cost, one trace ID per request. What the new attribution framework adds is the accounting of the audit itself. It formalizes a MAS as a cooperative game, decomposing system utility into principled per-agent contribution scores, so the question “who did the work” stops being a squint at chat history and becomes a measurable quantity.

The empirical half makes the stakes concrete. On MetaGPT, evaluated against HumanEval and MBPP, the Product Manager behaves as a dominant veto player while the QA Engineer shows negligible or negative marginal impact, which is the same finding the auditability note reports by sampling traces: one or two agents do most of the work, and the first migration is often a delete. The new source adds the mechanism that makes that delete safe: leave-one-out attribution serves as a reliable proxy for Shapley and Banzhaf values in hierarchical MAS, so the audit can run per agent by removal testing instead of full-transcript reading. It also warns against the shortcut: in-context ablation via introspective removal fails as a faithful substitute for exact removal and costs significantly more tokens, which means the honest audit is a re-run with the agent removed, not a prompt that pretends it was removed.

The synthesis is the merge case. An agent team whose agents hand off linearly hands the audit a clean chain to read; an agent team whose agents merge their outputs needs the game-theoretic accounting, because the handoff record alone cannot say which of two contributing agents carried the result through. Audit hooks stay the same as the trace note specifies, but the audit step gains a removal test and a per-agent contribution score, and the “first migration is often a delete” prescription gains a measurement method rather than a vibe. (see: high-level trace patterns, not raw transcripts, make multi-agent coordination auditable) Instrument the handoff, then re-run with each agent removed, score the residual utility, and drop the agents that contribute nothing.

Where it comes from

What this builds on