Reddit Product Validation Agent
Reddit Product Validation Agent
Validate startup ideas with a two-phase workflow: discover relevant subreddits, then analyze pain points, existing solutions, willingness to pay, demand trends, and early adopters. Get a go/no-go scorecard with actionable insights.
Problems solved
- Discover relevant subreddits for a startup idea
- Extract pain points, solutions, and willingness-to-pay signals
- Track demand trends and early-adopter clues from Reddit
- Produce a go/no-go validation scorecard with next steps
Use cases
- Startup idea validation
- Product-market fit research
- Pricing signal discovery
- Early adopter outreach planning
- Go/no-go decision scorecards
Setup
Requirements, wiring steps, and what this pattern adds to your project.
Getting started
Pick how you want to pull this pattern in. Then wire env vars and routes the same way.
- 1
Install from the preview toolbar

Copy the install command above and run it in your project — Pro patterns include a short-lived token.
- 2
Add environment variables to .env.local
GOOGLE_GENERATIVE_AI_API_KEY
- 3
Point client fetches at your API routes
Replace preview `/view/.../api/...` paths with `/api/...` in the installed files.
- 4
Customize the agent and tool files
Adapt prompts, tools, and stop conditions for your product — Copy for AI in the toolbar helps seed that work.
- 5
Run your dev server and open the pattern route
Install dependencies if needed, then start the app and verify responses.
Environment variables
GOOGLE_GENERATIVE_AI_API_KEYGet key
Capabilities
AI SDK APIs
useChatgatewayToolLoopAgenttoolhasToolCallstepCountIscreateAgentUIStreamResponseInferAgentUIMessageDefaultChatTransportUIMessageProviders
External services
Files added
14 filesapp/page.tsxapp/layout.tsxapp/api/reddit-validation-agent/route.tslib/validation-types.tslib/rate-limit.tslib/ai/reddit-validation-agent.tslib/ai/tools/discover-subreddits.tslib/ai/tools/find-pain-points.tslib/ai/tools/analyze-existing-solutions.tslib/ai/tools/detect-willingness-to-pay.tslib/ai/tools/validate-demand.tslib/ai/tools/find-early-adopters.tslib/ai/tools/generate-validation-report.tsREADME.md
Dependencies
11 totalnpm packages
8
Registry components
Critical files
reddit-validation-agent/route.tsAPI route passing phase-based options (ideaContext, selectedSubreddits, phase) via callOptions for the two-phase agent.
ai/reddit-validation-agent.tsTwo-phase ToolLoopAgent: discovery phase (1 tool) and analysis phase (6 tools). Uses prepareCall to switch instructions based on phase.
tools/discover-subreddits.tsSubreddit discovery tool for finding relevant Reddit communities.
tools/find-pain-points.tsPain point analysis tool searching for frustration expressions in Reddit posts.
tools/analyze-existing-solutions.tsTool for analyzing existing solutions discussed on Reddit.
tools/detect-willingness-to-pay.tsTool for finding pricing discussions and payment intent signals.
tools/validate-demand.tsTool for analyzing discussion frequency and demand trends.
tools/find-early-adopters.tsTool for identifying users actively seeking solutions.
tools/generate-validation-report.tsFinal go/no-go validation report tool synthesizing all analysis into a comprehensive scorecard.
Requirements
- Complexity
- Advanced
- Setup time
- ~10 minutes
- Node
- 24+
- Memory
- 256MB









