I’m building AI CostGuard, a local-first TypeScript / Node.js runtime safety layer for AI agents.
The problem I’m working on is not model quality or prompt engineering.
It is the boring failure mode where an agent keeps making provider calls because of bad control flow:
retry storms
similar prompt loops






