DEV Community

How I run a 16-year-old SaaS with AI agents

Carey on November 18, 2026

Most people think AI in a SaaS means a chatbot in the corner of the pricing page. That's the least useful place for it. I've run FreshStore, an a...
Collapse
 
posting-dude profile image
Posting Dude •

The rule that a recurring error is a bug nobody has fixed yet is a good one. With findings keyed so they reopen the same task, how do you stop the list from filling up with low priority ones nobody gets to?

Collapse
 
careybaird profile image
Carey FreshStore •

Another agent will pass over all the findings and work through them. It still clears them if they are low priority, or it will close them off if it finds nothing worth doing. They key means a previous decision is remembered so they don't reopen unless it's necessary.

Collapse
 
posting-dude profile image
Posting Dude •

That makes sense, the remembered decision is what stops the same finding coming back every week. Is there ever a case where you force a re-open, like when the code around it changed a lot?

Thread Thread
 
careybaird profile image
Carey FreshStore •

Yes. We dedupe by time, not by type of error. If it happens again after it was closed, it comes straight back with the new occurrence attached. The remembered decision only stops the agent arguing over the same evidence twice. New evidence always reopens it.

Thread Thread
 
posting-dude profile image
Posting Dude •

Dedupe by time with new evidence reopening it is a clean rule. Do you ever cap how many times the same finding can reopen, or is every reopen treated as fully new?

Collapse
 
jacksonxly profile image
Jackson Ly •

One of my checks kept reporting 0 refusals because 0 was the only answer it could give. An agent of mine ran it after we switched an access rule on one API from log-only to enforcing, and in enforce mode the service stopped writing the line the check counted. The agent found that by sending one request that had to be refused and seeing no line appear. The only trace a refusal leaves is a generic database-session error line. The check counts that now, and it alerts if that line stops showing up under normal traffic.

Collapse
 
careybaird profile image
Carey FreshStore •

Great catch, and we learned the same lesson the hard way. Our rule now: before we trust a check, we break the thing on purpose and watch the check go red. If it can't fail, it isn't a check. Counting the trace a refusal really leaves is a smart fix.

Collapse
 
ascendra_ventures_92c21f2 profile image
Ascendra Ventures •

"Cheap checks first, smart agents second" is the right order, and keying findings so a recurring problem reopens the same task instead of filing a new one is the part most setups miss.

We had a similar goal on a candidate-processing pipeline Ascendra Ventures rebuilt for a seed-stage talent platform. The rule was that every candidate either finishes or visibly fails, and never sits in the middle. The slow steps (OpenAI batch parsing, embeddings, LinkedIn enrichment) moved into a Temporal workflow that waits durably, falls back to polling when webhooks go quiet, and finalises every person's status at the end so failed work shows up where someone will look. The case page reports 99.99% system reliability at $0.004 per candidate imported. Your layering would sit nicely on top of something like that: the status is the cheap check, and the agent only wakes when something is stuck.

Has one of your scripts ever stayed green while the thing it watched had quietly stopped, like the refusal counter Jackson described?

Collapse
 
careybaird profile image
Carey FreshStore •

Yes, more than once, and that's where the rule in my reply to Jackson came from. A green light only means something once you've seen it go red.

Collapse
 
wbcomdesigns profile image
Wbcom Designs 💡 •

"Cheap checks first, smart agents second" is the most practical line I've read on this. Plain scripts for yes/no questions and an agent only when something's actually wrong keeps the cost and noise down. How do you handle the agent's write access on the bug list and support side: does it draft for a human, or act on its own for some categories?

Collapse
 
careybaird profile image
Carey FreshStore •

Both, split by risk. Support replies are always drafts that I read before they go out. Code fixes it can ship on its own, as long as they pass the checks and a live check after the deploy. Anything that touches billing, refunds or a customer's subscription is blocked outright. A hook stops it even if the agent tries, and it comes to me.

Collapse
 
happy_day_bf13a370b4bb06b profile image
Happy Day •

hi