🤖 AI-First Development

    Stacks

    AI-First Development Templates on Nostr

    A decentralized template-sharing platform built on Nostr, designed specifically to jumpstart AI development. Publish AI-first project templates, quickly bootstrap working apps, and deploy functional applications in minutes.

    Quick Start:
    $ npm install -g @getstacks/stacks
    $ stacks mkstack
    Nostr Protocol
    Censorship Resistant
    AI-Powered

    Stacks: AI-First Development

    See how Stacks enables rapid AI development with decentralized templates and built-in AI assistance.

    Watch on YouTube
    ⭐ Featured Stack

    Try Building a Nostr App with MKStack

    Want to see Stacks in action? Check out MKStack, a Nostr template that demonstrates the power of AI-first development on Nostr.

    What's Inside MKStack?

    Nostrbook MCP Integration

    Queryable documentation that supercharges AI workflows with Nostr protocol knowledge.

    Built-in Nostr Login

    Complete authentication system with NIP-07 browser signing and account management.

    Context Files

    Structured project context that helps AI agents understand your codebase and requirements.

    Quick Start

    Add MKStack to your collection:
    $ stacks add naddr1qvzqqqrhl5pzqprpljlvcnpnw3pejvkkhrc3y6wvmd7vjuad0fg2ud3dky66gaxaqqrk66mnw3skx6c4g6ltw
    Create a new project:
    $ stacks mkstack
    Tell Dork what to build:
    "Please build a NIP-28 group chat app with Nostr login"

    MKStack Template

    The complete framework for building Nostr applications with AI assistance

    50+
    NIPs Supported
    8 Min
    Avg Build Time
    AI-First
    Development

    How Stacks Works

    From template discovery to deployment, powered by Nostr's decentralized infrastructure.

    Decentralized on Nostr

    Stacks are shared via Nostr events, meaning they're portable, censorship-resistant, and social. Templates can't be removed or censored.

    Kind 30717 events
    Permanent availability
    Global distribution

    AI-Powered Development

    Built-in AI agent "Dork" helps generate boilerplate code, answer questions about dependencies, and guide deployments.

    Context-aware AI
    Code generation
    Deployment guidance

    Simple CLI Interface

    Install the Stacks CLI once and access any template with a simple command. No complex setup or configuration needed.

    npm install -g @getstacks/stacks
    stacks add [naddr]
    stacks [alias]

    Featured Stacks

    From simple websites to complex applications and even game ROMs - explore the variety of templates available on Stacks.

    Get Started in 3 Steps

    From installation to deployment - build and share AI-powered applications in minutes.

    Install & Add

    Install Stacks CLI globally and add any template using its naddr identifier. View your collection with stacks list.

    $ npm install -g @getstacks/stacks
    $ stacks add [naddr]
    $ stacks list

    Run & Build

    Run any stack to create a project in your current directory. Use Dork AI agent to help build your app with natural language prompts.

    $ stacks [alias]
    Enter project name: my-app
    <o_o> Dork: What do you need?

    Deploy

    Deploy your application instantly with built-in NostrDeploy.com integration. Your app goes live with just one command.

    $ npm run dev
    $ npm run deploy
    🚀 Deployed to nostrdeploy.com!

    Configure Your AI Provider

    Stacks supports multiple AI providers to power Dork's code generation and assistance. Configure your preferred provider to get started with AI-powered development.

    Configure your AI provider:
    $ stacks configure
    Choose "AI Provider" and follow the prompts

    OpenRouter

    Access to multiple AI models through a single API

    Get your API key from openrouter.ai/settings/keys

    PayPerQ

    Pay-per-query AI service with competitive pricing

    OpenAI-compatible API at ppq.ai

    Routstr

    Bitcoin Lightning payments with Cashu tokens

    Use Cashu tokens for anonymous payments

    Built on the Stacks Protocol

    The Stacks Protocol defines how project templates and AI agents are structured, shared, and consumed on the Nostr network.

    Protocol Components

    stack.json

    Metadata for project templates including dependencies, configuration, and structure.

    agent.json

    Configuration for AI agents that understand your project structure and requirements.

    CONTEXT.md

    Project context that provides AI agents with domain knowledge and best practices.

    Nostr Integration

    Published as kind 30717 events with unique naddr identifiers for decentralized discovery.

    Publish Your Own Stack

    Share your templates with the world

    Create your stack.json:
    $ stacks init
    Publish to Nostr:
    $ stacks publish

    Part of the Nostr Development Ecosystem

    Stacks works alongside other powerful tools to provide the complete Nostr development experience.

    Nostrify

    Bring your projects to life on Nostr with simple tools for relays, storage, signers, moderation policies, and more.

    Learn More

    Nostrbook MCP

    A comprehensive registry of Nostr documentation. Structured, detailed knowledge about Nostr for both humans and AI.

    Learn More

    Dork AI Agent

    Built-in AI assistant that helps generate code, answer questions about dependencies, and guide deployments.

    Start Building with AI-First Development

    Join developers worldwide using Stacks to build the next generation of applications with AI assistance and decentralized infrastructure.

    Open Source
    Decentralized
    AI-Powered