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.
- 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
# 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/seedbun 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