Skip to content

With code

Scaffold a Startup with npm create startups, run it locally, change a price, and call the Verbs your agent calls.

npm create startups writes a Startup as files in a repository. They compile into the same business an agent builds on startups.new, and every ask is one call.

The first ten minutes

Terminal8 steps
  1. 0:00. Create the Startup from a Startup Template:

    npm create startups leaseline.app -- --template solo-saas --yes
  2. 1:00. Open startup.ts. It holds the name, the Domain and the Template it extends; everything else is inherited:

    TypeScript
    import { Startup } from 'startup-builder'
    
    export default Startup({
      name: 'Leaseline',
      domain: 'leaseline.app',
      extends: 'solo-saas',
    })
  3. 2:00. Open the folder in your coding agent. AGENTS.md teaches it the conventions, and .mcp.json connects it to the MCP server.

  4. 3:00. Start the dev server. It watches the project and previews each edit as a Change:

    npx startup-builder dev
  5. 4:00. Change the price in offers/pro.mdx from 29 to 39. The checkout, the pricing page and the types of $ recompile.

  6. 6:00. Rehearse publishing the Offer. --try checks it and stores nothing:

    npx startup-builder do Offer.publish --json '{"offer":"offer_1"}' --try
  7. 7:00. Stream the subscription Events to a local URL, then fire one in test:

    npx startup-builder listen Offer.subscribed --forward-to http://localhost:3000/hooksnpx startup-builder trigger Offer.subscribed
  8. 9:00. Print what you have: the Site, Offers, Roles and Processes, own and inherited:

    npx startup-builder show /

One call, every Interface

Every Verb your agent calls is the same call in each Interface. Pick a tab once; every code window on the site keeps it.

Text
Publish the Pro plan.
Put the $39 plan on the pricing page.
Start selling Pro.

Founders and code share one business

A founder who asks on startups.new and a developer who edits offers/pro.mdx write to the same Startup. Each edit is a Change with a diff, reviewed and merged the same way.

Next

ToRead
Learn every folder and fileFolders and files
Write the root filestartup.ts
Call the platformAPI, SDK, CLI, MCP
Ship a whole taskGuides