Contact
← All posts

Features

Why we built Linc - the Terminal-based Legal Agent

Linc: An AI Agent That Runs Where You Work Sometimes, to move forward, you have to look back... to terminals. Most legal AI tools ask you to leave your workflow. Upload here. Cl...

Max SonderbyMarch 26, 2026
Why we built Linc - the Terminal-based Legal Agent

Linc: An AI Agent That Runs Where You Work

Sometimes, to move forward, you have to look back... to terminals.

Most legal AI tools ask you to leave your workflow. Upload here. Click there. Wait for the results in some dashboard you'll check tomorrow.

Linc works the other way around. It runs directly on your machine — the same place you already manage files, run scripts, and get things done. You tell it what you need in plain English. It figures out the rest.

npm install -g @casemark/linc
linc

What does that actually look like?

You open your terminal. You type linc. You're in a conversation with an AI that has access to your filesystem, your shell, and the full case.dev platform — 195+ language models, document OCR, transcription, legal research, encrypted vault storage, and more.

Some examples:

You're prepping for a deposition. You have a recording and a stack of exhibits. You tell Linc to transcribe the recording, cross-reference the testimony against the exhibits, and draft follow-up questions for the areas where the story doesn't add up. It does all of that. You review each step.

You're drowning in discovery. A thousand PDFs just landed. You tell Linc to OCR them, upload them to an encrypted vault, search for every mention of a specific agreement, and flag anything that might be privileged. Twenty minutes later you have a structured summary instead of a weekend of manual review.

You need to understand a contract fast. You point Linc at the folder it lives in. It reads it, identifies the key obligations and risk areas, checks whether the non-compete would hold up in your jurisdiction, and gives you a plain-language breakdown. You ask follow-up questions. It cites the specific clauses.

Every step is visible. You're not handing off control — you're working alongside an AI that moves at your speed.

Who is this for?

Linc sits in a specific gap. It's not for someone who wants a polished GUI with buttons and wizards. And it's not really for software developers. (If you're a dev, just give our CLI to whatever code agent you're running and you're off to the races)

It's for the growing number of legal professionals who aren't intimidated by a terminal — because they've realized that's where the leverage is.

Maybe you already use the command line for file management. Maybe you've used ChatGPT to write a script or two to automate something tedious. Maybe you're a paralegal who got tired of waiting for IT to build you a tool and learned to build your own. Maybe you're a litigator who figured out that grep finds things faster than any e-discovery platform.

If you've ever thought "I wish I could just tell the computer what to do and have it actually do it" — that's what this is.

How it connects to case.dev

Case.dev is a platform built for legal technology. It provides the infrastructure that legal applications need: compliant document storage, AI model access, OCR, transcription, legal research, transcription, translation, privilege detection, and more — all through a unified API.

Linc is the interactive layer on top of that infrastructure. When you ask Linc to transcribe a recording, it calls case.dev's transcription service. When you ask it to search case law, it calls the legal research API. When you ask it to store documents securely, it uses case.dev's encrypted vault.

One API key connects everything. One compliance perimeter covers every request. SOC 2 Type II and HIPAA compliant, with zero-retention agreements on most LLM routing and a unified audit log across every service.

You don't need to know any of this to use Linc. You just talk to it. But it matters — because it means your client data stays within a single, auditable system instead of being scattered across a dozen SaaS tools.

The practical details

Install. You need Node.js (v20+). Then:

npm install -g @casemark/linc

Authenticate. On first run, Linc walks you through connecting your case.dev account:

linc login

A browser window opens, you approve the connection, and you're set. If you already use the casedev CLI, Linc picks up your existing credentials automatically.

Optional: install the case.dev CLI. Linc can call the casedev CLI for direct platform access — vault management, OCR, transcription, and more:

brew tap CaseMark/casedev && brew install casedev

Documentation is at docs.case.dev/cli.

Start working.

linc

You're in. Pick a model (for most agentic work and guaranteed ZDR, we recommend Anthropic or Google Gemini models), start a conversation, and let Linc handle the tedious parts while you focus on the judgment calls that actually require a legal mind.

Open source

Linc is MIT-licensed and available on GitHub. It's built on Pi, an open-source terminal agent framework, rewired to work natively with case.dev's infrastructure.

Extensions, themes, and custom tools are all supported through a TypeScript plugin system. If the default setup doesn't fit your workflow, you (or your agent) can change it.

Getting started

The free case.dev tier includes $10 in platform credits. That's enough to explore what Linc can do for your practice, especially if you use Gemini Flash or CaseMark Core models.

npm install -g @casemark/linc
linc

If you run into issues or have questions, open an issue on GitHub or check the case.dev documentation.

Keep reading