ibl.ai Agentic AI Blog

Insights on building and deploying agentic AI systems. Our blog covers AI agent architectures, LLM infrastructure, MCP servers, enterprise deployment strategies, and real-world implementation guides. Whether you are a developer building AI agents, a CTO evaluating agentic platforms, or a technical leader driving AI adoption, you will find practical guidance here.

Topics We Cover

Featured Research and Reports

We analyze key research from leading institutions and labs including Google DeepMind, Anthropic, OpenAI, Meta AI, McKinsey, and the World Economic Forum. Our content includes detailed analysis of reports on AI agents, foundation models, and enterprise AI strategy.

For Technical Leaders

CTOs, engineering leads, and AI architects turn to our blog for guidance on agent orchestration, model evaluation, infrastructure planning, and building production-ready AI systems. We provide frameworks for responsible AI deployment that balance capability with safety and reliability.

Back to Blog

Legal AI: Why Redaction Destroys the Context a Model Needs

Jaione AmigotNovember 24, 2026
Premium

Blanket redaction strips the names, dates and relationships a model needs to reason about a legal matter. Structure-aware masking replaces each person with a consistent placeholder so the reasoning survives, and running the model inside the firm's own perimeter changes how much has to be masked at all.

The Short Answer

Blanket redaction fails legal AI because it deletes the relationships a model needs: who wrote to whom, who signed, what happened when. Structure-aware masking swaps each real name for a consistent placeholder, so the reasoning survives. On ibl.ai you own all the code and the data, so a firm can run the model inside its own perimeter and decide how much context to keep.

Most law firm AI policies start from one instinct: strip everything identifying before a document goes near a model. It feels like the safe answer to Rule 1.6.

It is often the wrong one. A redacted discovery set protects the client and also stops the analysis the firm wanted, because in legal work the identities and the dates are the facts.

Blanket redaction breaks legal AI because it removes identity without preserving sameness. Once every name becomes the same token, a model cannot tell one custodian from another, and the relationships that decide a matter disappear.

The default replace behaviour in Presidio, the open-source de-identification toolkit that began at Microsoft, swaps a detected value for its type, for example <PHONE_NUMBER>, per its anonymizer documentation. ibl.ai's own Redact action works the same way, replacing a value with its type label.

That is fine for a support chat. It is destructive for a discovery set. Here is an illustrative email thread, with invented names, processed three ways:

Version What the model reads Can it answer "who knew first?"
Original Dana Ruiz emails Tom Klein on 3 March 2025; Klein forwards it to Priya Shah on 9 March Yes
Blanket redaction [PERSON] emails [PERSON] on [DATE]; [PERSON] forwards it to [PERSON] on [DATE] No. Three people became one token, and the six-day gap is gone
Structure-aware masking <PERSON_1> emails <PERSON_2> on Day 0; <PERSON_2> forwards it to <PERSON_3> on Day 6 Yes, and the answer maps back to real names inside the firm

The table is our illustration, not a benchmark. The point it makes is structural: a model reasoning about knowledge, notice, sequence or authority needs to know which person is which and how far apart events sit.

For a deeper look at how this plays out when the data is used for training rather than review, see why PII redaction breaks enterprise AI.

What is structure-aware masking, and how is it different from redaction?

Structure-aware masking hides who a person is while keeping that they are the same person everywhere they appear. It is pseudonymisation applied with the document's structure in mind: people, organisations, dates and roles each get a treatment that preserves what the model needs.

Presidio publishes a pseudonymization sample that does the core move. A custom operator replaces each value with a unique identifier, keeps a mapping, and can reverse it afterwards. Its sample output reads <PERSON_1> gave his book to <PERSON_2>.

Its documentation also describes a salted hash operator and notes that to "maintain referential integrity across records/calls", you provide a consistent salt. That is the property that matters across a 10,000-document production: Klein is the same pseudonym in every file.

Element Blanket redaction Structure-aware masking
People One shared token One consistent pseudonym per person, across every document
Organisations One shared token Distinct pseudonyms, so the counterparty stays distinct from the client
Dates Removed Kept in order, with intervals preserved, for example by one consistent offset
Roles Lost with the name Kept as text: "General Counsel", "the buyer", "the guarantor"
Reversal Impossible Possible, with a mapping the firm alone holds

The European Data Protection Board makes the same observation in its Guidelines 01/2025 on pseudonymisation, adopted on 16 January 2025 for public consultation.

It says pseudonymised data "can often be usefully analysed" and that pseudonyms enable "the linkage of various records" about the same person without the additional information.

Do the courts already redact this way?

Yes. The federal courts' own privacy rule for filings is structure-aware rather than blanket. It keeps a deliberate slice of each identifier so a filing still makes sense to the reader.

