A multi-agent decision-support service for venture capital investment analysis. This system evaluates startups across multiple dimensions—market opportunity, financial health, founder quality, and probabilistic business survival—to provide a comprehensive investment recommendation.
Note: This is a decision-support tool. It informs, but never replaces, human investment judgment.
The backend is composed of four distinct AI/analytical agents, each exposed as a FastAPI microservice. A demo pipeline script aggregates their outputs to formulate a final investment decision.
- Agent 1: Market Intelligence (Port 8002)
- Agent 2: Financial Health (Port 8003)
- Agent 3: Founder Scoring (Port 8000)
- Agent 4: Monte Carlo Simulation (Port 8001)
- Python 3.10 or newer
- Open a terminal in the project folder.
- Install the required dependencies:
pip install -r requirements.txt
-
Start the Agent Servers: In the terminal, run the following command and leave the window open until you see "ALL AGENTS RUNNING!":
python run_all.py
(This script starts all four FastAPI agents in the background.)
-
Run the Analysis Pipeline: Open a second terminal in the same folder and execute the demo pipeline to see the full analysis:
python demo_pipeline.py
-
To Stop: Go back to the first terminal and press
CTRL+C.
Endpoint: POST /market-score (Port 8002)
Scores a startup's market opportunity based on four key dimensions:
- Market Size
- Traction
- Competition
- Timing
Key Features:
- Uses a curated mock knowledge base of realistic industry profiles (TAM, growth, maturity, competitors). In production, this would integrate with Crunchbase, PitchBook, Gartner, etc.
- Returns an evidence-backed market report including green flags, red flags, market growth rate, and competition intensity (which feeds directly into Agent 4).
Endpoints: POST /financial-score (JSON) | POST /financial-score/csv (CSV upload) (Port 8003)
Evaluates the startup's financial viability and unit economics.
- Metrics Analyzed: Monthly Burn Rate, Runway (in months), Unit Economics (LTV/CAC ratio), and Revenue Growth.
- Key Features:
- Extracts actionable red/green flags based on thresholds (e.g., LTV > 3x CAC, declining revenue, less than 12 months runway).
- Prepares a clean data payload (
agent4_payload) to seamlessly feed into the Monte Carlo simulation.
Endpoint: POST /founder-score (Port 8000)
Evaluates founder quality and returns a comprehensive Founder Success Score (0-100).
- Evaluation Criteria:
- Psychometric Assessment (SFSS): Evaluates 6 dimensions (Resilience, Opportunism, Curiosity, Courage, Innovation, Leadership) using rule-based evidence scoring.
- Track Record (Founder Level): Classifies founders from L1 (First-Time) to L10 (Proven Builder) based on exits, experience, and scale.
- Persona Classification: Uses nearest-prototype cosine similarity matching (e.g., "Serial Entrepreneur", "Tech Executive", "Product Visionary").
- Statistical Prediction: Utilizes a Random Forest / XGBoost model trained on a synthetic VCBench dataset to predict success probabilities based on education, experience, funding history, GitHub activity, patents, etc.
Endpoint: POST /simulate-business (Port 8001)
Simulates the startup's financial future under uncertainty by combining outputs from Agents 1, 2, and 3.
- Key Features:
- Runs 10,000 month-by-month scenarios simultaneously using heavily optimized vectorization (NumPy).
- Outputs Include:
- Survival probabilities at 12, 24, and 36 months.
- Failure-mode breakdown (e.g., "Burn rate too high", "Customer churn too high").
- Cash-crunch timing distributions.
- Key drivers of success/failure via Spearman correlations.
- Stress tests (best case, worst case, realistic case).
- Founder impact metrics (score differences between succeeding and failing scenarios).
- Actionable recommendations, including counterfactual scenarios (e.g., "Reducing burn by 15% improves Year-1 survival...").
The pipeline script acts as the orchestrator/client for the system. It simulates a VC analyst requesting an end-to-end report on a mock startup ("Clarify Health").
Workflow:
- Verifies that all 4 agent servers are healthy and reachable.
- Calls Agent 1 for the Market Score.
- Calls Agent 2 for the Financial Score.
- Calls Agent 3 for the Founder Score.
- Aggregates data from Agents 1-3 and submits it to Agent 4 for Monte Carlo simulation.
- Computes a Weighted Composite Score (30% Market, 40% Financial, 30% Founder).
- Outputs a beautiful CLI report including scores, red/green flags, probability metrics, and a Final Investment Decision (e.g., STRONG INVEST, CONSIDER, INVESTIGATE FURTHER, PASS).