logoalt Hacker News

rmuratov • yesterday at 11:38 AM • 3 replies • view on HN

PTA is great, especially with AI agents. I use hledger, which has deterministic checks like balance assertions. And AI agents are good at investigating discrepancies and fixing the underlying entries until those checks pass.

And if your bank doesn’t offer a way to access your transactions programmatically, you can just throw a PDF at the agent or use something like Chrome DevTools MCP to let it read the transactions from your online banking portal. And you can set things up so that AI providers never see your actual data.


Replies

giltotherescue • yesterday at 3:38 PM

This is how I do it too. The agent is great at hunting down why the numbers are off. But I want plain code to do the checking, so the agent can't just make the numbers fit. I built a free, open-source tool for this called Slashbooks. Your books stay in files on your own computer. It has a /books plugin for Claude Code, Cowork and Codex. https://github.com/giltotherescue/slashbooks

➕ show 1 reply
wodenokoto • yesterday at 12:53 PM

While I do a lot with agents I’m not sure I’m ready to give OpenAI or Anthropic my entire banking history.

BeetleB • yesterday at 3:07 PM

> which has deterministic checks like balance assertions. And AI agents are good at investigating discrepancies and fixing the underlying entries until those checks pass.

If your financial books are invalid, it really behooves you to figure out why. Delegating to a 3rd party is a bad idea - you're effectively throwing away the checks and balances.