ComingUp ComingUp
L

LexMusic

A contract generator and analyst for the music industry with worldwide coverage

Jul 14, 2026 Other

About

LexMusic🎯 ConceptLexMusic is a web platform (React artifact in Claude.ai) that serves as an AI lawyer specialized in music contract law. It features two main functions:Analyze a contract β€” Upload or paste an existing music contract, and the AI detects legal loopholes, abusive clauses, missing rights, relevant organizations (SACEM, SPEDIDAM, BMDA, SUISA, SABAM...), and available subsidies.Create a contract β€” A 3-step form (general info β†’ parties β†’ collaborators/publishers) that generates a complete professional contract, tailored to the chosen country.Legal coverage: France, Belgium, Switzerland, Morocco, Canada, Senegal, Ivory Coast, United States, United Kingdom, International (Berne Convention, TRIPS, CISAC).πŸ—οΈ Current Technical ArchitecturePlatform: React Artifact (application/vnd.ant.react) in Claude.ai β€” a single file, with no real backend.Stack:React with hooks (useState, useEffect)No external routing β€” navigation is managed by page state in the root componentDirect API calls to [https://api.anthropic.com/v1/messages](https://api.anthropic.com/v1/messages) on the client side ("Claude in Claude" pattern)Models used: claude-sonnet-4-20250514 for analysis (requiring legal precision), claude-haiku-4-5-20251001 for generation (for speed)Pages/Views:landing β€” Marketing homepage (hero, features, stats, "how it works", testimonials, CTA, footer)login / signup β€” Simulated authentication (no real backend, just local state)pricing β€” 3 plans: Basic (free), Pro (€19/month), Prestige (€49/month)checkout β€” Simulated payment (card/PayPal/Apple Pay) with functional forms but fictitious processingcontact β€” Simulated contact formapp (MainApp) β€” Contains 3 sub-views: home, analyze, generate🎨 Current Design SystemTheme: Premium dark mode, "luxury lawyer" paletteBackground: #080809 (almost black)Gold accent: #c8a44a / #ddb85eGreen (success): #3b9458Red (danger): #c44545Amber (warning): #c47e30Typography:Titles/Numbers: Cormorant Garamond (elegant serif, via Google Fonts)Body text: InterAnimations (CSS keyframes):fadeUp, fadeIn, scaleIn, slideRight β€” Staggered appearancesfloatBg, floatBg2 β€” Floating light halos in the background (gold + green)drawLine β€” The SVG logo draws itself upon loadingglow β€” Golden pulsation on the main CTAshimmerText β€” A shimmer effect shining across the hero titlenoteFloat1/2/3 β€” Decorative floating musical notes (β™ͺ♫♩♬) on the hero sectioncheckPop β€” Elastic bounce on confirmation checkmarksshake β€” Shaking effect on error messagesgridOverlay β€” Subtle background grid ("blueprint" effect)Reusable components: Btn, Card, Field, Tag, Loader (double rotating ring), ErrMsg, PBar (progress bar), StepNav (stepper with checkmarks), AnimatedBg, FloatingNotes, LogoMark.πŸ› Bugs Resolved During Development (for reference)Truncated JSON β€” max_tokens was too low (1000), cutting the response in the middle β†’ Increased to 4000 (analysis) / 2000-2500 (generation).Upload button not working on mobile β€” onClick on a div does not trigger the file input on iOS/Android β†’ Replaced with a true native HTML <label htmlFor>."JSON not found" β€” The model was wrapping its response in json ... despite instructions β†’ Added aggressive regex cleanup (.replace(/^```(?:json)?\s*/i,"").replace(/\s*```\s*$/,"")) + reinforced the prompt ("start directly with {").React syntax error β€” Typo margin:"0 0:16px" (colon instead of space) β†’ Broke the entire artifact rendering, corrected to "0 0 16px".Rate limit 429 β€” Temporary Anthropic limit, not a code bug; resolves itself by waiting a few hours.

Comments (6)

Elmore Kihn Elmore Kihn 2 months ago

pricing needs to undercut lawyers massively or musicians won't bite

Myra Rau Myra Rau 2 months ago

music vertical gives real moat vs horizontal legaltech competitors

Stone Aufderhar Stone Aufderhar 2 months ago

worldwide coverage on a react artifact? hallucinating international copyright law sounds like a fun lawsuit.

Giovanna Ebert Giovanna Ebert 2 months ago

how does pricing work compared to hiring an actual entertainment lawyer

Stephon Kovacek Stephon Kovacek 2 months ago

what model handles the multi-jurisdiction contract analysis?

Theo Mohr Theo Mohr 2 months ago

couldve used this before signing that nightmare distribution deal last year