Give your agent a wallet you control.
에이전트가 일회용 카드나 기계 결제 프로토콜로 온라인 결제하고, 모든 요청을 직접 승인
LossLens는 온라인 상점 손실 원인을 찾는 AI 에이전트로, 엔진이 수치를 계산하고 8단계 분석·검증을 수행한다
LossLens is an AI agent that finds why an online store's week lost money. A deterministic engine computes the numbers, an AI analyst reasons through 8 steps, and a verifier blocks anything it can't tr
금융TypeScript · CSSGitHub @suryanarayannnn온라인운영자 미확인
써 보셨어요? 한 번만 눌러 주세요. 로그인은 필요 없어요.
아직 감지된 업데이트가 없습니다. GitHub 릴리스가 나오면 여기에 보입니다.
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기LossLens: automated profit troubleshooter for e-commerce & Shopify stores. Finds the root cause of a losing week (RTO, ad spend, COGS, cancels) with a ₹ action plan. Next.js + Claude.
저장소 README에서 가져옴
README 전체를 불러오는 중입니다.
README 전문 보기 ↗Live: https://ecom-ai-troubleshooter.vercel.app · Built by S Surya Narayan
When an online store has a losing week, LossLens finds out why. Answer four quick questions, then paste the store's weekly PnL and any supporting data you have (ad campaigns, gender, age, platform, state, product, fulfilment, catalogue changelog). LossLens runs a strict 8-step troubleshooting method and returns:
The troubleshooting framework is in
prompts/l3-diagnostic.md. I built it from 12+ live seller case studies.
Browser (Next.js page) ──POST /api/analyze──▶ Serverless function (Vercel)
paste data / sample ├─ system prompt = prompts/*.md
charts (Recharts) ◀── JSON ─────────────────── ├─ Gemini (free tier, JSON validated by zod)
markdown report └─ rate limit + input caps
lib/schema.ts.Stack: Next.js 15 · TypeScript · Tailwind CSS v4 · Recharts · Google Gemini (free tier) · Zod
GEMINI_API_KEY = your free keyhttps://<name>.vercel.app link.Every later commit to GitHub, including edits made in GitHub's web editor, redeploys automatically.
Two add-on features can be turned off or back on without changing any code. Set the variable in Vercel → Settings → Environment Variables, then Redeploy.
| Variable | off means | Default |
|---|---|---|
NEXT_PUBLIC_FEATURE_STUDIO | Section Studio page, API, nav link and home promo are removed (/studio returns 404) | on |
NEXT_PUBLIC_FEATURE_TOKENS | Set to on to bring back the demo token wallet, pricing page and per-use costs | off |
To turn a feature back on, delete the variable (or set it to on) and redeploy. Balances and saved sections live in visitors' browsers, so they come back too.
Studio code is self-contained, so you can also remove it from the repo entirely if you want:
app/studio/, app/api/studio/, components/studio/, lib/theme.ts.
| Variable | Used by |
|---|---|
GEMINI_API_KEY | Everything: troubleshooter, Section Studio, Ask Lens (free tier, aistudio.google.com/apikey) |
WALLET_SECRET | Optional: a long random string used to sign token balances |
ANALYZE_MODEL / THEME_FREE_MODEL / THEME_PRO_MODEL / CHAT_MODEL | Optional model overrides (default: free Gemini models) |
| What | Where |
|---|---|
| Your name and links in the header | lib/site.ts |
| The diagnostic framework | prompts/l3-diagnostic.md |
| Web-app output rules | prompts/web-app-addendum.md |
| Demo dataset (fictional) | lib/sampleData.ts |
| Dashboard fields | lib/schema.ts + components/Dashboard.tsx |
npm install
cp .env.example .env.local # add your key
npm run dev