Solo and small-firm attorneys have four real ways to use AI for client work. Each trades off privilege, convenience, and cost differently.
The four options
| Option | Privilege-safe? | Effort | Cost (typical) |
|---|---|---|---|
| Consumer chat (ChatGPT free/Pro, Claude.ai Pro) | No — Consumer Terms include training opt-out and weaker retention | Lowest | $0–$20/month |
| Commercial API + your own wrapper | Yes — Commercial Terms, no training, includes DPA | Highest (you build it) | ~$100–500/month depending on volume |
| Managed legal-AI SaaS | Yes | Lowest | ~$500/month and up |
| AI-in-a-box appliance | Yes — data never leaves the device | Medium (setup + hardware) | ~$500–700/month equivalent |
| On-prem frontier model on your own hardware | Yes | Highest | $10K+ hardware, ongoing setup |
Consumer plans are cheap because they’re subsidized. The subsidy comes with terms of service that make those tiers inappropriate for privileged content.
Every option that’s honest about privilege costs real money, because frontier intelligence at attorney-workload volume costs real money to deliver. The legitimate options cluster in roughly the same price band.
That leaves two practical paths for solos:
(1) pay for a managed platform;
(2) Build a thin wrapper around the commercial API.
KJedi is the second option.
What KJedi is
KJedi is a small open-source Next.js web app that runs only on your laptop. Upload a contract (PDF or DOCX), chat with Claude (Opus 4.7 as of this writing) about the terms, generate a red/yellow/green review memo.
- Localhost only. No hosted service. Outbound traffic goes to the Anthropic API only.
- Your API key, server-side. Lives in
.env.local. Never touches the browser. - Nothing persists. No database, no logs, no analytics. Document and chat history live in memory only and clear on tab close.
- System prompt is yours. Plain TypeScript file at
lib/system-prompt.ts. Read, edit, fork.
What it’s tuned for
California AI/SaaS tech-transactions:
- AI-specific clauses (training data rights, output ownership, IP indemnity for AI outputs, model substitution, accuracy disclaimers, prompt/output confidentiality, upstream-model-provider disclosure)
- Vendor agreements with AI components (OpenAI, Anthropic, AWS Bedrock, Google Vertex)
- Privacy: CCPA/CPRA, GDPR, DPAs
- IP assignments, contractor and employee IP/confidentiality, NDAs
- Open-source compliance and AI training-data provenance
Not tuned for other practice areas or litigation. KJedi flags when a contract is outside its lane. Fork the system prompt for your own practice areas.
What it costs to run
A typical contract review session (upload, several follow-up questions, generate memo) should run just a few dollars in API costs. Steady client volume could therefore cost a few hundred dollars per month. Comparable to the managed platforms, with the wrapper logic and system prompt in your control.
Before using it on client work
- Verify your Anthropic account is on Commercial Terms, not Consumer Terms. API access via the console defaults to Commercial Terms once you add a payment method. Claude.ai Pro/Max is governed by Consumer Terms. Confirm in your Anthropic console.
- This is open-source experimental software, not a vetted vendor product. Read the code, audit the dependencies, verify the system prompt is adequate for your needs, and verify your own machine’s configuration.
- Verify every citation before relying on it. Treat the output as a junior associate’s first pass, never the final word, including in the system prompt.
Setup Instructions
Visit: github.com/marchoag/kjedi
git clone https://github.com/marchoag/kjedi.git
cd kjedi
npm install
cp .env.example .env.local # add your ANTHROPIC_API_KEY
npm run dev
Open http://localhost:XXXX (default is usually 3000).
Questions? Feel free to reach out.

