Can I vibecode Harvey?

NOT REALLY · don't bother
price variesbuild time one sittingcategory ⚖️ legalreplaced by 0 people

You can absolutely build a local RAG assistant over your own PDFs in an afternoon, and for reading your lease or a vendor contract that is genuinely enough. Harvey is not sold on that loop. It is sold on trained-and-evaluated legal workflows, curated case law and regulatory sources under license, deployment that survives a law firm's security review, and the ability to put a name behind an output that a partner will bill against. The thing you cannot one-shot is the confidence to rely on the answer, which in legal work is the entire product. A personal replacement is fine for personal stakes and dangerous the moment money or a filing depends on it.

the prompt
Build a local document Q&A tool for my own contracts and PDFs. Python 3.11, single project, no web framework, no accounts, no telemetry.

Stack, no alternatives:
- CLI with Typer
- pypdf for text extraction, page numbers preserved
- SQLite with the sqlite-vec extension for vector storage
- OpenAI API for embeddings and answers, key from .env via python-dotenv, plus an --ollama flag that swaps to a local model at http://localhost:11434

Commands:
- ingest PATH: walk a folder, extract text per page, chunk to roughly 800 tokens with 100 overlap, store chunk text plus doc name plus page number, embed and index. Skip files already ingested unless --force.
- ask "QUESTION": retrieve top 12 chunks, then answer with an LLM that is instructed to answer only from the provided chunks and to say "not in these documents" when the answer is absent. Every claim must carry an inline citation like [contract.pdf p.4].
- sources "QUESTION": print the retrieved chunks verbatim with file and page, no LLM, so I can read the raw text.
- docs: list ingested files, page counts, chunk counts.

In scope: local-only storage in ./index.db, deterministic chunking, a --model flag, plain text output.
Out of scope: web UI, multi-user, cloud sync, any bundled case law or statute data, any attempt to cite external legal sources.

Print a one-line disclaimer after every answer: this is a reading aid over my own files, not legal advice, verify each citation.
Include a README with setup, .env.example, and a short section explaining that answers are only as good as the documents I ingested.

$ open in your agent (prompt prefilled, you press enter) or copy it raw · this prompt is generated from the build plan · improve it via PR

why people still pay

A law firm is not paying for text generation, it is paying for defensibility. The output has to be traceable to a licensed source, the deployment has to pass a security review that takes months, the workflows have to have been tested against how associates actually do diligence, and there has to be a vendor contract with indemnities when something goes wrong. Individual lawyers also cannot use a homemade tool on client matters without answering awkward questions about where the privileged data went. A local RAG box over your own files solves none of that and does not need to; it solves reading your own documents faster, which is a different and much smaller job.

what you lose

xLicensed primary law: case law, statutes, filings and regulatory corpora you cannot legally scrape together

xWorkflow products that have been evaluated by actual lawyers: diligence checklists, redline review, deposition prep

xFirm-grade deployment: SSO, data residency, retention controls, audit logs, security questionnaires answered

xAnyone to blame. Your hallucination is your malpractice exposure

xIntegration into the systems legal work actually lives in: DMS, iManage, Word, the review platform

prior art · use these instead of building, if you'd rather

Nothing worth pointing at. That's why the prompt exists.

share on X ↗"I just replaced Harvey with one prompt"
questions
Can I vibecode Harvey?

Not really. Harvey's value is not the code: The moat is licensed primary law plus an enterprise security posture that took years to clear, and a name a partner can put in a risk memo. See the honest breakdown above.

How much does Harvey cost?

Harvey's pricing is usage-based or varies by plan · No published price anywhere on the site; every pricing CTA routes to 'Request a Demo'. harvey.ai/pricing returns 404..

What do I lose by replacing Harvey?

Honestly: Licensed primary law: case law, statutes, filings and regulatory corpora you cannot legally scrape together; Workflow products that have been evaluated by actual lawyers: diligence checklists, redline review, deposition prep; Firm-grade deployment: SSO, data residency, retention controls, audit logs, security questionnaires answered; Anyone to blame. Your hallucination is your malpractice exposure; Integration into the systems legal work actually lives in: DMS, iManage, Word, the review platform. If any of those are load-bearing for you, keep paying.

Is there an open-source alternative to Harvey?

No mature open-source alternative worth pointing at, which is exactly why the one-shot prompt on this page exists.

Every week, more subscriptions die.

New verdicts, new prompts, the week's most-doomed apps.
One email. Unsubscribe in one click.

free forever · no scanner spam · the prompt stays on the site, the deaths come to you

$weekly: what got a verdict, what died.