Skip to main content

Module agent_attribution

Module agent_attribution 

Source
Expand description

ETPAO Attribution for multi-agent chains (P11 / DIM 4).

Attribution rule: agent costs count only when the overall chain outcome is accepted. This prevents double-counting and ensures that failed/redundant branches don’t inflate savings or costs.

ETPAO = Effective Token Per Accepted Outcome

Structs§

AgentContribution
AgentCostRecord
AttributionTracker
Tracks costs per agent/node and computes ETPAO attribution once the chain outcome is known.
ChainAttribution

Enums§

OutcomeVerdict

Constants§

ATTRIBUTION_SCHEMA_VERSION