Skip to content
Echnotek
Private AI Architecture

Private AI Architecture: How to Deploy AI Agents Inside an Enterprise

This is the reference architecture Echnotek builds from on every private AI engagement — the actual layers a request passes through, not a simplified marketing diagram. If you're evaluating whether private AI deployment is technically feasible for your organisation, this is the page to bring to your architecture review.

It's also the one architecture underneath all five of our live products — Conversational AI, the Vaani voice agent, Image and Document OCR, Sift, and Data Intelligence. Each does different work in the middle of the pipeline, but every one of them sits on this same identity, routing, permission, model and audit layer.

The same architecture holds whether the deployment sits in a private cloud, a customer VPC, on-premise, or fully air-gapped — what changes between those four options is where each layer physically runs, not whether it exists. That mapping is covered section by section below, after the component-by-component walkthrough.

Four processing paths. Ten components. Four deployment boundaries. One architecture.
The complete architecture

Every Layer a Request Passes Through

Four processing paths, one shared architecture. Whichever of RAG, OCR, voice or crawling a request needs, it's authenticated, routed, processed, reasoned over by a private model, and logged — all inside a boundary the enterprise controls.

Enterprise Users
The people and upstream systems that initiate a request — an employee, a customer-facing agent, or an automated trigger from another internal workflow.
SSO / Identity
Every request is authenticated against the enterprise's existing identity provider before it goes anywhere else — no anonymous access, no standalone credential store to manage.
Agent Gateway
The single point every authenticated request passes through — it resolves which processing path should handle the request, enforces rate limits and policy, and is where every downstream call is logged from.
RAG
Retrieval against the enterprise's own knowledge — pulls only the context relevant to the request, and only from documents the requesting identity is already permitted to see. Powers Conversational AI.
OCR
Reads a scan, PDF or photo and extracts it into structured, validated fields instead of raw text. Powers Image and Document OCR.
Voice Assistant
Runs a live spoken conversation — transcribing, understanding, asking follow-up questions and responding in real time. Powers Vaani.
AI Crawler
Crawls a target website and extracts the specific signals a task needs, whether that's scoring fit against your criteria or building a sourced profile. Powers Sift and Data Intelligence.
Private LLM
The model performing the actual reasoning — hosted inside the boundary, sized to the workload, with no route out to a public model API.
Enterprise VPC
The network boundary containing every layer above it — a customer VPC, an on-premise network, or an air-gapped environment, depending on which deployment architecture is chosen.
Logs / Audit / Monitoring
Every request, retrieval, tool call and model decision is written here — the record a compliance team queries and an operations team watches for drift.
One architecture, five products

What This Architecture Runs Today

The shell — identity, routing, permission checks, the model, the secure boundary, the audit log — is identical across all five. What differs is the processing pipeline in the middle: retrieval looks different from field extraction, which looks different again from a live voice conversation.

Every one of these is a live, working demo — not a mockup.

Component by component

Explain Every Component

Each layer of the diagram above is a real, separately secured hop — not a label on a box. Click through each one below.

Every request — whether it originates from a person or an upstream system — is authenticated against the enterprise's existing identity provider before it reaches an agent or a model. There is no separate credential store for the AI system to maintain and no shared API key standing in for a real identity. The user's enterprise identity is what the rest of the architecture authorises against: which documents can be retrieved, which actions can be taken, and which results require approval all trace back to who is actually making the request.

NOTHING REACHES AN AGENT UNAUTHENTICATED.

The gateway is the single entry point every authenticated request passes through on its way to a processing path. It resolves which of the four paths — RAG, OCR, Voice Assistant or AI Crawler — should handle the request, enforces rate limits and request-level policy, and is the one place in the architecture where every request can be observed regardless of which path it takes. Centralising routing and enforcement here — rather than duplicating security logic inside every individual path — is what keeps the security posture consistent as the product set grows.

EVERY REQUEST PASSES THROUGH ONE PLACE.

Retrieval-augmented generation gives an agent access to the enterprise's own knowledge — documents, records, internal wikis — without retraining a model on it. The retrieval index lives inside the same boundary as the model, and retrieval itself is permission-aware: an agent can't surface a document the requesting identity couldn't already open through the source system. This is the path Conversational AI runs on.

PERMISSION-AWARE, INSIDE THE BOUNDARY.

