— AI STACK RECOMMENDATION
AI Contract Analysis & Risk Detection Platform
End-to-end contract review system combining document parsing, LLM analysis, and risk flagging for legal teams. Scales from startup to enterprise with modular architecture.
Stays alive for 365 days after the last visit.
Legal & HRAI Contract Analysis & Risk Detection Platform
End-to-end contract review system combining document parsing, LLM analysis, and risk flagging for legal teams. Scales from startup to enterprise with modular architecture.
Core Stack ℹ︎
Complete the Stack ℹ︎
Getting started
- 1Set up AWS Textract to extract text and tables from uploaded PDFs into structured JSON.
- 2Use Claude Opus to analyze extracted text for risk clauses, liability limits, payment terms, and legal red flags via prompt engineering.
- 3Generate embeddings for each contract and store in Chroma for semantic search across your contract library.
- 4Build a Dify workflow that chains document parsing → Claude analysis → risk scoring → database storage.
- 5Integrate Braintrust to evaluate Claude's risk detection accuracy against known contract patterns.
- 6Deploy with PostgreSQL + pgvector for production scalability, audit trails, and historical contract comparison.
- 7Expose via REST API for legal team dashboard integration.
Copy link to clipboard
What are you building?
Build your own AI stack →