Premium digital product landing page and Hermes Agent Hackathon ops runtime. Sell prompt packs with Stripe Checkout, deliver secured downloads after purchase, and run autonomous business operations through an NVIDIA Nemotron-powered Ops Console with Stripe Skills.
Live: https://autoprompt-kit.vercel.app
Demo video: Watch on X
Ops Console: https://autoprompt-kit.vercel.app/hackathon
- Landing & checkout — marketing site with Starter / Professional / Ultimate one-time plans via Stripe.
- Purchase gating — downloads and Ops Console unlock only after a verified paid checkout session.
- Email restore — buyers can restore access with the Gmail used at checkout.
- Autonomous ops — Nemotron plans multi-step runs (analyze → earn → spend → provision); Stripe Skills execute revenue and procurement flows.
- Safety layer — NemoClaw-style budget and vendor guardrails before spend/provision actions.
- Admin dashboard — live orders synced from Stripe with delivery status from webhooks.
- Next.js 14 (App Router) + TypeScript
- Tailwind CSS + shadcn/ui-style components + Radix UI
- Framer Motion + Lucide icons
- Stripe Checkout, webhooks, and Skills-style session creation
- NVIDIA NIM API (Nemotron planner, optional)
- Vercel deployment + daily cron autopilot endpoint
- Node.js 20+
- npm
- Stripe test account (for checkout)
- Optional: NVIDIA API key (for live Nemotron planning)
git clone https://github.com/infinitycrew39/autoprompt-kit.git
cd autoprompt-kit
npm installCreate .env.local in the project root:
# App
NEXT_PUBLIC_APP_URL=http://localhost:3000
# Stripe (test mode)
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=pk_test_xxx
STRIPE_SECRET_KEY=sk_test_xxx
STRIPE_CURRENCY=usd
STRIPE_WEBHOOK_SECRET=whsec_xxx
# Optional Stripe price IDs (auto inline pricing works in test mode if omitted)
STRIPE_PRICE_STARTER=
STRIPE_PRICE_PROFESSIONAL=
STRIPE_PRICE_ULTIMATE=
# Email delivery (optional)
RESEND_API_KEY=
RESEND_FROM=AutoPrompt Kit <deliveries@yourdomain.com>
DELIVERY_OVERRIDE_EMAIL=
# NVIDIA Nemotron planner (optional — falls back to safe planner)
NVIDIA_API_KEY=
NVIDIA_NIM_BASE_URL=https://integrate.api.nvidia.com/v1
NVIDIA_NEMOTRON_MODEL=nvidia/nemotron-3-ultra-550b-a55b
NVIDIA_REQUEST_TIMEOUT_MS=8000
# Agent guardrails
AGENT_MAX_BUDGET_CENTS=50000
# Admin (optional)
ADMIN_DASHBOARD_TOKEN=
ADMIN_ORDERS_SINCE=
# Autopilot cron (optional, production)
CRON_SECRET=
AUTOPILOT_OBJECTIVES_JSON=["Launch growth sprint for AutoPrompt Kit"]
AUTOPILOT_DEFAULT_BUDGET_CENTS=5000
AUTOPILOT_DEFAULT_LIMIT=1npm run devOpen http://localhost:3000.
In a second terminal:
stripe listen --forward-to localhost:3000/api/stripe/webhookCopy the whsec_... secret into STRIPE_WEBHOOK_SECRET, then restart npm run dev.
Local smoke test without Stripe CLI:
npm run test:webhook:local| Step | Screen | URL |
|---|---|---|
| Browse product | Landing page | / |
| Watch demo | X video (opens in new tab) | Hero → Watch Demo |
| Choose plan | Pricing | /#pricing |
| Pay | Stripe Checkout | redirected from checkout API |
| Get files | Success + secured downloads | /success?session_id=... |
| Run agents | Ops Console | /hackathon?session_id=... |
| Restore access | Email on gated console | /hackathon → Restore Access |
4242 4242 4242 4242
Any future expiry, any CVC, any ZIP
Open /hackathon after a paid checkout (or pass ?session_id=cs_...).
The console:
- Loads purchased prompt files as planning context.
- Calls Nemotron when
NVIDIA_API_KEYis set (otherwise uses fallback planner). - Applies NemoClaw-style policies on spend/provision steps.
- Executes Stripe Skills for earn and procurement actions.
- Shows run summary: spend, projected revenue, ROI, and per-step status.
# Run one autonomous operation (requires verified purchase session)
POST /api/agent/run
{
"objective": "Launch growth sprint and provision one SaaS tool",
"budgetCents": 5000,
"sessionId": "cs_xxx"
}
# List recent runs
GET /api/agent/runs?limit=20GET /api/access/download?session_id=cs_xxx&file=workflow-blueprintsPOST /api/access/restore
{ "email": "you@gmail.com" }/admin/orders
/admin/orders?token=YOUR_TOKEN
- Syncs orders from Stripe checkout sessions.
- Merges webhook delivery status from local order store.
- Filter by
paid/expired/unpaid. - Export CSV via
/api/orders?format=csv. - Set
ADMIN_ORDERS_SINCE(ISO timestamp) to hide older orders.
app/
page.tsx # Landing page
hackathon/page.tsx # Ops Console
success/page.tsx # Post-checkout delivery
admin/orders/page.tsx # Orders dashboard
api/
checkout/ # Stripe Checkout sessions
stripe/webhook/ # Payment webhooks + email delivery
access/download/ # Secured file downloads
access/restore/ # Email-based access restore
agent/run/ # Autonomous ops runner
agent/runs/ # Run history
agent/autopilot/ # Cron-triggered batch runs
hackathon/assets/ # Purchased prompt file API
components/
sections/ # Landing sections (hero, pricing, FAQ, …)
hackathon-console.tsx # Ops Console UI
content/downloads/ # Secured prompt pack files (not public/)
lib/
agent-runtime.ts # Plan + execute autonomous ops
nvidia.ts # Nemotron planner
nemo-claw.ts # Budget/vendor guardrails
stripe-skills.ts # Earn/spend Stripe session helpers
purchase-access.ts # Checkout verification
secured-downloads.ts # Plan-based file access
data/
orders.json # Local order + webhook idempotency store
agent-runs.json # Agent run audit log
npm run dev # Start dev server
npm run build # Production build
npm run start # Start production server
npm run lint # ESLint
npm run test:webhook:local- Push to GitHub.
- Import the repo in Vercel.
- Add environment variables (at minimum Stripe keys; NVIDIA key for live Nemotron).
- Set
NEXT_PUBLIC_APP_URLto your production URL. - Deploy.
Cron in vercel.json calls /api/agent/autopilot daily when CRON_SECRET is configured.
- Homepage — product intro; click Watch Demo for the X video.
- Pricing — pick a plan and complete Stripe checkout (test card).
- Success — download files and open Ops Console.
- Ops Console — set objective + budget, run autonomous ops.
- Results — show analyze / earn / spend / provision steps and ROI.
- Admin (optional) — show order synced on
/admin/orders.
Private project. All rights reserved.