Back to all posts
AI Operations7 min read·October 25, 2026

How Do You Isolate AI Data Between Business Units?

TB
ThynkBlox AI Team
AI Engineering

How do you isolate AI assistant data between business units?

To isolate AI assistant data between business units, enforce the unit’s access rules before retrieving documents, loading saved work or calling a tool. Carry that boundary through retrieval indexes, caches, task state and tool credentials, including when several units share infrastructure. Filtering the final answer cannot compensate for retrieving another unit’s restricted data: the separation must hold before that data enters the assistant’s working context.

Start with a written access policy. Define which records belong to each unit, which material is shared, and which roles may work across units. What data should an AI agent be able to see? provides a starting point for defining that scope.

Where should the separation boundary begin?

Begin with the signed-in person and their authorised scope. Require the application to establish the active business unit from verified permissions, rather than accepting a unit name written in a message.

Treat these as separate questions:

  • Who is making the request?
  • Which unit are they working in?
  • What records and actions are permitted within that unit?
  • Does this particular task have a narrower scope?

A person authorised for several units should choose an active unit explicitly. Changing that choice should start a fresh working context unless the person deliberately opens an authorised cross-unit task.

Do not let a document, tool response or instruction inside a conversation expand permissions. Require the access layer to reject requests outside the authorised scope, regardless of what the assistant asks for.

What needs to be separated beyond the documents?

Use the following table as a design checklist. Include temporary and derived data, not just the original business records.

SurfaceSeparation to requireValidation question
Retrieval indexesSeparate indexes or enforced access filters on every searchCan a search return a restricted passage from another unit?
CachesReuse limited to the authorised unit and relevant permissionsCan the same question reuse another unit’s result?
Conversations and memorySaved context bound to its permitted audienceCan switching units load an earlier unit’s conversation?
Task stateJobs, checkpoints and retries retain their original scopeCan resumed work run under another unit’s permissions?
Tool credentialsAccess limited to the intended unit, records and actionsCan a tool read or update another unit’s records?
Files and exportsGenerated material inherits appropriate access restrictionsCan someone open another unit’s attachment through a saved link?
Logs and support viewsRestricted content visible only to authorised operatorsCan routine troubleshooting expose another unit’s data?

Assign an owner to each boundary. “The assistant handles it” is not an access-control specification.

How should retrieval indexes enforce the boundary?

Choose between separate indexes and a shared index according to the separation you need and the controls you can verify.

With separate indexes, require the application to select the permitted index before search. With a shared index, require every search to apply the authorised unit and record-level permissions before returning passages.

Do not make that filter optional or leave the assistant to construct it. A missing unit, unknown classification or failed permission check should produce a refusal or an empty result, not a broader search.

Apply the same rules when documents are imported, split into passages, updated or removed. Each passage needs the access information required to evaluate it independently.

For shared policies, use an explicitly approved shared collection. Do not treat unlabelled documents as shared. Require a deliberate publishing decision before moving unit-owned material into a common knowledge base.

How should caches and saved tasks behave?

Define cache reuse around access equivalence. Before reusing an answer, search result or tool response, require the current request to have permission to access everything in that cached material.

A useful starting design includes the business unit, relevant permission scope, source version and permission version in cache selection. Where permissions differ by person, a unit identifier alone is insufficient.

Set invalidation rules for access changes. Removing someone from a unit should also prevent them from reopening cached answers and saved work that depended on that membership.

For background tasks, save the originating identity, unit and permitted actions with the job. Recheck permission when the task resumes and before it performs a sensitive action. Do not silently continue using whichever unit the person most recently selected.

If access has been withdrawn, stop the task and explain that authorisation is required to continue.

How should tool credentials be scoped?

Prefer credentials that grant only the access needed for the current task. Separate read access from write access where the connected system supports it.

For example, an assistant preparing a purchase summary should not receive permission to change supplier payment details merely because both actions use the same business system.

Where a connector uses a shared service account, require a server-side permission check on every operation. Validate both the requested action and the ownership of the target record. Do not rely solely on a unit identifier supplied by the assistant.

If the connected system cannot enforce the required boundary, narrow the integration or keep that operation outside the assistant’s scope.

Approval is an additional control for consequential actions. It does not grant access to restricted records. Where approval steps belong in AI agents explains how to place human review within a workflow.

Can business units share infrastructure safely?

Treat shared infrastructure as a design choice that requires evidence of logical separation. Require the same boundaries whether units share an application, search service, job queue or storage system.

Review shared support functions as well. Set permissions for administrators, support staff, diagnostic views and recovery procedures. Decide which operational records need business content and avoid collecting that content where it serves no defined purpose.

Use separate deployments or dedicated resources when contractual requirements or your risk assessment call for stronger separation. Do not assume separate deployments settle every access question: still review shared accounts, exports, backups and administrative access.

The practical question is whether every route to restricted material enforces the intended permissions.

How should cross-unit roles work?

Create explicit cross-unit roles with a defined purpose. A group finance lead might need consolidated reporting while remaining unable to read personnel case notes.

Specify the permitted units, record types and actions. Distinguish viewing a combined result from opening every underlying record.

For a cross-unit report, authorise the complete requested scope before retrieval. If part of the request is outside that scope, ask the person to narrow it or obtain the required access. Do not fetch everything and ask the assistant to hide the forbidden sections.

Label the report’s scope clearly. A result covering only authorised units should not appear to represent the whole organisation.

What would a worked example look like?

Consider an illustrative company with a manufacturing unit and a services unit. Each has private customer records and operating procedures, while both use a shared travel policy.

A manufacturing employee asks, “Which customers have overdue approvals?”

The expected flow is:

  • Establish the employee’s identity and manufacturing permissions.
  • Search only authorised manufacturing records.
  • Reuse cached material only when its access scope matches.
  • Call the business system with manufacturing access.
  • Save the task and any export under the same boundary.

Next, test the same question from a services account. Check the returned records, retrieved passages, cache reuse, saved task and downloadable files.

Finally, test a finance lead authorised for both units. Confirm that a combined report includes the permitted records while excluding categories outside that role.

Use synthetic records with distinct labels so a boundary failure is easy to identify.

What are the common mistakes?

Filtering only the final answer. Test retrieval itself. Restricted passages should never enter an unauthorised task.

Treating a unit selector as permission. Verify membership before accepting the selected scope.

Separating search but sharing memory. Include conversation history, attachments, summaries and resumed tasks in the design.

Using broad credentials without operation checks. Verify the requested record and action before each tool call.

Testing only successful access. Include denied requests, direct record identifiers, changed roles and revoked access.

Calling all cross-unit access an exception. Define legitimate shared roles explicitly so permissions remain reviewable.

Before launch, require evidence for both permitted and denied paths. Agree on those acceptance conditions in the pilot; how to run an AI pilot that ends in a decision covers that process.

Frequently asked questions

Does each business unit need its own assistant?

Not necessarily. A shared interface is an option if the underlying system enforces each unit’s permissions throughout retrieval, saved work and tool use. Choose separate assistants when that makes ownership or access boundaries clearer.

Is a separate retrieval index enough?

No. Also review caches, conversations, task state, credentials, generated files and operational access. Require the boundary to hold across the complete workflow.

What should happen when someone changes units?

Re-evaluate their access. Prevent unauthorised access to earlier conversations, cached results, exports and queued work. Handle any continuing cross-unit access through an explicit role.

Can the assistant combine information across units?

Yes, when the person and task are authorised for the full scope. Define that scope before retrieval and label the resulting output clearly.

Ready when you are

Want to talk this through for your business?

Send us the process you are thinking about. You will hear back from an engineer, not a sales team.