Architecture & Pipeline

VERDICT is not a simple prompt wrapper. It is a multi-stage data extraction and reasoning pipeline designed to simulate a consultant's due diligence process in 60 seconds.

1. Headless Extraction (Firecrawl)

When you submit a URL, standard scraping tools often fail. Modern SaaS landing pages are heavily client-side rendered (React, Vue, Next.js) and protected by Cloudflare or Datadome.

VERDICT utilizes a headless browser infrastructure via Firecrawl to:

  • Bypass basic bot protection.
  • Fully execute client-side JavaScript.
  • Wait for the DOM to settle and render dynamic elements.
  • Strip out styling/HTML and extract the pure Markdown context of the page.

2. Context Normalization

Before the deep audit begins, VERDICT runs a preliminary normalization pass using glm 5.2 to establish the ground truth. This phase strips away marketing jargon, parsing the raw HTML structure to identify the true core value proposition (what the product actually does versus what the founder claims it does).

  1. Validation: We verify the URL actually belongs to a SaaS, B2B, or B2C startup. If you submit a personal blog, a GitHub repo, or an agency, the engine rejects it.
  2. De-fluffing: We extract the actual company name, identify the real target audience, and generate an "Inferred Description" that strips away your marketing buzzwords and states exactly what your product physically does.

3. The Grading Engine

Once the ground truth is established, the data is passed to our rigorous grading engine. The engine evaluates the startup against our proprietary 7-Pillar Framework.

To prevent LLM drift and hallucination, the engine is constrained by:

  • Aggressive System Prompts: Instructing the model to act as a cynical, pattern-matching investor.
  • Strict JSON Schemas: Forcing the output to conform to our exact scoring ranges (0-10, 0-20, 0-100) and structured feedback fields.

The result is saved to a PostgreSQL database (Supabase) and rendered instantly on the client.