From a lawyer-built prototype to a product other firms pay for
You built a legal tool with Claude, Lovable or Cursor. What breaks when other firms use it, what the bar rules require, what drives the cost, and the path.
A lawyer-built prototype has proved the method, the screens and the workflow. That is the part most legal software never gets right.
Five gaps break it at the second firm: unencrypted storage, no audit log, one permission level, document handling for ten clean PDFs, search that only works on test files.
The bar rules add six more: what the AI vendor keeps, Rule 5.3 review, Opinion 512, citations to the page, deadlines on real court rules, and returning one client's file.
Cost is driven by user roles, search, the data's compliance obligations, integrations and the model bill per run, not by the screens. Get a fixed price after a review.
Most first versions take six to ten weeks from a reviewed prototype. The screens usually carry over; the foundation under them is the build.
A lawyer who builds a legal tool with AI has done the hard part: the method works. What a weekend build leaves out is everything a second firm will ask about: logins with roles per matter, an audit log, encrypted documents, citations a lawyer can check, deadlines that follow real court rules, and a clean way to hand one client's file back. The screens usually carry over. The foundation under them is the build.
Rewritten 28 October 2026. First published March 2026 as a guide to vibecoded legal tools; this version is for the lawyer whose prototype other firms now want.
Lawyers are building their own software, and they are right to. A partner who spends a day a week on intake knows exactly what an intake tool should do, and can now describe it to Claude, Lovable or Cursor and see it working by Sunday. The best legal software ideas come from the people who do the work.
The trouble starts when the tool works well enough that someone else wants it. A colleague at another firm, a referral partner, a bar section that saw the demo. At that moment it stops being your tool and becomes a product, and products for lawyers get asked questions prototypes were never built to answer.
Three kinds of prototype
What breaks first depends on what you built.
Instructions
A Claude Project, skill or custom GPT
The method lives in the instructions, and the documents are pasted or uploaded per matter. Works beautifully for the author. Shared, it hands over the method; sold, it needs a server so customers see only the output.
method provencopyable
An app
Lovable, Bolt, Replit or a site builder
Real screens, a login, a database. Usually one permission level, files stored as-is, and AI calls straight from the browser or a shared key on the provider's default terms.
screens provenfoundation thin
A codebase
Cursor or Claude Code
The most complete of the three, and the hardest to judge from the outside. The review question is whether the data model separates clients and logs access, or only looks like it does.
closest to a productneeds a review
All three
What they share
The hard part is done: someone who does the work every day decided what the tool should do. That is the specification most legal software never gets.
the valuable part
already in the prototype
engineering the product needs
what a client or a bar asks for later
Where AI-built legal tools break
Five engineering gaps show up in almost every AI-built legal prototype. None of them is a bug you can fix with another prompt; they are decisions about the foundation that AI tools do not make for you.
Where it breaks
What the prototype does
What a product needs
Storage
Client names, case details and uploads in a database anyone with server access can read
Encryption at rest and in transit, documents in encrypted storage with access logged per file
Audit log
Cannot say who opened which file, when
Every read, change, download and permission change, timestamped and impossible to edit
Permissions
Logged in, or not
Roles per matter: a partner sees everything, an associate their cases, a client only their own matter, outside counsel only what was shared
Documents
Fine with ten clean PDFs
Hundreds at once, 50 MB contracts, scanned pages that need OCR, duplicate names
Search
Fast on 200 test files
Real search over tens of thousands of documents, with legal synonyms and misspellings handled
What the bar rules require of a tool you built
The engineering gaps are visible to a developer. These are not: the tool looks healthy while failing every one of them, and you find out when a regulator, opposing counsel, a departing client or a bar investigator asks a question the system cannot answer.
Privilege, and what the AI vendor keeps
ABA Formal Opinion 477R asks for reasonable efforts to keep client information from unauthorized people. For a tool that sends client content to an AI service, that means knowing whether the content is still on the provider's servers after the session ends, and whether it could be pulled into discovery later. Most prototypes call the model on the provider's default terms. The privilege tiers and the on-premise option go through the trade-offs.
Retention is the part you control The model has to read client content to answer, on every plan and every vendor. What you choose is whether the provider keeps it afterwards: a zero data retention agreement on the API, and a written record of which matter data went where. Nothing leaves the firm is only true when the whole system runs on hardware the firm owns.
Rule 5.3, and who answers for the output
A lawyer must take reasonable steps to make sure a non-lawyer assistant's work meets professional standards, and software doing legal work falls inside that rule. Review has to be part of how the tool works, so it still happens on the evening when everyone is in a hurry. A tool that lets a tired associate accept an output with one click, without seeing where it came from, has moved the responsibility somewhere it cannot be met.
Opinion 512, and telling clients you use AI
ABA Formal Opinion 512 covers competence, confidentiality, telling clients about AI use, and billing for it. The test for anything you built: can you explain to a client what the tool does with their information, and can you bill honestly for work a model finished in nine seconds. What 512 means for a firm's AI tools, and the Ontario version for Canadian practices.
Summaries that cannot show their work
A summary of a 200-page contract or a stack of medical records has to point at the passage and the page behind every claim. Without that, the lawyer rereads the source to check it, and the time saved is gone. It is the most common gap in chronology and summary tools, and it cannot be added later: if the citations were not captured while the document was processed, they do not exist.
Deadlines, and real court rules
A deadline feature built from memory of how the rules work will hurt a firm eventually. Filing windows by jurisdiction, court holidays, e-filing cutoffs in the right timezone, and proof the filing arrived all have to work together. A limitation date stored as a plain date field is a malpractice claim waiting for a time zone.
Getting one client's data back out
A tool built for one client's matters gets stretched to a second, and the separation ends up living in someone's head instead of the database. It holds until a client ends the engagement and asks for their complete file, and the tool cannot hand over that client's data and only theirs.
Nobody builds a demo around the day a client leaves and asks for their complete file. That is exactly why the gap survives into production.
What drives the cost
Screens are rarely what makes a legal product expensive. Five things are.
How many kinds of user
A lawyer and an admin is one product. Clients, brokers and admins each with their own portal and permissions is three. Every role adds screens, rules and tests.
Search over a real archive
Looking things up in a few hundred records is cheap. Searching tens of thousands of documents the way lawyers expect needs dedicated search infrastructure.
The data's obligations
Medical records in a PI or medico-legal tool bring HIPAA. Building encryption, logging and access control in from the start costs far less than retrofitting them.
What it connects to
Stripe, document storage, email, and above all Clio, MyCase or Filevine. Each integration is its own piece of work with its own failure modes.
The model bill per run
If AI does the work, a long method read on every run is real money per output. Work it out per customer before you set a price.
An agency that quotes before it has seen the prototype is guessing. Ask for a fixed price after a review, in writing, with the weeks and the milestones.
The screens are the cheap part to change. The data model under them is what decides whether a client's file can ever come back out cleanly.
The path from prototype to product
The shape we use for a first version. Most legal products land in six to ten weeks from a reviewed prototype; a large document archive or several portals add weeks.
Week 0
Review the prototype
Under NDA. What carries over, what gets rebuilt underneath, what each run costs, and a fixed price in writing.
Week 1
Lay the foundation
Data model with clients separated, roles, logging, encrypted storage, the AI called on terms you chose. Accounts in your name.
Weeks 2 to 7
Rebuild the features on it
Your screens and workflow, now on a foundation that holds. Milestones with criteria you can read without a developer.
Weeks 8 and 9
Check it against the rules
Access logs, a client file exported cleanly, citations traced to the page, deadlines tested against real court rules.
Week 10
Launch
The first paying firms, monitoring on, and a plan you can cancel for updates when the model or the rules change.
Before any of it
Keep using the prototype
It stays the reference. Every rule it gets right is one the product does not have to rediscover.
Your prototype is a Claude Project or a custom GPT?
We turn it into a product other lawyers log into and pay for. The method stays on the server, the accounts are yours. It starts with a free review under NDA.
Client names stay masked. A document search platform for a 17-person firm: 15 years of documents, results in under 100 milliseconds, live in ten weeks. A HIPAA case platform with client, broker and admin portals, an audit log and role-based access, live in eight weeks and through its audit. Both started from someone who knew the workflow cold, which is the same place your prototype starts.
Frequently asked questions
Can a lawyer build legal software with AI?
Yes, and the prototype is often the best specification a developer will ever get. A lawyer who builds the workflow in a Claude Project, a Lovable app or a Cursor repo has proved what the tool should do. What AI tools do not decide for you is the foundation: who can see which matter, what gets logged, how documents are stored and encrypted, and how one client's data comes back out.
Is a vibecoded legal app safe for client data?
Usually not as built. The common gaps are no encryption at rest, no audit log, a permission model with two settings (logged in or not), document handling that breaks on large or scanned files, and AI calls made on the provider's default data terms. None of these show up in a demo, and all of them matter the first time a client, a regulator or opposing counsel asks a question the tool was never built to answer.
What does it cost to turn a prototype into a product?
It depends on five things more than on the screens: how many kinds of users there are, whether there is real search across thousands of documents, the compliance obligations on the data, the systems it must connect to, and the model bill per run if AI does the work. Agencies that quote before they have seen the prototype are guessing. Ask for a fixed price after a review, and ask what the model will cost per customer before you set your own price.
How long does it take?
Most first versions of a legal product take six to ten weeks from a reviewed prototype: a review, a week of foundation work, the features rebuilt on it, compliance checks, then launch. Search across a large document archive, several portals with different permissions, or integrations with practice management systems add weeks.
Do I have to rebuild it from scratch?
Rarely all of it. The method, the screens and the workflow decisions usually carry over; they are the valuable part. What gets rebuilt is underneath: the data model, permissions, logging, storage and how the AI is called. Patching those onto a prototype tends to cost more than laying them first.
Can I sell my Claude Project or custom GPT as a product?
Not by sharing it: whoever gets a Project or a skill can read the instructions, and in a 2023 study researchers extracted the system prompt from 97.2% of custom GPTs tested. To sell the method it has to run on a server you control, with customers seeing only the output. We cover that build on the Claude Project to Product page.
Co-Founder and Technical Lead at Oktopeak. Builds regulated software for legal and healthcare teams, and leads the rescues of codebases other vendors left half-finished.
How a lawyer turns their own method into a Claude skill, where the free legal skill libraries stop, and why a skill you share is a skill anyone can copy.
Every privilege-safe AI option for a law firm collapses into three architectural tiers: self-hosted open-weight, a commercial frontier model under Zero Data Retention and a BAA, or a packaged legal AI product. A vendor-by-vendor comparison of training, retention, BAA, ownership, and real cost across Claude, OpenAI, Azure, Gemini, Harvey, CoCounsel, and Clio Duo.
Claude for Legal explained for lawyers: the 12 plugins, the connectors, what it costs on each Claude plan, Clio and MyCase, and what happens to client data.