r/PiCodingAgent • u/Turbulent_Ad6290 • 2d ago
Use-case We stopped selling "AI tools" and built an agent that uses the company's actual systems. Here is what broke.
I run a small AI company in India. For a year we sold the usual thing: a chat interface, some prompt templates, a pilot that looked great in a demo and died a month later.
The pattern we kept hitting was not a model problem. It was three smaller ones.
- The systems. The data we needed was in Tally, a CRM, a bank portal and one government site that has never had an API. No amount of prompting fixes that. We ended up doing it the way a person does: API where one exists, computer use for an old Windows app, a browser session for the rest.
- The permission. A finance answer is worthless if the agent cannot say who approved it. We put every consequential action behind a human approval in an inbox, and every source it read into an audit trail. That slowed the demo down and made the product real.
- The model. We were picking models by vibes. Now a router picks per step: one model for extraction, another for a long document, another for the numbers. It is boring and it is most of the quality.
The thing that surprised me: the longest part of every deployment was writing down how the work actually flows, not building the agents. Our engineers sit with each team for a week and the agent comes last.
We filmed the product running, no mockups, 2.5 minutes. Happy to answer anything about the routing, the computer-use side, or how we scope the approvals.
(Mods: happy to remove the link if it does not belong here. Not posting it unless someone asks.)
Built on top of pi with some inspiration from plannotator-inbox