explaingit

rizwan3d/nanoagent.builder

13C#Audience · developerComplexity · 4/5ActiveSetup · hard

TLDR

A .NET 10 starter kit for launching a paid AI app builder. Bundles chat, Monaco editor, Next.js scaffold, ASP.NET Identity, plan limits, and Stripe billing.

Mindmap

mindmap
  root((NanoAgent-Builder))
    Inputs
      User prompts
      Stripe webhooks
      Database config
    Outputs
      Generated Next.js project
      Live preview
      Usage dashboards
    Use Cases
      Launch a paid AI app builder
      Resell AI coding seats
      Internal coding workspace
    Tech Stack
      DotNet
      RazorPages
      EFCore
      Stripe
      Monaco
      NextJS

Things people build with this

USE CASE 1

Launch your own paid AI app-builder SaaS with Stripe billing and plan limits

USE CASE 2

Self-host an internal AI coding workspace with admin user and usage tracking

USE CASE 3

Resell metered AI-assisted coding seats with token caps per plan

Tech stack

DotNetRazorPagesEFCoreStripeMonacoNextJS

Getting it running

Difficulty · hard Time to first run · 1h+

Needs .NET 10 SDK plus Node, a Postgres or SQLite database, and Stripe keys before any paid flow works end to end.

In plain English

NanoAgent Builder is a web application that other people can use to build small AI-assisted software projects from inside the browser. Think of it as the starter kit for someone who wants to launch their own product where customers pay a monthly fee to generate apps with help from an AI assistant. It bundles the customer-facing workspace, the AI chat, billing, plan limits, and a basic admin view, all in one .NET project. When a logged-in user creates a project, they land on a workspace screen that resembles popular online dev tools. There is a chat panel for the AI, a file tree, a Monaco code editor (the one used in VS Code), a live preview iframe, and a history of past runs. Each new project is pre-filled with a small Next.js starter so the customer is not staring at an empty folder. The starter includes the usual Next.js files such as package.json, tsconfig.json, app/layout.tsx, and app/page.tsx, plus an agent.config.json file. The project is built around the idea of running it as a paid product. There is a plan system with free and paid tiers, monthly token limits, project limits, allowed model lists, and a Stripe integration for checkout, customer portal, and webhooks. The dashboard shows each user how many tokens they have used in the current period and how many are left. Administrators get a separate dashboard that lists total users, total projects, active subscriptions, and per-user usage. Sign-up, login, and protected pages are handled by ASP.NET Core Identity, and every new account starts on the free plan automatically. The technology choices are Microsoft-centric. The backend is .NET 10 with ASP.NET Core Razor Pages, Entity Framework Core, and ASP.NET Core Identity. Data can live in either PostgreSQL or SQLite, picked through appsettings.json. The repo is split into four parts along clean-architecture lines: Domain holds the entities, Application holds the use cases, Infrastructure holds the database, Stripe, and file system code, and the Web App project holds the Razor Pages, the Stripe webhook endpoint, and the usage API. To run it locally you need the .NET 10 SDK, a database, Node.js and npm for the generated Next.js workspaces, and a Stripe account if you want paid flows. The steps are dotnet restore, dotnet run, and then npm install plus npm run dev inside any generated workspace. A Dockerfile is also included.

Copy-paste prompts

Prompt 1
Walk me through wiring my Stripe test keys into appsettings.json and pointing the webhook at /stripe/webhook for NanoAgent.Builder
Prompt 2
Swap the default Next.js starter scaffold with a Vite plus React template inside the Infrastructure project
Prompt 3
Add a new pricing tier called Team to the plan system with a 1M monthly token limit and 10 project cap
Prompt 4
Run NanoAgent.Builder against PostgreSQL with EF Core migrations and seed an admin user on first boot
Prompt 5
Build a Dockerfile-based deployment that runs the .NET 10 app behind nginx with HTTPS
Open on GitHub → Explain another repo

Generated 2026-05-22 · Model: sonnet-4-6 · Verify against the repo before relying on details.