AI Trust & Compliance Checker for High-Stakes GenAI Outputs
A unique AI trust layer for enterprises that checks GenAI outputs for hallucinations and compliance risk, producing clear risk reports for banks, law firms, and large corporates.
Generative AI is transforming enterprises, but outputs from ChatGPT, Claude, and other LLMs can:
- Hallucinate facts, laws, or regulations that don't exist
- Misstate financial figures, contract terms, or compliance requirements
- Create liability when acted upon in legal, financial, or regulatory contexts
- Lack auditability for compliance and NDA requirements
The risk is massive: A single hallucinated legal clause or fabricated regulation could cost millions in fines, lawsuits, or regulatory penalties.
VibeTrust acts as a trust layer between AI outputs and human decision-makers:
- Multi-Model Consensus Simulation - Simulates 3 independent AI expert reviewers to cross-check claims
- Risk Scoring - Provides a 0-100 trust score with High/Medium/Low labels
- Hallucination Detection - Identifies specific statements that may be fabricated or uncertain
- Compliance Reports - Generates audit-ready documentation for legal and compliance teams
- Actionable Guidance - Tells humans exactly what to verify before acting
- โ Domain-Aware Analysis - Legal, Financial, and Compliance contexts
- โ Trust Score Dashboard - Visual KPIs for risk management
- โ Highlighted Risk Snippets - Pinpoints exactly what's problematic
- โ Audit Trail Ready - Copy-able reports for NDA/audit files
- โ Voice Mode UI - Simulated voice audit interface (future-ready)
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Frontend (React + TypeScript) โ
โ โโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ Input Panel โ โ Results View โ โ Dashboard & History โ โ
โ โโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ HTTP/JSON
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Backend (Python + FastAPI) โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ POST /analyze โ โ
โ โ - Constructs multi-model consensus prompt โ โ
โ โ - Calls OpenAI API โ โ
โ โ - Parses structured JSON response โ โ
โ โ - Returns trust score, issues, compliance report โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโ โ
โ โ GET /stats โ โ GET /history โ (In-memory storage) โ
โ โโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ OpenAI API (GPT-4o) โ
โ Multi-model consensus simulation via prompting โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
- Python 3.9+ (for backend)
- Node.js 18+ (for frontend)
- OpenAI API Key with GPT-4o access
# Navigate to project
cd VibeTrustAI
# Backend setup
cd backend
python -m venv venv
# Windows
venv\Scripts\activate
# macOS/Linux
source venv/bin/activate
pip install -r requirements.txt# Windows PowerShell
$env:OPENAI_API_KEY = "sk-your-key-here"
# Windows CMD
set OPENAI_API_KEY=sk-your-key-here
# macOS/Linux
export OPENAI_API_KEY=sk-your-key-herecd backend
python main.py
# or
uvicorn main:app --reload --port 8000Backend runs at: http://localhost:8000
cd frontend
npm install
npm run devFrontend runs at: http://localhost:5173
Navigate to http://localhost:5173 in your browser.
Use this script when presenting to hackathon judges:
"Enterprises are adopting GenAI, but AI hallucinations in legal, financial, and compliance contexts can cost millions. VibeTrust AI Guardian is an enterprise trust layer that validates AI outputs before they reach decision-makers."
-
Show the Dashboard
"Here's our Risk Dashboard showing checks run today, high-risk detection rate, and estimated fines avoided."
-
Paste Sample Content (use example below)
"Let me paste an AI-generated legal summary. This could be from ChatGPT, Claude, or any LLM."
-
Select Context Type
"I'll select 'Legal / Contract Review' since this is a contract summary."
-
Run Trust Check
"Now I click 'Run Trust Check'. VibeTrust simulates three independent AI reviewers checking for consensus."
-
Show Results
"We get a Trust Score of [X]. Look at the flagged risks - VibeTrust identified [specific issue] as potentially hallucinated. The compliance report is ready for legal review."
-
Copy Report
"One click copies the full audit report for compliance files or NDA documentation."
-
Toggle Voice Mode
"We also support voice audit mode - ready for hands-free compliance verification."
"VibeTrust brings enterprise-grade trust to GenAI. Banks, law firms, and corporates can now validate AI outputs before acting on them. Questions?"
The contract is governed by Article 17.3 of the International Commercial Arbitration Act 2019, which mandates 90-day dispute resolution windows. Under Section 234(b) of the Uniform Commercial Code, the seller must provide warranty coverage for 24 months. Force majeure clauses are automatically voided if the disruption lasts less than 14 days per the Geneva Convention on Commercial Contracts.
Based on our analysis, the company's P/E ratio of 45.2 is justified by the Smith-Warren valuation model, which projects 340% revenue growth. The Federal Reserve's Rule 15c3-1 requires minimum capital reserves of $2.5M for firms this size. Historical data shows similar companies achieved ROI of 127% within 18 months.
Your data handling practices comply with GDPR Article 42.7 regarding automated decision-making. The new CCPA amendments effective March 2024 allow 60-day response windows for consumer requests. Your privacy policy meets ISO 27001-2023 requirements for healthcare data under the updated HIPAA guidelines.
Analyze AI-generated content for trust and compliance risks.
Request:
{
"answerText": "AI-generated content to analyze...",
"contextType": "legal|finance|compliance",
"voiceMode": false
}Response:
{
"score": 65,
"label": "Medium",
"issues": [
{
"snippet": "Article 17.3 of the International Commercial Arbitration Act 2019",
"riskType": "hallucination",
"explanation": "This specific article and act could not be verified and may be fabricated.",
"humanCheckHint": "Verify the exact legislation name and article number with legal counsel."
}
],
"complianceReport": "The AI-generated content contains several legal references that require verification...",
"ndaauditNote": "Content reviewed by VibeTrust AI Guardian on [date]. Flagged 2 potential issues...",
"voiceSummary": "This legal content has medium trust with two flagged issues...",
"timestamp": "2024-01-15T10:30:00.000Z"
}Get dashboard statistics.
Get recent analysis history.
VibeTrustAI/
โโโ backend/
โ โโโ main.py # FastAPI application
โ โโโ requirements.txt # Python dependencies
โ โโโ .env.example # Environment template
โโโ frontend/
โ โโโ src/
โ โ โโโ App.tsx # Main React component
โ โ โโโ api.ts # API client
โ โ โโโ types.ts # TypeScript types
โ โ โโโ index.css # Styles
โ โ โโโ main.tsx # Entry point
โ โโโ index.html
โ โโโ package.json
โ โโโ tsconfig.json
โ โโโ vite.config.ts
โโโ README.md
- Backend: Python 3.9+, FastAPI, OpenAI SDK, Pydantic
- Frontend: React 18, TypeScript, Vite, Lucide Icons
- AI: OpenAI GPT-4o with custom multi-model consensus prompting
- Storage: In-memory (prototype scope)
- Real multi-model calls (Claude, Llama, Gemini)
- Persistent database (PostgreSQL)
- User authentication & teams
- Webhook integrations (Slack, Teams)
- Real voice input/output
- Document upload (PDF, DOCX)
- Custom compliance rule sets
- Enterprise SSO
MIT License - Built for hackathon demonstration purposes.
VibeTrust AI Guardian - Bringing enterprise trust to the AI era.
Built with โค๏ธ for the hackathon