Optical character recognition and document understanding applied to a scan, PDF or phone photo — pulling out the specific fields a task needs and validating them, rather than handing back a wall of unstructured text. Nothing uploaded here leaves the boundary to reach an external vision API. This is the path Image and Document OCR runs on.

VALIDATED FIELDS, NOT A WALL OF TEXT.

Real-time speech understanding and response — transcribing what's said, deciding what to ask next, and speaking back, inside one continuous turn-taking loop rather than a fixed script. The follow-up questions are generated from how the conversation is actually going. This is the path Vaani runs on.

REAL-TIME, WITH GENUINE FOLLOW-UP.

Crawls a target website and extracts the specific signals a task needs — comparing them against a set of criteria, or assembling them into a sourced profile with a confidence score per field. This is the path Sift and Data Intelligence both run on.

SIGNAL EXTRACTED, SOURCE KEPT.

The model itself — the layer actually doing the reasoning behind every retrieval query, tool call and drafted response. Model selection is a discovery-stage decision: the smallest open-weight model that reliably clears the accuracy bar for the task, hosted and sized to real traffic rather than over-provisioned for headroom nobody uses. Inference happens entirely inside the deployment boundary, with no route out to a public model API — the model can be fine-tuned on the enterprise's own data without that data, or the resulting weights, ever leaving the environment.

NO ROUTE TO A PUBLIC MODEL API.

Every request, retrieval, tool call and model decision is logged here, inside the same environment as everything else — not exported to a third-party observability platform by default. This layer covers four related jobs: audit logging a compliance team can query directly, ongoing evaluation of the system against real tasks, ongoing monitoring for quality or cost drift, and the incident trail needed if something does go wrong. An architecture without this layer wired in from day one is not something we consider production-ready, regardless of how the rest of it is built.

LOGGED FIRST, REVIEWED CONTINUOUSLY.
Deployment architectures

The Same Architecture, Four Boundaries

Every layer above exists in all four options below. What changes is where the boundary is drawn, who operates the infrastructure inside it, and how (or whether) it connects to anything outside.

Private Cloud Architecture

The full stack — gateway, RAG index, tool connectors and the private LLM — runs on dedicated, single-tenant infrastructure that Echnotek hosts and operates in a region the enterprise specifies. No shared inference, no multi-tenant model instance. Enterprise systems (CRM, ERP, internal APIs) are reached over a private network connection back into the customer's environment, rather than the AI stack living inside it.

Operated by
Echnotek, under contract
Network boundary
Dedicated tenancy, region-pinned
Connectivity to enterprise systems
Private network link

Customer VPC Architecture

Every layer of the architecture deploys directly into the enterprise's own AWS, Azure or GCP account — inside their VPC, under their IAM policies, logged to their own account. Echnotek builds and operates the system there, but the enterprise holds the infrastructure, the keys and the network boundary throughout. Tool connectors reach CRM, ERP and internal databases over network paths and service accounts the enterprise's own platform team already manages.

Operated by
Echnotek, inside your account
Network boundary
Your VPC
Connectivity to enterprise systems
Existing internal network paths

On-Premise Architecture

The full stack runs on hardware inside the enterprise's own data centre — GPUs sized and provisioned by Echnotek, the model, RAG index and gateway deployed on-site, and the enterprise's infrastructure team trained to operate it independently. Tool connectors reach internal systems over the internal network only; nothing in the architecture requires an outbound connection to the public internet unless the enterprise explicitly wants one (for model updates, for example).

Operated by
Your infrastructure team, trained by Echnotek
Network boundary
Your data centre
Connectivity to enterprise systems
Internal network only

Air-Gapped Architecture

The same ten components, with no route to the public internet at all — model updates, monitoring exports and any other data movement happen through controlled, manual transfer rather than a live connection. Tool integrations are limited to systems reachable inside the same isolated network. This is the architecture for classified, defence-adjacent or maximum-restriction environments, where connectivity itself — not just data exposure — is the risk being managed.

Operated by
Your infrastructure team, trained by Echnotek
Network boundary
Fully isolated network
Connectivity to enterprise systems
None outside the isolated network
Where this fits

From Architecture to a Signed Contract

This guide is the technical layer underneath two commercial pages — read this first, then see how it's built and deployed.

Private AI Architecture
Private AI Agents
Private AI Deployment
Contact Echnotek
Start here

Bring your architecture review to us, not the other way round.

We'll walk your security and infrastructure team through this exact architecture against your own constraints — deployment option, data classification, existing identity provider — before anything is built.

Start with a conversation

Let’s talk now