Skip to main content

Platform-grade multi-tenancy, built-in auth and production hosting: Tusi gets it all with CloudBase

CloudBase TeamCloudBase Team
3 min read

When a platform needs to generate thousands of apps for its users, what happens to the backend? Tencent Tusi's answer is CloudBase.

Tusi is an "app generation and idea co-creation platform" from the Tencent App Store team. Users type any prompt, AI handles development, deployment and launch, and produces an app they can download and install directly.

Once you serve thousands of users and generate thousands of apps, the backend becomes the real bottleneck. A downloadable, installable app is backed by a full backend stack — database, login, storage, hosting. If every generated app required the agent to rewrite the DDL, reconfigure Nginx and re-stand-up a login system, generation would slow down and break, and the platform would have to keep patching things at the application layer. With CloudBase, the platform gets:

  • Every user-generated app automatically receives an independent cloud database instance, with data isolated at the tenant level by nature
  • Built-in WeChat, phone number, email and anonymous login — apps carry an account system from the very first line of code
  • Database, cloud functions, cloud storage, static hosting and container hosting all wrapped as MCP, invoked declaratively by the agent
  • Generation and runtime share the same data path

Multi-tenant data isolation

Every user-generated app that involves a backend automatically creates an independent cloud database instance, with data isolated at the tenant level by nature — the platform doesn't need to write multi-tenant logic again at the application layer.

During generation, the agent can declare data models and write test data directly through MCP; after launch, real users' business data lands in the same database — generation and runtime share one data path, with no "one database at generation, migrate again after launch" seam.

Authentication

Identity is another easily overlooked cost. If the agent is asked to write OAuth and session management on the fly in the prompt, it's neither stable nor reusable.

CloudBase has WeChat, phone number, email and anonymous login built in. Apps generated by Tusi can "log in, identify users and distinguish data ownership" by default. Users don't need to explicitly ask for "a login system" in the prompt, and the agent doesn't need to write OAuth/session management from scratch — identity is a platform default, so apps carry an account system from line one and can support account-heavy features like favorites, personal space and social sharing right away.

MCP/Skills: a shorter agent loop

What really determines generation quality is how many low-level details the agent has to handle.

CloudBase wraps backend resources — database, cloud functions, cloud storage, static hosting, container hosting — into standard MCP tools, and has distilled a batch of reusable Skills for common scenarios (user system, content storage, AI calls, payments, etc.). When generating an app, Tusi's agent doesn't write DDL, configure Nginx or manage HTTPS certificates — it calls MCP declaratively, and CloudBase handles resource creation, config publishing and runtime maintenance. This shortens the agent loop noticeably, shrinks the error surface, and gives generated apps production-grade engineering quality from launch.

With these three layers combined, a platform can use the agent to declaratively obtain a full set of production-grade capabilities by default. Click "Read more" for the complete solution.

About Tusi

Tusi is an app generation and idea co-creation platform from the Tencent App Store team. Users type prompts, AI handles development, deployment and launch, and produces a downloadable, installable app. The backend runs primarily on CloudBase.

Try it: https://tusi.qq.com

Build your next app on CloudBase

An all-in-one backend covering database, cloud functions, static hosting, and AI capabilities.