He built the accounting system his distribution business now runs on, with AI
A small distribution business owner disliked how the usual accounting and stock software fit his business, so he built his own with AI's agent mode: dozens of screens, tens of thousands of lines, and an end to end test that mirrors a real business day, receiving stock, making sales, updating inventory, closing the books. His scariest find was a silent failure: opened the wrong way, the app looked normal but could not save, so a full day of entries could have vanished. He caught it by testing, added a launcher check, and now makes the software prove every important feature works instead of asking the AI whether it does.
How it works
- Start with a one file tool on the shop PC
- Grow it with AI agent mode into a full desktop app
- Give business rules first and make the AI explain them back
- Test in the real Windows setup
- Catch a silent save failure and add a guard
- Regression test for every bug found
Why it’s worth knowing
The rule he landed on is the record: never ask the agent if a feature works, make the software prove it.
Where it’s from
Summarized from a public post on reddit.com. See the original ↗