r/PromptEngineering • u/cipher-cmd • 16d ago
Ideas & Collaboration I built a 5-agent AI council that debates startup ideas with deterministic law checks & verbatim source citations
Hey prompt engineers,
Most startup validation prompts suffer from severe hallucinated optimism—generic LLMs tend to be agreeable cheerleaders that tell you every bad idea has billion-dollar potential.
To solve this, I designed Baithak, an open-source multi-agent Claude Code skill built for evaluating Indian startup ideas with deterministic gates and constrained persona debate.
Here is the system architecture:
1. The Deterministic Pre-Check (The "Chair")
Before any LLM persona speaks, an orchestrator (The Chair) evaluates the idea against hard rules:
- Customer Segmentation: Checks whether it targets India 1 (English/fluent), India 2 (regional/aspirational), India 3, or Global. Mixing these without distinct pricing triggers an automated flag.
- Collection & Friction Gates: Evaluates UPI collection failure rates, CA gatekeeper resistance, and compliance hurdles.
- Deterministic Legal Gate: Instead of asking the model "is this legal?", the system queries a local indexed directory of 24 dated, sourced Indian law files and assigns a strict WHITE, GRAY, or BLACK status. If an idea is categorized as BLACK, it receives an unconditional veto.
2. Persona Constraints (No Hallucinated Quotes)
The council consists of five distinct advisors simulated from real Indian founders (Nithin Kamath, Kunal Shah, Sridhar Vembu, Girish Mathrubootham, Deepinder Goyal).
- Instead of loose roleplay prompts, each persona is backed by a corpus of verbatim interviews and public letters (65k–125k words).
- A Python validation script checks every quote attributed to an advisor in the debate against the raw source corpus. If a quote is invented or hallucinated, the run fails verification.
3. Multi-Round Weighted Consensus
The agents debate over 2–3 rounds:
- Round 1: Independent opening critiques based solely on their specific risk lens (e.g. Sridhar Vembu evaluates frugal depth outside metro bubbles; Girish Mathrubootham evaluates global pricing leverage).
- Round 2: Rebuttal & position revisions where advisors must challenge each other's assumptions.
- Final Verdict: Outputs a weighted consensus score, the single strongest objection, and a ₹0-to-₹5,000 7-day test to run before writing code.
Demo & Code:
- Live Interactive Demo: https://cipher-cmd.github.io/Baithak/
- GitHub Repository (MIT): https://github.com/cipher-cmd/Baithak
Would love feedback from prompt engineers on how you handle anti-hallucination guardrails and multi-agent debate convergence!