How codenama-007/app-saturation- works
This repository implements an idea-market research and validation workflow: an idea is checked against cached analyses, turned into search queries, researched, compared with retrieved products, scored, and used to suggest evidence-based differentiators. LangGraph coordinates the stages; deterministic evidence checks and scoring constrain LLM output. The map also includes the persistent cache and external model/search boundaries. README content was empty, and several files were available only through the source index, so uncertain links are omitted or marked dashed.
Main entry points: graph.py Workflow graph · analysis.py Competitor verification · llm.py LLM client · evidence.py Evidence helpers
Components 18
Application entry
- Application entry
main.py
Research workflow
- Workflow graph
graph.py - Cache check
cache.py - Query generation
research.py - Product search
research.py - Product comparison
research.py
Analysis and scoring
- Evidence helpers
evidence.py - LLM prompts
prompts.py - LLM client
llm.py - Competitor verification
analysis.py - Opportunity scoring
scoring.py - Feature suggestions
analysis.py
State and persistence
- Workflow state
models.py - Cache coordination
cache.py - Idea memory
memory.py
Other components
- Idea submitter
- Search provider
- Groq model service
Connections 28
- Idea submitter → Application entry: submits idea
- Application entry → Workflow graph: invokes
main.py - Workflow graph → Workflow state: uses state
graph.py - Workflow graph → Cache check: dispatches
graph.py - Workflow graph → Query generation: dispatches
graph.py - Workflow graph → Product search: dispatches
graph.py - Workflow graph → Product comparison: dispatches
graph.py - Workflow graph → Competitor verification: dispatches
graph.py - Workflow graph → Feature suggestions: dispatches
graph.py - Workflow graph → Cache coordination: dispatches
graph.py - Cache check → Idea memory: looks up
cache.py - Cache coordination → Idea memory: saves idea
cache.py - Query generation → LLM prompts: formats prompt
research.py - Query generation → LLM client: requests query
research.py - Query generation → Evidence helpers: cleans query
research.py - Product search → Evidence helpers: filters results
research.py - Product search → Search provider: requests search
- Product comparison → Evidence helpers: formats evidence
research.py - Product comparison → LLM prompts: formats prompt
research.py - Product comparison → LLM client: requests analysis
research.py - LLM client → Groq model service: calls model
llm.py - Competitor verification → Evidence helpers: verifies names
analysis.py - Competitor verification → LLM prompts: formats prompt
analysis.py - Competitor verification → LLM client: extracts competitors
analysis.py - Competitor verification → Opportunity scoring: calculates scores
analysis.py - Feature suggestions → Evidence helpers: formats evidence
analysis.py - Feature suggestions → LLM prompts: formats prompt
analysis.py - Feature suggestions → LLM client: generates suggestions
analysis.py