How vikashask/ai-interior-designer works
AI Interior Designer turns a room photo and user request into a reviewed design proposal with a style concept, validated layout, product picks, budget, and visualization. The frontend submits projects, streams progress, and presents results; the API runs the LangGraph workflow and serves completed results and revision chat. The README documents the full agent sequence and review loop; sampled source confirms key orchestration, API, LLM, and catalog-search links. Some agent implementations and graph wiring were not sampled, so their links follow documented workflow rather than inferred direct calls.
Main entry points: pipeline.py Agent pipeline · page.tsx App page · ResultsView.tsx Results view · design.py Design API
Components 27
User experience
- App page
frontend/src/app/page.tsx - Upload form
frontend/src/components/UploadForm.tsx - Progress tracker
frontend/src/components/ProgressTracker.tsx - Results view
frontend/src/components/ResultsView.tsx - Floor plan
frontend/src/components/FloorPlan.tsx - Revision chat
frontend/src/components/RevisionChat.tsx - API client
frontend/src/lib/api.ts
API and orchestration
- Design API
backend/app/routes/design.py - Agent pipeline
backend/app/graph/pipeline.py - Design state
backend/app/models/state.py
Design agents
- Intent parser
backend/app/agents/intent_parser.py - Room vision
backend/app/agents/vision_analyzer.py - Interior designer
backend/app/agents/designer.py - Color and style
backend/app/agents/color_style.py - Space planner
backend/app/agents/space_planner.py - Budget allocator
backend/app/agents/budget_allocator.py - Shopping agent
backend/app/agents/shopping.py - Budget advisor
backend/app/agents/budget_advisor.py - Proposal reviewer
backend/app/agents/reviewer.py - Render builder
backend/app/agents/render_builder.py - Revision agent
backend/app/agents/revision.py
Product catalog
- Catalog search
backend/app/catalog/search.py - Product catalog
backend/app/catalog/db.py
AI integrations
- LLM client
backend/app/llm/client.py - OpenAI or Ollama
- DALL-E 3
Other components
- Designer
Connections 27
- Designer → Upload form: provides request
- Upload form → App page: submits form
- App page → API client: starts project
- App page → Progress tracker: shows status
- App page → Results view: shows proposal
- Results view → Floor plan: renders layout
- Results view → Revision chat: offers revisions
- API client → Design API: calls endpoints
- Design API → Agent pipeline: starts workflow
- Design API → Revision agent: runs feedback
- Agent pipeline → Design state: updates state
- Agent pipeline → Intent parser: dispatches parsing
- Agent pipeline → Room vision: dispatches analysis
- Agent pipeline → Interior designer: dispatches brief
- Agent pipeline → Color and style: dispatches styling
- Agent pipeline → Space planner: dispatches layout
- Agent pipeline → Budget allocator: dispatches allocation
- Agent pipeline → Shopping agent: dispatches product search
- Agent pipeline → Budget advisor: dispatches review
- Agent pipeline → Proposal reviewer: dispatches quality check
- Agent pipeline → Render builder: dispatches rendering
- Shopping agent → Catalog search: searches products
- Catalog search → Product catalog: queries
- Intent parser → LLM client: requests structured output
- Proposal reviewer → LLM client: requests review
- LLM client → OpenAI or Ollama: sends prompts
- Render builder → DALL-E 3: generates visualization