Hafez Fabric
Governed AI Gateway
Put AI to work across your organization without sending your confidential data outside it. Fabric runs on your own infrastructure, anonymizes sensitive data before it reaches a cloud model, and governs every model, knowledge base and agent.
Most organizations are caught between two bad options. Cloud models are capable and make work faster, but sending a contract, a customer file or a security report to a service outside the organization is not acceptable, and is sometimes not legal. The usual outcome is one of two things: the tools are banned and the advantage is lost, or people quietly paste the data into personal accounts and nobody knows what left.
Fabric removes the trade-off. It is self-hosted on your own infrastructure and sits between your people and the models: it substitutes sensitive values before a request leaves and restores them when the answer returns, keeps each team and client separated, builds answers from your own documents with citations, runs agents only with registered tools and behind human approval, and records every request.
HafezSecure built this platform for its own work, because our security teams face the same limit when handling client data. We use it every day, and we now offer it to organizations that have the same problem.
Your Data Never Leaves the Organization
For organizations worried about confidentiality when using cloud models: Fabric substitutes sensitive data before the request is sent, and puts it back once the answer arrives
- National IDs, card and Sheba numbers, recognized automatically
- Phone numbers and email addresses, recognized automatically
- Internal hostnames and IP addresses, recognized automatically
- Names of people, clients and suppliers, from your lists
- Addresses, contract numbers and project codes, from your patterns
- Text inside images and PDFs, read with Persian OCR
- The question itself and what it asks for
- The structure and meaning of the text
- The relationship between values, kept consistent
- The quality of the answer you get back
Once enabled for a workspace, the same rule applies in chat, in knowledge bases, in agent runs and in application calls. For the most sensitive work, restrict a workspace to local models and no request leaves the organization at all.
Two Layers of Protection
Patterns catch the values; a local AI model understands the documents. Both run inside your network.
Labels are recorded for review; masking and blocking stay with the first layer.
One Platform, Three Layers
Risky execution is kept away from control and from data, so a mistake in one layer does not reach the next
How Fabric Is Built
Four views of the architecture: what happens to a request, how teams are kept apart, where the platform runs, and how answers and actions stay traceable.
A Look at the Portal
The portal your team actually uses — Workload, Knowledge and Governance in one place: governed chat with citations, masking before anything leaves, and a record of every request
Figures and entries shown are an illustrative sample, not live production data.
An illustration of the interface with sample data. Switch screens with the tabs above.
Key Features
What makes organizational AI trustworthy and accountable
Use Cases
Wherever AI work meets data that must not leave
How It Works
From installation to everyday use
Deployment Options
From a single server to a network with no route outside
Why Fabric
How it differs from using AI services directly
The Fabric datasheet
Every Fabric capability in a 16-page booklet: architecture, providers and cost, confidentiality, workspaces, knowledge bases, agents and deployment.
16 pages PDF · A4
Frequently Asked Questions
What organizations ask before deciding on Fabric
Not the confidential parts. Fabric replaces the values you defined as sensitive before the request leaves your network, so the provider receives a question with labelled placeholders in place of real names and numbers, and the real values are restored inside your network when the answer comes back. If you would rather nothing at all leaves, route that work to a model running on your own hardware; the same portal covers both.
Two kinds of value. Fabric recognizes Iranian national IDs, card and Sheba numbers, phone numbers, email addresses, IP addresses and internal hostnames on its own. Names of people and clients, addresses, contract numbers and anything else specific to your work are added as lists and patterns per workspace, and the text inside images and PDFs is read too. The structure of the question is left intact, so the model still understands what is being asked.
Two things reduce that risk and one removes it. You tune the rules against your own real documents during setup, using a preview that shows exactly what a rule would mask before you switch it on, and the audit trail shows what left the network for every request, so a gap is visible rather than silent. For work where no residual risk is acceptable, restrict that workspace to local models, and nothing leaves at all.
It is designed to. With models running on your own hardware, the platform needs no outside service to operate, which is what suits it to classified and air-gapped networks. External models are an option you switch on, not a dependency.
Models you host yourself, models from providers you already work with, and any endpoint that speaks the common AI interface. Because everything sits behind one gateway, changing or adding a provider later does not touch the applications that use it.
Each team or client works in its own workspace, and the separation is enforced in the database rather than by a filter in the application. A person sees only the workspaces they belong to, with their permissions decided per membership, so one consulting engagement cannot read another.
No. Document permissions carry through to retrieval, so an answer is built only from material that person could already open. The assistant follows your access rules instead of becoming a way around them.
Every member and application key has a request and token quota, enforced by the gateway. Calls through the API are priced in toman as they happen, so you can see what each application costs.
Only what you registered as a tool, and only up to the point where a step would change something. Those steps wait for approval, and the person who started the run cannot be the one who approves it.
A server you control (running across a cluster is in development), your sign-in system for staff accounts, and hardware for local models if you want to run them in-house. Our team sizes it with you, installs it, and trains your administrators; after that the platform is yours to operate.
Fabric is the AI layer HafezSecure builds its own services on, and the AI layer our platform is designed to run its AI features through; connectors that bring platform data into a workspace are planned. You can buy it on its own, whether or not you use anything else from us.
Usually not. The gateway speaks the common AI interface, so an application already written for it needs a new address and key rather than new code, and it inherits the anonymization, quotas and audit that come with the platform.
Related Services
Complementary services that might be useful for you
Related insights
What we have written about this service
Other Platforms
The rest of the HafezSecure platform range
Vulnerability Assessment as a Service
Attack Surface Management
Cyber Asset Inventory