# aashishtambe/founderaiwithgemini architecture

> Architecture diagram of the GitHub repository aashishtambe/founderaiwithgemini, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-25). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/aashishtambe/founderaiwithgemini
- Repository: https://github.com/aashishtambe/founderaiwithgemini

## Overview

Founder AI is a venture-investment workflow application: founders submit pitch materials, then the app orchestrates AI analysis, due diligence, committee deliberation, negotiation, and future-scenario simulation. The React screens present each stage, plus portfolio and investor views; `geminiService.ts` supplies the AI operations. The README documents the complete pipeline and agent capabilities, while the excerpts show key app and service calls. Some component wiring is unsampled, so those documented relationships cite the README rather than implying unobserved calls.

Main entry points: [`App.tsx`](https://github.com/aashishtambe/founderaiwithgemini/blob/main/App.tsx) (Workflow orchestrator), [`services/geminiService.ts`](https://github.com/aashishtambe/founderaiwithgemini/blob/main/services/geminiService.ts) (Gemini operations), [`components/NegotiationChat.tsx`](https://github.com/aashishtambe/founderaiwithgemini/blob/main/components/NegotiationChat.tsx) (Term negotiation), [`components/ui/Card.tsx`](https://github.com/aashishtambe/founderaiwithgemini/blob/main/components/ui/Card.tsx) (Card component)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_flow["Investment workflow"]
  node_app["Workflow orchestrator<br/>[App.tsx]"]
  node_submission["Pitch submission<br/>[SubmissionForm.tsx]"]
  node_analysis["Pitch analysis"]
  node_diligence["Due diligence"]
  node_committee["Committee debate<br/>[CommitteeRoom.tsx]"]
  node_negotiation["Term negotiation"]
  node_terms["Term sheet<br/>[FullTermSheet.tsx]"]
  node_dealmodal["Deal outcome"]
  node_simulation["Board simulation<br/>[BoardSimulator.tsx]"]
end

subgraph group_ai["AI services"]
  node_gemini["Gemini operations<br/>[geminiService.ts]"]
  node_geminisvc{{"Google Gemini"}}
end

subgraph group_views["Platform views"]
  node_portfolio["Portfolio<br/>[Portfolio.tsx]"]
  node_investors["Investor network<br/>[Investors.tsx]"]
  node_termview["Term sheet display<br/>[FullTermSheet.tsx]"]
end

subgraph group_shell["Application shell"]
  node_layout["App layout<br/>[AppLayout.tsx]"]
  node_sidebar["Navigation sidebar<br/>[Sidebar.tsx]"]
  node_card["Card component<br/>[Card.tsx]"]
  node_header["Page header<br/>[PageHeader.tsx]"]
  node_types["Domain types<br/>[types.ts]"]
end

node_founder(("Founder"))

node_founder -->|"provides materials"| node_submission
node_submission -.->|"submits materials"| node_app
node_app -->|"requests analysis"| node_gemini
node_gemini -->|"calls model"| node_geminisvc
node_gemini -.->|"returns analysis"| node_app
node_app -->|"shows results"| node_analysis
node_app -->|"shows claims"| node_diligence
node_app -->|"requests verification"| node_gemini
node_app -->|"opens deliberation"| node_committee
node_committee -->|"requests debate"| node_gemini
node_app -->|"opens negotiation"| node_negotiation
node_negotiation -->|"requests negotiation"| node_gemini
node_negotiation -->|"generates terms"| node_gemini
node_negotiation -->|"produces term sheet"| node_terms
node_negotiation -->|"shows deal outcome"| node_dealmodal
node_app -->|"opens simulation"| node_simulation
node_simulation -->|"requests scenarios"| node_gemini
node_app -->|"renders portfolio"| node_portfolio
node_app -->|"renders investors"| node_investors
node_app -->|"wraps content"| node_layout
node_layout -->|"renders navigation"| node_sidebar
node_analysis -->|"renders with"| node_card
node_submission -->|"renders with"| node_card
node_committee -->|"renders with"| node_card
node_negotiation -->|"renders with"| node_card
node_terms -.->|"displays terms"| node_termview
node_app -->|"renders header"| node_header

click node_app "https://github.com/aashishtambe/founderaiwithgemini/blob/main/App.tsx"
click node_submission "https://github.com/aashishtambe/founderaiwithgemini/blob/main/components/SubmissionForm.tsx"
click node_analysis "https://github.com/aashishtambe/founderaiwithgemini/blob/main/components/AnalysisDashboard.tsx"
click node_diligence "https://github.com/aashishtambe/founderaiwithgemini/blob/main/components/DueDiligenceView.tsx"
click node_committee "https://github.com/aashishtambe/founderaiwithgemini/blob/main/components/CommitteeRoom.tsx"
click node_negotiation "https://github.com/aashishtambe/founderaiwithgemini/blob/main/components/NegotiationChat.tsx"
click node_terms "https://github.com/aashishtambe/founderaiwithgemini/blob/main/components/FullTermSheet.tsx"
click node_dealmodal "https://github.com/aashishtambe/founderaiwithgemini/blob/main/components/DealSuccessModal.tsx"
click node_simulation "https://github.com/aashishtambe/founderaiwithgemini/blob/main/components/BoardSimulator.tsx"
click node_gemini "https://github.com/aashishtambe/founderaiwithgemini/blob/main/services/geminiService.ts"
click node_portfolio "https://github.com/aashishtambe/founderaiwithgemini/blob/main/components/Portfolio.tsx"
click node_investors "https://github.com/aashishtambe/founderaiwithgemini/blob/main/components/Investors.tsx"
click node_termview "https://github.com/aashishtambe/founderaiwithgemini/blob/main/components/FullTermSheet.tsx"
click node_layout "https://github.com/aashishtambe/founderaiwithgemini/blob/main/components/layout/AppLayout.tsx"
click node_sidebar "https://github.com/aashishtambe/founderaiwithgemini/blob/main/components/layout/Sidebar.tsx"
click node_card "https://github.com/aashishtambe/founderaiwithgemini/blob/main/components/ui/Card.tsx"
click node_header "https://github.com/aashishtambe/founderaiwithgemini/blob/main/components/ui/PageHeader.tsx"
click node_types "https://github.com/aashishtambe/founderaiwithgemini/blob/main/types.ts"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_app,node_submission,node_analysis,node_diligence,node_committee,node_negotiation,node_terms,node_dealmodal,node_simulation toneBlue
class node_gemini,node_geminisvc toneAmber
class node_portfolio,node_investors,node_termview toneMint
class node_layout,node_sidebar,node_card,node_header,node_types toneRose
class node_founder toneIndigo
```

## Components

### Investment workflow

- [Workflow orchestrator](https://github.com/aashishtambe/founderaiwithgemini/blob/main/App.tsx): `App.tsx`
- [Pitch submission](https://github.com/aashishtambe/founderaiwithgemini/blob/main/components/SubmissionForm.tsx): `components/SubmissionForm.tsx`
- [Pitch analysis](https://github.com/aashishtambe/founderaiwithgemini/blob/main/components/AnalysisDashboard.tsx): `components/AnalysisDashboard.tsx`
- [Due diligence](https://github.com/aashishtambe/founderaiwithgemini/blob/main/components/DueDiligenceView.tsx): `components/DueDiligenceView.tsx`
- [Committee debate](https://github.com/aashishtambe/founderaiwithgemini/blob/main/components/CommitteeRoom.tsx): `components/CommitteeRoom.tsx`
- [Term negotiation](https://github.com/aashishtambe/founderaiwithgemini/blob/main/components/NegotiationChat.tsx): `components/NegotiationChat.tsx`
- [Term sheet](https://github.com/aashishtambe/founderaiwithgemini/blob/main/components/FullTermSheet.tsx): `components/FullTermSheet.tsx`
- [Deal outcome](https://github.com/aashishtambe/founderaiwithgemini/blob/main/components/DealSuccessModal.tsx): `components/DealSuccessModal.tsx`
- [Board simulation](https://github.com/aashishtambe/founderaiwithgemini/blob/main/components/BoardSimulator.tsx): `components/BoardSimulator.tsx`

### AI services

- [Gemini operations](https://github.com/aashishtambe/founderaiwithgemini/blob/main/services/geminiService.ts): `services/geminiService.ts`
- **Google Gemini**

### Platform views

- [Portfolio](https://github.com/aashishtambe/founderaiwithgemini/blob/main/components/Portfolio.tsx): `components/Portfolio.tsx`
- [Investor network](https://github.com/aashishtambe/founderaiwithgemini/blob/main/components/Investors.tsx): `components/Investors.tsx`
- [Term sheet display](https://github.com/aashishtambe/founderaiwithgemini/blob/main/components/FullTermSheet.tsx): `components/FullTermSheet.tsx`

### Application shell

- [App layout](https://github.com/aashishtambe/founderaiwithgemini/blob/main/components/layout/AppLayout.tsx): `components/layout/AppLayout.tsx`
- [Navigation sidebar](https://github.com/aashishtambe/founderaiwithgemini/blob/main/components/layout/Sidebar.tsx): `components/layout/Sidebar.tsx`
- [Card component](https://github.com/aashishtambe/founderaiwithgemini/blob/main/components/ui/Card.tsx): `components/ui/Card.tsx`
- [Page header](https://github.com/aashishtambe/founderaiwithgemini/blob/main/components/ui/PageHeader.tsx): `components/ui/PageHeader.tsx`
- [Domain types](https://github.com/aashishtambe/founderaiwithgemini/blob/main/types.ts): `types.ts`

### Other components

- **Founder**

## Connections

- Founder → Pitch submission: provides materials (evidence: `README.md`)
- Pitch submission → Workflow orchestrator: submits materials (evidence: `App.tsx`)
- Workflow orchestrator → Gemini operations: requests analysis (evidence: `App.tsx`)
- Gemini operations → Google Gemini: calls model (evidence: `services/geminiService.ts`)
- Gemini operations → Workflow orchestrator: returns analysis (evidence: `App.tsx`)
- Workflow orchestrator → Pitch analysis: shows results (evidence: `README.md`)
- Workflow orchestrator → Due diligence: shows claims (evidence: `README.md`)
- Workflow orchestrator → Gemini operations: requests verification (evidence: `App.tsx`)
- Workflow orchestrator → Committee debate: opens deliberation (evidence: `README.md`)
- Committee debate → Gemini operations: requests debate (evidence: `components/CommitteeRoom.tsx`)
- Workflow orchestrator → Term negotiation: opens negotiation (evidence: `README.md`)
- Term negotiation → Gemini operations: requests negotiation (evidence: `components/NegotiationChat.tsx`)
- Term negotiation → Gemini operations: generates terms (evidence: `components/NegotiationChat.tsx`)
- Term negotiation → Term sheet: produces term sheet (evidence: `components/NegotiationChat.tsx`)
- Term negotiation → Deal outcome: shows deal outcome (evidence: `components/NegotiationChat.tsx`)
- Workflow orchestrator → Board simulation: opens simulation (evidence: `README.md`)
- Board simulation → Gemini operations: requests scenarios (evidence: `README.md`)
- Workflow orchestrator → Portfolio: renders portfolio (evidence: `App.tsx`)
- Workflow orchestrator → Investor network: renders investors (evidence: `App.tsx`)
- Workflow orchestrator → App layout: wraps content (evidence: `App.tsx`)
- App layout → Navigation sidebar: renders navigation (evidence: `components/layout/AppLayout.tsx`)
- Pitch analysis → Card component: renders with (evidence: `components/AnalysisDashboard.tsx`)
- Pitch submission → Card component: renders with (evidence: `components/SubmissionForm.tsx`)
- Committee debate → Card component: renders with (evidence: `components/CommitteeRoom.tsx`)
- Term negotiation → Card component: renders with (evidence: `components/NegotiationChat.tsx`)
- Term sheet → Term sheet display: displays terms (evidence: `components/FullTermSheet.tsx`)
- Workflow orchestrator → Page header: renders header (evidence: `App.tsx`)