Federal Rule of Civil Procedure 5.2(a) says a filing may include only the last four digits of a Social Security or taxpayer-identification number, the year of an individual's birth, a minor's initials, and the last four digits of a financial-account number.

Those four rules each protect a person while keeping enough to tell records apart. A minor's initials keep two children distinct; a year of birth keeps an age. It is the same design principle structure-aware masking applies to an AI pipeline.

Does the ABA require lawyers to redact client data before using AI?

No. ABA Formal Opinion 512, issued on 29 July 2024, does not tell lawyers to redact everything. It asks them to assess the risk that information relating to a representation is disclosed outside the firm, and to act on that assessment.

Under Model Rule 1.6, a lawyer must make reasonable efforts to prevent the inadvertent or unauthorized disclosure of, or access to, client information. Opinion 512 applies that duty to generative AI tools.

As summarised in The Bar Examiner's analysis, the opinion says that for self-learning tools "a client's informed consent is required prior to inputting information relating to the representation".

It also notes that tools differ in how they protect information, so the risk assessment is fact based.

Redaction is one way to make that assessment come out safely. It is not the only one, and it is the one that costs the most usable context. Where the model runs, and who can see its inputs, is the other lever.

We covered the rule itself in ABA Model Rule 1.6 compliant AI. This is a summary, not legal advice; each firm's ethics counsel decides.

For the firm holding the key, yes. GDPR treats pseudonymisation as a safeguard, not an exit. A masked document still carries obligations for the controller that can reverse it.

Article 4(5) of the GDPR defines pseudonymisation as processing so that data can no longer be attributed to a person without additional information kept separately. Recital 26 says such data should still be considered information on an identifiable person.

The EDPB guidelines repeat that pseudonymised data "remains information related to an identifiable natural person, and thus is personal data". In September 2025 the EU Court of Justice added a nuance in EDPS v SRB (C-413/23 P).

As Covington's Inside Privacy summarises, the court held that pseudonymised data must not be regarded as personal data "in all cases and for every person": a recipient that cannot re-identify may be outside it. The controller that holds the key is not.

For a law firm with EU matters, that makes two practical points. Structure-aware masking reduces risk without removing GDPR duties. And the place the mapping key lives, inside the firm or inside a vendor, is part of the analysis.

When does a law firm not need to mask documents before AI at all?

When the model, its logs and its storage all run inside the firm's own perimeter, the disclosure risk Opinion 512 describes changes shape. Nothing leaves the firm, so masking stops being a precondition for using the model and becomes a choice made per matter and per agent.

Opinion 512 still applies inside the perimeter: a self-learning tool can disclose one client's information to other lawyers at the same firm, and for those tools it requires the client's informed consent wherever the model runs.

That is the real trade. A firm sending documents to an external API has to strip context to stay safe. A firm running an open-weight model on its own infrastructure can keep the names, the dates and the relationships, and still control who sees them.

Masking still has a job inside the perimeter: ethical walls between matters, least-privilege access for agents, and cleaner outputs when a summary goes to a wider audience. For the most sensitive work, see air-gapped AI for law firms.

The subpoena question is separate and worth reading too. The NYT v. OpenAI discovery filings showed how chat logs held by a vendor can become discoverable.

ibl.ai lets a firm decide, per agent, whether personal information reaches the model untouched, redacted, masked or blocked, and it logs each detection without copying the data. Because the firm self-hosts the platform, that decision happens inside its own perimeter.

Every agent carries a Privacy tab with PII filtering across thirteen entity types, from Person and Date / Time to IBAN and Passport, and four actions: Allow, Redact, Mask and Block. An optional second pass filters the agent's own responses.

Since 25 September 2026, detections are recorded in a read-only privacy-flags audit log that stores entity types only, never raw values. The filter also covers uploaded files, including OCR and pixel-level redaction on images.

Be precise about what that means for legal work. The built-in Redact action is the type-label kind, which is right for a chat agent and wrong for a discovery review.

For matter analysis on a model running inside the firm, Allow with detection logging keeps the full context and still records what was seen.

Where a firm wants entity-consistent pseudonyms before a document reaches an external model, that layer is built on top. Because you own all the code and the data, the masking layer and the mapping key that reverses it stay on the firm's infrastructure, not a vendor's.

The platform is model-agnostic, so the same firm can route public research to a hosted frontier model and privileged review to a local one. It deploys anywhere, from your own cloud to a fully air-gapped network, with no per-seat pricing.

See ibl.ai for legal, or the flagship Agentic OS the agents run on. ibl.ai is family-owned and operated from New York, NY, and our team works with legal departments and firms as a long-term partner, from the first agent through every model change that follows.

Why does owning the AI stack matter?

