another good target for ai rewrite: getting out of serverless cost hell.
it used to be a gigantic endeavor. now a few days work.