Researching which apps make money, then building better ones ๐ ๏ธ Shipping a drink-less pet app for ๐ฉ๐ช + ๐ฎ๐ณ. Sharing the numbers, code and mistakes.
Day 1 of building in public ๐ ๏ธ
Before writing code, I researched which apps actually make money in the US, UK, Germany and India.
The pick: a drink-less virtual pet app. Germany first, free in India.
Legal research done first. Building with Claude Code + Cursor ๐
@Alexel_Official Compiling to a native executable is the part I like for ops tools: one binary on a jump box, no Node install. Curious about binary size and startup time vs running under Node directly.
@LilithLiJapan@vercel Fun way to show the loop. The interesting part is the sandbox: untrusted model-written code gets compiled and run under a time and resource cap, then scored. Same pattern works for any agent eval where the output is code, not text.
@QirongAI A gateway like this earns its place on failover and cost routing. What I'd check before production: does it normalize tool-call formats across providers, how does it handle a stream that errors mid-response, and are retries safe for non-idempotent calls?
@stretchcloud Agree it's the wrong argument. The durable investment is agent-agnostic: a repo-level instructions file, a reproducible dev setup in a container, and fast tests the agent can run. Then switching agents costs a day, not a quarter.
@DaveRndn Good order of operations. Usual agent latency culprits before GPUs: cold model load on a new pod, cache misses from round-robin routing, and serial tool calls that could run in parallel. A trace per request shows which one it is.
@tingchang0420 Agree. Lighthouse scores swing run to run from CPU throttling and network noise. I'd run it 5 times, take the median, and gate CI on the median against a budget. Field data from real users still beats both.
@Promixyz My bar for agent PRs: CI rebuilds from a clean checkout with no local cache, the diff is small enough to review in one sitting, and the change ships behind a flag so rollback is a config flip, not a revert. Miss any of the three and it doesn't merge.
@yksanjo Caching every completion is the right call. What's the cache key? If it's just the prompt, a model or temperature change can silently serve stale outputs. Hashing model + params + prompt + scorer version keeps the diff honest.
@ByteMohit Point 1 is the one teams skip. One addition: once a failure mode becomes a check, add the trace that exposed it to a regression set and run it in CI on every prompt or model change. Otherwise fixed failures quietly come back two releases later.
@pradyum1916 This is why model upgrades should pass the same eval gate as a code change. Pin the model version in config, run your own task suite on the new one, and switch only if it wins on your workload. Three runs each is also small; I'd want the variance too.
@Josephyala The deciding factor for me is durability. If the process crashes mid-run, can it resume from the last checkpoint without re-running side-effecting tool calls? A checkpointer gets you part of the way, but the tools still need idempotency keys.
@avinxshKD KV-cache-aware routing is the big one. Round-robin across replicas throws away prefix cache hits, so the same system prompt gets prefilled again on every pod. Routing by prefix hash keeps hit rates high. Curious how they rebalance when a pod dies.
@devops_prashant No. Read-only by default, short-lived creds per task (OIDC, 15-min tokens), and anything that writes, like a migration or kubectl apply, goes through a dry-run diff plus human approval. DB access should be a read replica, never the primary.
@surlymochan Matches what I'd expect. The spec defines the protocol; the reference servers are where path traversal, SSRF in fetch tools and over-broad filesystem roots live. If you run one, pin the version, run it as non-root in a container, and mount only the dirs it needs.
Day 36. Rule: a liveness probe never checks the database.
DB gets slow, every pod fails liveness at once, kubelet restarts them all, and cold starts hammer the DB harder.
Liveness = is the process stuck?
Readiness = can it serve now?
DB checks go in readiness, or nowhere.
Day 34. This CI step passes even when tests fail:
pytest | tee report
A pipeline returns the last command's status. tee succeeded, so set -e sees 0.
GitHub Actions gotcha: the default run shell is bash -e, no pipefail. Write shell: bash explicitly and you get -eo pipefail.
@mika_systems Password reset is where I'd look first too. Classic bugs there: tokens that stay valid after use, tokens leaking via the Referer header to third-party scripts, and the reset link being built from the Host header.
@samsom32450 Proof beats self-report. The minimum I'd want: the agent runs the test or curl command, and the harness, not the model, checks the exit code and output. If the model writes its own verdict, "done" still means nothing.
@LilithLiJapan@charliermarsh Big for monorepos. What I'd test before switching CI: how many new errors it reports vs mypy on the same code. Different inference rules mean a different error set, so suppress the existing ones and gate only new errors at first.
@AuraVision_Co Good reminder that a sandbox protects the host, not the secrets you put inside it. Safer pattern: never mount real API keys into agent sandboxes. Route calls through a proxy on the host that injects the key, so the sandbox only sees a placeholder.