Use cases / Legal teams
Search contracts, templates and policies with an AI assistant that keeps privileged files confidential
In-house legal teams spend a large share of their time answering internal questions that the documents already answer: which clause to use for a data processing addendum, what the standard liability cap is, which jurisdictions the company has signed with, what the internal approval process is for a non-disclosure agreement.
Ragirag gives the legal team a private knowledge base built from its own templates, playbooks and policies. A lawyer or contract manager asks a question and gets an answer drawn from those documents, with every source listed so the original clause can be opened and checked. Privileged or highly sensitive files can be marked confidential and limited to named people.
Why legal teams are careful with AI
Legal documents are among the most sensitive files a company holds. Contracts contain prices and personal data, litigation files are privileged, and board materials can move markets. Uploading them to a general-purpose chatbot raises immediate questions: where is the data processed, who can see it, and can anyone check where an answer came from?
Accuracy matters as much as confidentiality. An answer that paraphrases a clause incorrectly, or invents one, is worse than no answer. Lawyers need to see the source behind every statement and verify it before relying on it. That rules out tools that answer from general knowledge or do not show their sources.
How legal teams set it up
- Create a Legal team. An org admin creates a Legal team and makes the general counsel or head of legal its team admin. The team has its own isolated knowledge space: nothing uploaded here is retrieved for any other team in the organisation.
- Start with templates and playbooks. Upload the documents that drive most internal questions: contract templates, the negotiation playbook with fallback positions, the signature and approval policy, the data processing addendum, and internal guidance notes. Ragirag indexes PDF, DOCX and TXT files.
- Restrict privileged files. Litigation memos, investigation reports or board papers can be marked confidential and granted to named lawyers only. Everyone else in the team never sees them in lists or answers, because they are excluded before the search runs and are never sent to a model on their behalf.
- Choose the model per team. Each team picks the model that writes its answers: OpenAI, Anthropic or Mistral. A legal team that wants answer generation to run with an EU provider can select Mistral, using the organisation’s own API key.
- Set the answering rules. With the team system prompt, the team admin can add instructions such as “Quote the clause wording exactly. If the documents do not cover the question, say so and recommend contacting the legal team.” This sits on top of Ragirag’s rule to answer only from your documents.
Questions your team can ask
Illustrative examples, answered from your own documents with their sources listed:
- What is our standard limitation of liability in customer contracts?
- Which fallback positions does the playbook allow on payment terms?
- Who must approve a non-disclosure agreement with a competitor?
- What does our data processing addendum say about sub-processor changes?
- Which governing law do we accept for customers in Germany?
- Summarise our internal policy on signing documents electronically.
How confidential and privileged files are protected
Ragirag enforces confidentiality at retrieval time. For each question, it works out which confidential documents the person asking has no grant for and excludes them from the vector and keyword search before ranking. A second check runs before the answer is assembled, and sources are checked again before they are shown. A lawyer without a grant cannot obtain a privileged document’s content by rephrasing a question, because the passages are never retrieved.
Files, the database and the vector index stay on Ragirag’s servers, in the legal team’s own space. Answers are written by the model the team chooses; the security and GDPR pages list where data is hosted and every sub-processor, what it receives and where it runs. Deleting a document removes the file, its record and its vectors.
Read the full data flow on the security page.
Guardrails worth setting
- Redact identifiers from answers. On the Enterprise plan, output filters redact email addresses, phone numbers, IBANs, card numbers or custom patterns such as contract reference formats from answers and source snippets while they stream.
- Keep sensitive matters out of the assistant. Also on Enterprise, a topic blocklist can stop questions about named matters, such as an ongoing dispute, before they reach a model. The question is not sent, and the person asking sees a clear notice.
What changes for the team
- Routine internal questions get a sourced answer without waiting for a lawyer.
- Lawyers find the right clause or fallback position in seconds and open the source to confirm it.
- Privileged files stay limited to named people, even inside the legal team.
- When a template or playbook changes, one upload updates every future answer.
- Answers are a starting point, not legal advice: every one cites its source so it can be checked.
