Context
Build a local demo of an AI agent that helps solo founders discover their next product idea. The founder describes their situation in natural language; the agent conducts one-shot market research via web search and delivers an interactive dashboard report.
Requirements Summary
| Aspect | Decision |
|---|---|
| Frontend | React SPA (Vite) |
| Backend | FastAPI (Python) |
| User Input | Natural language prompt |
| Data Sources | Web search (DuckDuckGo, no API key), social signals via search |
| Output | Interactive dashboard with collapsible sections |
| Research Style | One-shot (~30-60s), parallel sub-searches + LLM synthesis |
| LLM | Kimi K3 via Moonshot Anthropic-compatible endpoint |
Architecture
┌─────────────┐ POST /research ┌─────────────┐
│ React SPA │ ─────────────────────► │ FastAPI │
│ (Vite) │ │ Backend │
│ │ ◄── JSON Report ────── │ │
└─────────────┘ └──────┬──────┘
│
┌──────────────────────┼──────────────────────┐
▼ ▼ ▼
┌─────────────┐ ┌─────────────┐ ┌─────────────┐
│ DuckDuckGo │ │ DuckDuckGo │ │ DuckDuckGo │
│ Trends │ │ Competitors │ │ Pain Points │
└─────────────┘ └─────────────┘ └─────────────┘
│ │ │
└──────────────────────┼──────────────────────┘
▼
┌─────────────┐
│ Kimi K3 │
│ Synthesis │
└─────────────┘
← scroll the diagram sideways