OutRiskAI Documentation
Build, analyze, and manage intelligent contract risk workflows with OutRiskAI.
OutRiskAI is an AI-powered contract risk assessment platform designed for Micro, Small, and Medium Enterprises (MSMEs), legal departments, procurement teams, and consultants. It transforms contract processing into structured, automated legal risk analysis and actionable recommendations.
Welcome to OutRiskAI! Explore our core platform features, developer APIs, architectural blueprints, or jump straight into the Quick Start Guide.
Platform Overview
OutRiskAI operates around a clean separation of legal review concerns:
- Contracts: The central document assets being ingested, parsed, and analyzed.
- Risk Analysis Engine: AI models powered by Gemini 2.5-flash that detect legal, financial, operational, and compliance liabilities.
- Risk AI Assistant: Contextual chat that answers specific clause queries, generates fallback terms, and drafts negotiation talking points.
- Lawyer Network: Direct bridge to verified legal professionals for human consultation on high-severity contracts.
- Public REST API: Programmatic endpoints enabling CRMs, procurement tools, and internal scripts to automate contract processing.
Quick Navigation
Introduction
Understand how OutRiskAI solves contract review challenges for MSMEs.
Quick Start
Analyze your first contract and review risk recommendations in under 5 minutes.
Contract Upload
Explore web uploads, batch processing, document URL registrations, and API uploads.
Risk Analysis Engine
Learn about severity classifications (High, Medium, Low) and scoring algorithms.
API Documentation
Connect your software via our versioned Public REST API and OpenAPI reference.
Architecture
Inspect the technical architecture, Next.js 16 setup, PostgreSQL pgvector, and security.
Core Workflow
- Upload or Register Document: Submit contracts via Web UI drag-and-drop, public HTTPS URL, or REST API.
- Automated AI Analysis: The background engine parses document clauses and identifies potential liabilities.
- Review Risk Dashboard: Inspect severity breakdown, category breakdown (Financial, Legal, Operational, Compliance), and overall risk score.
- Chat with Contract: Interact with Risk AI Assistant to clarify terms or draft alternative clause revisions.
- Engage Legal Expert: Schedule optional consultation with verified lawyers for critical negotiations.
- Automate via API: Retain API keys, poll job statuses, and sync structured risk JSON into your internal CRM or pipeline.
Technology Stack
| Layer | Technologies |
|---|---|
| Frontend | Next.js 16 (App Router), React 19, Tailwind CSS, Framer Motion, Fumadocs |
| Backend API | Next.js API Routes, FastAPI (Contracts Microservice) |
| Database | PostgreSQL 15+ with pgvector extension & Prisma ORM |
| AI / ML | Gemini 2.5-flash, Custom NLP clause extractors |
| Auth & Security | NextAuth.js v5 (OAuth 2.0 & Credentials), AES-256 Encryption at Rest |