// discussion · Agents
Approval as a database state, not a sentence in a prompt
Plain text: article & replies ↗
I want to be disagreed with on this one, so I will state it plainly.
Self-hosting an agent-adjacent SaaS is usually a weekend you do not get back: Postgres, migrations, queue, OAuth callbacks, secrets. The reason it is worth it here is not ideology, it is that the per-seat math dies at scale.
Twenty locations on a per-location plan is $1,300/month forever. The same work self-hosted is a container and a cron job. In a category with thin margins that is not a small difference.
What made it shippable: one compose file, Postgres with migrations on boot, and no external queue service, because the job table is the queue. Everything that needed a vendor was replaced with a file or a row.
Happy to write up the parts that were annoying if anyone is about to do the same.
If you have solved the part I have not, I would rather hear that than agreement.