ibl.ai is the agentic AI platform where you own all the code and the data. You self-host the entire stack inside your own perimeter, run it model-agnostic across any LLM and switch anytime, and pay by usage with no per-seat pricing β€” so you can deploy anywhere: your cloud, on-premise, GovCloud, or fully air-gapped.

  • You own all the code and the data

    Full source code under a perpetual license, running on your infrastructure. Not API access to someone else's platform β€” the stack itself is yours.

  • Model-agnostic

    Run any LLM β€” Claude, GPT, Gemini, Llama, Command, or your own fine-tune β€” and switch providers without rewriting the platform.

  • No per-seat pricing

    Usage-based billing against a budget cap you set. Cost tracks what your organization actually uses, not how many people you employ.

  • Deploy anywhere

    Your cloud, your VPC, on-premise, GovCloud, or a fully air-gapped network with no outbound connectivity.

1.6M+ users across 400+ organizations run the platform this way, including NVIDIA, MIT, and Syracuse University.

ibl.ai is family-owned and operated from New York, NY β€” a U.S.-headquartered, domestically-owned long-term partner, not a vendor that sells licenses and moves on.

Related Articles

Which AI Platforms Let a Law Firm Preserve Attorney-Client Privilege?

A comparison of how Harvey, CoCounsel, ChatGPT Enterprise, Claude for Enterprise and self-hosted ibl.ai handle the facts that decide privilege (where prompts live, training, retention and who holds the logs), read against ABA Formal Opinion 512, Model Rule 1.6 and the Heppner ruling.

ibl.aiNovember 16, 2026

Legal AI Agents Can Call Your APIs Without Reading the Key

An ibl.ai agent can call a live external API from inside a sandbox that starts with no network, through hosts the firm allowlists, using a key it can use but never read. OpenAI, Anthropic and Microsoft ship egress controls too; the question for a law firm is who holds the key.

Blanca AmigotNovember 7, 2026

On-Premise Legal AI Platform: Privileged Work Product Inside the Firm's Network

An on-premise legal AI platform keeps privileged work product inside the firm's network β€” no third-party cloud custody, no DPA renewals, no ABA Rule 1.6 chain-of-custody questions. The deployment model, the workloads, and the cost math vs Harvey / Co:Counsel.

Blanca AmigotJune 1, 2026

Why an Untracked AI Agent Retry Becomes Firm Overhead

Three bar authorities now say the same thing about AI costs a firm cannot attribute to a specific matter: they belong in overhead, not on the client's bill. That turns an agent's opaque retry loop into a fee-ethics question, and it makes per-matter cost attribution a billing requirement rather than a dashboard feature.

Blanca AmigotOctober 14, 2026

See the ibl.ai AI Operating System in Action

Discover how leading universities and organizations are transforming education with the ibl.ai AI Operating System. Explore real-world implementations from Harvard, MIT, Stanford, and users from 400+ institutions worldwide.

View Case Studies
Work with our team

Pilots, deployment, and full ownership

Every engagement is scoped to the work: you integrate ibl.ai with your own data, deploy it on your own infrastructure, and the engineering hours scale with the scope β€” so the price tracks the scope, not your headcount. Most customers keep us on afterwards for platform updates, new agents and integrations, and ongoing services.

Start here

Pilot

from $15K

fixed scope Β· fixed timeline

A time-boxed proof of value on your real data β€” not a slide deck.

Best for: Teams that want to see ibl.ai working before committing.

  • Deployed on your infrastructure or our cloud
  • 1–2 production agents wired to a slice of your data
  • One integration (LMS / SIS / SSO / data source)
  • Weekly working sessions with our engineers
  • Pilot fee credits toward a full engagement
Scope a pilot
Most common

Integration & Deployment

$25K – $80K

one-time fee Β· scoped to the work

Full deployment integrated with your data and systems. Engineering hours scale with scope.

Best for: Organizations rolling ibl.ai out across a department, campus, or business unit.

  • Platform deployed in your VPC, on-prem, or air-gapped
  • Integrated with your data + identity (SSO / SAML)
  • Multiple custom agents built to your workflows
  • Engineering hours proportional to scope
  • You own the data Β· run any LLM you choose
Plan a deployment
Full ownership

Codebase Transfer + Custom AI Engineering

Custom quote

perpetual license Β· you own the stack

We transfer the full source code. You own and self-host the entire platform β€” outright.

Best for: Organizations and enterprises that benefit from perpetual ownership and sovereignty.

  • Complete source-code transfer + perpetual license
  • Dedicated AI engineering team on your roadmap
  • Custom agents, models, and integrations to spec
  • Air-gapped capable Β· zero vendor lock-in
  • Family-owned, New York–based long-term partner
Talk about ownership
You own the code and data Run any LLM β€” Claude, GPT, Gemini, Llama Family-owned & operated from New York, NY