AI TieOut: prove two business numbers agree. The AI proposes, code proves, people confirm.
Prove that two business numbers agree, or explain every dollar of the difference.
AI TieOut is a reconciliation engine for the age of AI analysts. Your AI assistant investigates; the engine proves; you confirm. At the end you get a certificate that shows exactly how one number ties out to the other, which a CFO or auditor can read.
Every month-end asks the same question: why doesn't the dashboard match the ledger?
The answer is usually mundane. Invoices dated by appointment on one side and by issue date on the other. Voided invoices one system still counts. GST included here and excluded there. A batch exported twice. Finding it takes hours of filtering spreadsheets, and the explanation ends up in a workbook nobody can audit.
AI assistants are now good at the investigating part. They can read the data, spot patterns and form hypotheses in minutes. But an answer that sounds right is not an answer that is right. Left alone, an AI will happily round a residual away, filter out the awkward rows, or tell you the numbers reconcile when they don't. In finance, that difference matters.
AI TieOut splits the job so each part is done by whoever can be trusted with it.
There are no LLM calls in the engine. Everything is deterministic and reproducible.
uvx tieout-ai demo This runs two "dashboard vs Xero" reconciliations end to end in a temporary folder and opens their certificates in your browser:
The demo confirms and signs with a throwaway key it makes for the purpose, so nothing touches your machine's real setup.
A person registers the sources: CSV or Excel files, or SQL databases (read-only, SELECT only). Each registration is hashed and signed with the person's key, so the engine notices if a file changes or a source is swapped.
The AI investigates through the MCP server: it profiles the sources, runs queries, matches the two sides on keys, amounts and dates for a period, and reads the differences that are left.
The AI tries hypotheses, and the engine tests them with built-in checks. Each check has hard guardrails and claims only what it can prove:
The engine issues a certificate: every bucket of explained difference with its rows and amounts, the unexplained residual, every assumption, and the hashes of the exact data used. Its status is OPEN (something is unexplained), PROVISIONAL (all explained, but resting on unconfirmed assumptions) or RECONCILED (all explained, all confirmed).
A person confirms and signs off. tieout confirm and tieout cert sign run only in an interactive terminal and need the person's passphrase. A RECONCILED certificate is final only once it is signed off.
uv tool install tieout-ai tieout init tieout init sets up the current folder: the workspace, the MCP server for Claude Code, permission rules that keep the human-only commands away from the AI, and your signing key. Then register your sources:
tieout connections add-file dashboard path/to/dashboard.csv tieout connections add-sql ledger Open Claude Code in that folder and ask it to reconcile, in plain English. Other MCP clients can run the server directly with tieout-mcp --home .tieout. When the AI reports assumptions to confirm, review them and confirm the ones you agree with:
tieout assumptions list tieout confirm When it reports a RECONCILED certificate, check it and sign it off:
tieout cert show --html certificate.html tieout cert sign Security The AI is not trusted, and AI TieOut assumes it may have a shell and write access to the same files you do. So the important protections are cryptographic and detective, not permissions:
SECURITY.md has the threat model, what is caught, flagged and out of scope, and the results of a red-team exercise, including its known limitations.
I'm an analytics engineer with a finance background. A lot of my working life has gone into the question every month-end asks: why doesn't this number match that one? The answer is almost always findable, but it takes hours, and the result usually lives in a spreadsheet that only its author can follow.
AI assistants changed the first half of that job overnight. They are fast, tireless investigators. But I wouldn't sign off on a number because an AI said it was fine, and I wouldn't ask a CFO to either. What I wanted was the speed of the AI with the rigour of a reconciliation that proves itself: every dollar traced to rows, every judgement call written down and confirmed by a person.
AI TieOut is that tool. I hope it saves you some month-ends.
Contributions are welcome, especially new checks. CONTRIBUTING.md explains how to set up, the ground rules, and how to write your own check.
Both files in this release have provenance metadata.
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.
Both files in this release have been uploaded with provenance metadata.
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.




