Credentials. The export contains customer conversation records, so remove any personal data your policy does not allow in a local tool before running the command.
Who it is forA support operations lead or finance reviewer who received a per-resolution AI support invoice from Intercom, Zendesk, HubSpot, Salesforce, Ada or a similar vendor and wants to check it.
The problemThe invoice counts AI resolutions, but the team cannot tell whether each charge follows the vendor's stated billing rule or whether some rows lack the evidence to decide.
The outcomeA list of findings in both directions, rows marked cannot settle, the vendor rule with its public source, and a dollar net variance that can inform a vendor review.
What you need first
- Python 3.9 or newer and pip
- A terminal on macOS, Linux or Windows
- A vendor billing export as CSV for the recount use case, or local Codex or Claude Code session logs for the log use cases
- Permission to read the session logs or export files you point the tool at
Steps
- Run
pip install agentmeasureto install the CLI from PyPI. - Save your reviewed billing export as
export.csvusing the canonical columns the README shows: conversation_id, human_agent_participated, issue_addressed, customer_recontacted_within_window and vendor_billed. - Run
agentmeasure recount --list-vendorsto confirm which vendor rule sets ship and their confidence grades. - Run
agentmeasure recount --export export.csv --vendor zendesk, replacing zendesk with your vendor's rule if it differs. - Read the findings in both directions and the rows in cannot settle. Treat the dollar net variance as a rule-priced finding, not recovered money.
Prompt for your agent
Using the AgentMeasure repo, run `agentmeasure recount --export <export.csv> --vendor <vendor>` on the file at <export.csv> and report the overcharge, undercharge, net variance and count of cannot settle rows. Verify that rows without enough evidence are excluded from the claim rather than zeroed.
Caveat. A recount is arithmetic under a published rule, not a verdict on the vendor, and a finding is not an accepted claim or a refund.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for roy-tong/AgentMeasure and "Re-count an AI support bill against the vendor rule"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer