# Legal SDK: automate your legal department on Relex | Relex

> Automate your legal department with the Relex legal workspace and build your own product on top. One API call opens a matter; identities are sealed in the browser so they never reach your server in plaintext. Your own models, one MCP endpoint for every agent, and verification from licensed professionals.

# Legal SDK

Give your agents the knowledge to do the legal work, inside your own product.

[Read the SDK docs](/docs/legal-sdk) [Let us set it up for you](/sales) [Get an API key](/settings/api-keys)

Trust boundary

## Identities never reach your server in plaintext

The key is derived from the user's password in the browser. Names, IDs and documents are sealed there, before upload. Your backend stores what it cannot read, and so do we.

Your models

## Bring the model you already pay for

Claude, GPT, Gemini, Grok, an open-weight model you host, or your own fine-tune. We do not resell tokens and we do not mark them up.

Your platform

## You keep control of all of it. We make it faster to build.

Your interface, your brand, your pricing, your customer, your models, your data. The orchestration, the ontology and the sealing are already built and tested, so you are not spending a year on the parts that are unforgiving to get wrong.

## Who this is for

### A company automating its legal department

Contract requests arrive from sales, HR and procurement faster than legal can clear them, and the high-value ones still go out to counsel. You get the matter structure, the drafting and the privacy boundary already built, and licensed professionals to confirm what the system produces.

### A firm running on AI without a year of build

Verification is what you already are. Put your own product in front of clients on the API and SDK, stay merchant of record, and keep 100% of what you charge.

## What the SDK gives you, and what stays yours

## Start with the API, or let us help you implement it.

[Read the SDK docs](/docs/legal-sdk) [Let us set it up for you](/sales) [Join as a verifying professional](/partners/register) [Or see how Relex compares to everything else](/compare)

---

_[View this page on relex.legal](https://relex.legal/legal-sdk)_
