Build a multi-tenant SaaS with an agent
The poster built a production multi-tenant SaaS in 15 days with Replit Agent, but hit issues like RLS bypasses and production pointing at the dev database, so checking its work was essential. ·
Done withReplit Agent
- What they did
- The poster used only Replit Agent plus Architect to build a production multi-tenant SaaS over 15 days. Their workflow was spec-driven: write a spec, turn it into markdown, have Replit review it and propose a plan, sanity-check that plan with Perplexity or Codex, then let the agent work through a checklist while they repeatedly verified behavior and corrected issues like security, env vars, migrations, and deployment config.
- How it went
- They got the SaaS built, but said the speed was misleading because every layer broke in unexpected ways, including RLS bypasses, double-encrypted OAuth tokens, reverted environment variables, and production pointing at the dev database. Even after finishing, they were still dealing with integrations, and migrations still struggled with triggers and security-definer functions.
- Worth knowing
- The main catch was supervision overhead: the poster says the real work was constant verification, and also notes the agent could not read production logs, which made debugging harder.
Try it yourself with Replit Agent
Help me build a multi-tenant SaaS for [type of customer] where each customer's data is fully isolated. After building it, review your own work for tenant data leaks, row-level security gaps and whether production and development use separate databases. Write a checklist of what you verified and what still needs my attention. Ask me before deploying or changing any production data.
Want help getting this working? Join the Vibe Coding Academy ↗ Run by Alex Finn, who also runs this site.
Source: Reddit · Dec 2, 2025
Related use cases
Build a searchable map of funded companies
A software engineer had Replit Agent build a searchable map of Wefunder brick-and-mortar companies in about 3 hours for about $22.
Add 61 kid-friendly mini-games to an app
Two users had Replit Agent autonomously add 61 child-friendly, ad-free mini-games to their game vault, growing it from 40 to 101.
Build a first app with no coding experience
A commenter used Replit's agent with Claude Sonnet to make an app in about five minutes despite never having coded anything functional before.
Build a C compiler with a team of parallel agents
Anthropic's engineering write-up on tasking Opus 4.6 agent teams with building a C compiler.
Crawl documentation into clean Markdown for AI agents
The author built a documentation crawler for their AI agents that pulled 60 pages of clean Markdown in 49 seconds.
Custom agent
Keep docs updated with Cursor background agents
Commenters use Cursor background agents to keep documentation current and to start tasks from Slack threads and continue them in Cursor.
Get 5 like this every morning
The best things people got an AI agent to do, each with the prompt to try it.