Skip to content
sami-m-gPublic

About

An AI-powered contract advisor that watches your signed contracts and tells you what needs attention, why it matters, and what to do next.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Legit — Contract Advisor Platform

CI Next.js React TypeScript Tailwind CSS shadcn/ui Bun CopilotKit Mastra Biome Vercel PostgreSQL Ollama License

An AI-powered contract advisor that watches your signed contracts and tells you what needs attention, why it matters, and what to do next.

See docs/problem_statement.md for the full assignment brief and docs/product_document.md for the product design rationale.

Three AI Surfaces

  • Briefing — AI narrative memo synthesizing what's urgent across your portfolio
  • Action Feed — Contracts sorted by urgency with inline actions (flag, review, draft response)
  • Advisor — Conversational agent for ad-hoc portfolio queries via CopilotKit sidebar

Quick Start

# Install dependencies
bun install

# Set up environment (see .env.example)
cp .env.example .env.local

# Run dev server
bun dev

# Seed sample contracts (hit this once after DB is set up)
curl -X POST http://localhost:3000/api/seed

Scripts

bun dev          # Dev server (port 3000)
bun dev:agent    # Mastra agent dev server (port 4111)
bun check        # Lint + format + type check
bun test         # Run tests
bun build        # Production build

About

An AI-powered contract advisor that watches your signed contracts and tells you what needs attention, why it matters, and what to do next.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages