NAMMU

← Blog
ComplianceLegal AIPrivacyProduct

Ley 8968 and AI tools: how Nammu complies, and what no software can fix

What Costa Rica’s data protection law means when a lawyer uses AI on an expediente, in plain terms.

IP

Inventum P5

Engineering · Galictis-Legal

October 8, 2026

8 min read

Every expediente is full of personal data, confidential and sensitive information. Ley 8968, the Ley de Protección de la Persona frente al Tratamiento de sus Datos Personales (approved on July 7, 2011 and published in the Diario Oficial La Gaceta on September 5, 2011), applies to it, and it applies the moment an AI tool is used on it. This post explains why that matters, how Nammu handles it, and what no software can fix.

This is not legal advice for any particular firm. It reflects our reading of the law and our own compliance review, checked against the product as of October 2026.

Why it matters

  • You are the responsable. For your case files, the person responsible under the law is your firm (Art. 3.h). A tool can help, but it cannot take that duty from you.
  • Expedientes are full of sensitive data. The law counts health data and condición socioeconómica as sensitive (Art. 3.e). Payslips, bank statements and debts qualify.
  • Most of that data is about other people. Opposing parties, witnesses and children are in the file, and they have not consented to anything.
  • Cloud AI means sending data abroad. Personal data can be transferred only with the person's express authorization (Art. 14). Transferring it to databases in third countries without consent is a falta gravísima (Art. 31.f). Every cloud AI service hosted outside Costa Rica raises this question, whether it is ChatGPT, Claude, Gemini, Nammu or any other.
  • You may have to explain what you did. A person can ask what system was used on their data and how it was used (Art. 7.1.d). In a PRODHAB complaint you have three business days to answer with evidence (Arts. 24–25).

How Nammu handles it

Your documents stay on your machine. Reading (processing), OCR (text extraction using visual-analysis tools), indexing and pseudonymization all run locally. Your original PDFs and Word files are never uploaded to the cloud, on any plan.

Only pseudonymized text goes to the cloud. Before text leaves your computer:

  • Names of people and organizations are found and replaced.
  • Cédulas, phone numbers and emails are replaced with consistent pseudonyms ("PERSONA_3" is the same person throughout the case).
  • Amounts are scaled and dates are shifted. The real values come back on your screen with the answer.
  • A final check blocks the request if anything shaped like a cédula, phone number or email is still there.

Page images need your approval. On some plans, when local OCR fails, Nammu can send an image of a page to a cloud vision model (Microsoft Azure Computer Vision). It asks you first, and only for the pages that need it (normally well under 5%). A page image is not pseudonymized, so decline it for family, criminal or domestic-violence files.

We do not train on your content. InventumP5 does not train any language model on customer content.

Deleting a matter deletes everything for it: extracted text, analysis results, the search index and the case map.

Every answer is traceable. Each model in Nammu is a named configuration, and Nammu never falls back to an unspecified model. That gives you a specific answer if someone asks what processed their data.

Tools for your firm:

  • a privacy notice (aviso de privacidad) shown before you open a workspace;
  • a draft protocolo de actuación to review and register with PRODHAB, which creates a presumption of compliance (Art. 12). We can work together to integrate any you already have;
  • a start-up warning if disk encryption is off (the responsibility for managing it stays with the lawyer);
  • a record on your machine of what left the computer, and when.

What no software can fix

Third parties have not consented. Your client can consent, and an engagement-letter clause covering AI tools and processing abroad is the cleanest way to get it. The opposing party, the witnesses and the minors in your file have not, and nothing in Nammu changes that. As far as we know, neither PRODHAB, the Poder Judicial nor the Colegio de Abogados has said how the law applies to AI tools. That no sanction is on record is not a legal basis.

What pseudonymization protects, and what it does not. Once text leaves your machine for the cloud, "PERSONA_3" and scaled amounts cannot be re-identified by Microsoft, OpenAI, Anthropic or anyone else without access to your original computer (the lawyer's): the mapping exists only there. That is why pseudonymizing matters for a cross-border transfer, and why the blocks of data (chunks) sent to the cloud are disconnected from the real identities. It does not protect you if someone steals your computer, because they would have the originals. That is a physical-security issue (disk encryption, access control), not a Nammu one. It also does not guarantee that cloud providers never see or use the pseudonymized text, which is why documenting their terms matters. Legally, pseudonymized data is still personal data (Art. 3.b), because you, who hold the originals, can re-identify the person. And some names and addresses can still get through.

The risk is reduced, not removed. Azure has no region in Costa Rica, so every cloud call is processed abroad. Pseudonymizing first is a very different position from sending raw text, but it is not a guarantee. A self-hosted deployment would remove the transfer. We are planning it, and it will be available soon.

If your legal practice involves complex, restricted and highly sensitive cases, we recommend NAMMU Enterprise with fully local AI (full self-hosted). In these scenarios, no lawyer should use ChatGPT, Claude or Gemini directly from the cloud, only services and platforms that provide this level of security. Otherwise, you can use NAMMU with the caveats in this article.

What you can do now, as a lawyer

These recommendations are for you, the person reading this article and practicing law, whether you use Nammu or any other tool.

  1. Add an AI clause to your engagement letter with your clients, to obtain their consent to the use of AI tools and processing abroad.
  2. Ask every AI vendor, including us, where each call is processed, whether your content trains a model, how long data is kept, whether identifiers are removed first, and which model produced an answer. With ChatGPT, Claude or Gemini used directly, it is not possible to get these answers.
  3. Keep domestic-violence, minors and criminal-strategy files local.
  4. Register a protocolo de actuación with PRODHAB.
  5. Set a retention policy that counts from the date of the facts.
  6. Turn on disk encryption and keep your own passwords secure.

Relevant articles and how NAMMU handles them

ArticleWhat it saysOur interpretationHow Nammu handles it
2Databases kept for "exclusively internal, personal or domestic purposes" are excluded, as long as they are not sold or commercialized.Some firms assume this exempts their case files. We don't rely on it, and we don't think you should: a law firm's case database is professional use, not domestic.Nammu treats all case files as subject to Ley 8968. No exemption claimed.
3.bPersonal data is any data about an identified or identifiable natural person.A pseudonymized document is still personal data if someone can re-identify the person, including you, the lawyer holding the original.Nammu calls data "pseudonymized," never "anonymous." The mapping stays on your machine.
3.eSensitive data includes origin, political and religious views, health, sexual life, and condición socioeconómica.Salary slips, bank statements, debts and household budgets are defined as sensitive data in Costa Rica. Expedientes are full of them.Nammu masks amounts before they leave your machine. Sensitive data stays protected even when analyzed.
3.g / 3.hThe law protects natural persons. The responsable is whoever decides the purpose and treatment of the database.Data about a sociedad anónima as such falls outside the law; data about its representatives does not. For your case files, the responsable is your firm. There is no separate "processor" role as in GDPR.Nammu is the tool you use. Your firm stays the responsable.
5Before collecting personal data you must inform the person of eight things, and obtain express written consent. There are only three exceptions: a reasoned judicial order, genuinely public data, or a constitutional or legal mandate.There is no "legitimate interest" basis and no "contract necessity" basis. This is where GDPR habits mislead most.Nammu shows an aviso de privacidad to every user, covering all eight Art. 5.1 items. It's a starting point for your client materials.
6.1Data that could affect the person may not be kept more than ten years from the date of the facts, unless a special rule provides otherwise. Beyond that it must be dissociated from the person.Archived expedientes need a retention policy, not just storage.Nammu automatically purges workspaces older than ten years and warns you during the final year. Treat the purge as a backstop, not your retention policy.
6.4Data may only be used for the purpose for which it was collected. Only historical, statistical or scientific later use is excepted.Reusing case files for marketing, demos or product training is a different purpose.Nammu does not train on customer content. Marketing and evaluation materials are anonymized or destroyed.
7The person has rights of access, rectification and deletion, and to consent to the cession of their data. The responsable must answer free of charge within five business days. The answer must not reveal third parties' data (7.1.c), and the person may ask what "system, program, method or process" was used on their data (7.1.d).If you use an AI tool on someone's data, they are entitled to know that you did.Nammu logs which model answered each question and records what left your machine. You can answer Art. 7 requests.
9.1.cThe ban on processing sensitive data does not apply to data the person made public, or to processing necessary to recognize, exercise or defend a right in a judicial proceeding.This is the legal foundation for working with sensitive data in litigation. It is tied to that purpose. It lifts the sensitive-data ban only: it does not replace Art. 5 consent or Art. 14 authorization.Nammu processes sensitive data locally for litigation use only. The basis is Art. 9.1.c. Don't use it for other purposes.
9.3Exact home address, photographs and private phone numbers are not freely accessible data, even when they appear in a public registry. The address is excepted when used for a judicial or administrative summons or notification, or a banking operation.Using an address to notify a party is covered. Pasting it into a prompt for drafting is not clearly covered.Nammu detects and masks addresses before cloud analysis. You must approve page images manually (they're not masked).
10The responsable must apply technical and organizational security measures "according to current technological development".Unencrypted laptops and shared passwords are a legal issue, not just an IT one. Nammu checks for disk encryption and warns if it is off, but management is the lawyer's responsibility.Nammu checks your disk encryption at startup and warns if it's off. Encryption is your responsibility; Nammu verifies it exists.
11The responsable and anyone who takes part in any phase of processing are bound to secrecy, even after the relationship ends. Only a judge can lift it.This binds your staff, and any vendor that actually handles your data, directly by statute.Beta testers sign an NDA. Nammu limits who can see debug logs and logs all access.
12A protocolo de actuación registered with PRODHAB creates a rebuttable (iuris tantum) presumption of compliance.Voluntary, and one of the most useful things a firm can do. The presumption exists only once the protocolo is registered.Nammu generates a protocolo template for your firm to review and file. Filing it with PRODHAB gives you a presumption of compliance.
14Personal data may be transferred only with the data subject's express and valid authorization.There are no adequacy decisions, no standard contractual clauses and no processor exemption.Nammu pseudonymizes before transfer and requires authorization (your client's engagement letter). You decide if the client consents.
31.fTransferring Costa Ricans' or residents' personal data to databases in third countries without the subjects' consent is a falta gravísima.Every cloud AI service hosted outside Costa Rica raises this question. That includes ChatGPT used directly, Nammu, and every other cloud tool.Nammu reduces exposure: pseudonymization, no page images on pro/advanced, local-only for violencia doméstica. Only Enterprise (self-hosted) eliminates transfer entirely.
21Databases kept for distribution, dissemination or commercialization must register with PRODHAB.A firm's own case files normally are not kept for those purposes.Your case files are for internal use only. No registration required.
24–25Anyone with a legitimate interest can file a complaint with PRODHAB. The responsable has three business days to answer with evidence, in a report deemed given under oath. Silence means the alleged facts are taken as true.You need to be able to show what you did with the data, quickly.Nammu logs every piece of data that left your machine. You can reconstruct how your cases were handled.
28–31Fines are counted in salarios base of an auxiliar judicial I: up to 5 (leve), 5 to 20 (grave), 15 to 30 (gravísima). A gravísima also carries suspension of the database for one to six months.A suspension can stop a practice's case-management system from operating.This is why Nammu treats cross-border transfer with fail-closed gates, not fail-open. Exposure here is severe.

What is still open

We have not published an accuracy figure for our name detection, and we will publish a full report once beta testing ends. We keep working on improving address handling. A self-hosted deployment and the third-party consent question are still open (the latter cannot be closed by any vendor, including NAMMU).