Skip to content
Docs

Architecture

Requirements

What to have ready for a hybrid or on-premise deployment – subdomains, database access, channels, servers and GPUs.

For a hybrid or on-premise deployment, have everything on this page ready before the project starts, so set-up isn’t held up.

Deployment requirements

Subdomains

All four subdomains are needed:

SubdomainWhat it’s for
app.<yourdomain>The frontend interface
api.<yourdomain>The backend APIs
frame.<yourdomain>Embedded features, such as rendering in an iframe
embed.<yourdomain>Embedding on the frontend, such as widgets

Database access

The connection details for your PostgreSQL database:

  • hostname or IP address
  • port
  • database name
  • a username and password with the privileges Proto needs

Channels

Facebook Messenger

If you plan to use Facebook Messenger with your on-premise AI agent, tell the Proto team as early as possible. Your AI agent has to be connected to a Meta app, and Meta’s App Review and verification can take 2–3 weeks. There are two ways to do it:

Other channels

For other channels, such as WhatsApp and Telegram, set them up yourself or give us the credentials to connect them.

Servers

Development and testProduction
Used forInternal testing, QA and non-critical developmentLive deployments with real-time traffic, integrations and full data retention
CPU4-core, 64-bit (x86_64)16-core or more, 64-bit (x86_64)
Memory16 GB RAM32–64 GB RAM, depending on the expected load and data processing
Storage100 GB SSD, for the operating system, services and PostgreSQL data250–500 GB SSD, for logs, database growth, backups and file uploads
Network1 Gbps LANDual 1 Gbps, or 2.5 or 10 Gbps LAN for high throughput
Operating systemUbuntu Server 22.04 LTS or Red Hat Enterprise Linux 8+Ubuntu Server 22.04 LTS or Red Hat Enterprise Linux 8+
PostgreSQLVersion 14 or laterVersion 14 or later
VirtualisationDocker, with services in containersDocker, for running and isolating services

GPU requirements

Speech recognition, speech synthesis, the LLM and intent classification each run on their own GPU server. Every GPU server needs:

  • Ubuntu 22.04 LTS or later
  • NVIDIA drivers, CUDA and the NVIDIA Container Toolkit
  • Docker with NVIDIA GPU support

Speech recognition (ASR)

Turns speech into text, in many languages.

GPUBest for
NVIDIA L4 24 GBModerate workloads
NVIDIA A10G 24 GBProduction
NVIDIA A100 40 or 80 GBHigher concurrency
NVIDIA H100 80 GBHigh throughput
ResourceRequirement
GPU memory16 GB at least, 24 GB or more recommended, 40–80 GB for high concurrency
Number of GPUs1 at least. Add more for higher concurrency or availability.
CPU8 or more vCPUs recommended
System memory16–32 GB recommended
Storage50–100 GB SSD at least

Tip: for normal production workloads, use 1 NVIDIA A10G or L4 24 GB per server. If you expect a lot of voice traffic at once, use an A100 40 or 80 GB.

Speech synthesis (TTS)

Turns text into speech, in many languages.

GPUBest for
NVIDIA L4 24 GBModerate workloads
NVIDIA A10G 24 GBProduction
NVIDIA A100 40 or 80 GBHigher concurrency
NVIDIA H100 80 GBHigh throughput
ResourceRequirement
GPU memory16 GB at least, 24 GB or more recommended, 40 GB or more for high concurrency
Number of GPUs1 at least. Add more for more voice sessions at once.
CPU8 or more vCPUs
System memory16–32 GB
Storage50–100 GB SSD

Tip: start with 1 NVIDIA L4 or A10G 24 GB. For a lot of voice sessions at once, or very low latency, use an A100 40 or 80 GB, or an H100 80 GB.

LLM

Writes your AI agent’s replies.

GPUBest for
NVIDIA A100 40 GBTesting
NVIDIA A100 80 GBModerate workloads
NVIDIA H100 80 GBProduction
ResourceRequirement
GPU memory24 GB at least, for an optimised, quantised mid-sized model. 48–80 GB recommended, 80 GB or more for high concurrency.
Number of GPUs1 at least. 2 or more for higher concurrency, larger models or redundancy.
CPU16–32 or more vCPUs
System memory64–128 GB
Storage200–500 GB NVMe SSD

Tip: start production with 1 NVIDIA A100 80 GB. It leaves plenty of room for model weights, the KV cache, context and requests at the same time. For more traffic, use 2 A100 80 GB or 1 H100 80 GB.

Intent classification

Works out what a person wants, in 109 languages.

ResourceRequirement
GPUNVIDIA T4 16 GB, L4 24 GB or A10G 24 GB
GPU memory8 GB at least, 16 GB recommended
Number of GPUs1 at least. For lower volumes, it can also run on CPU only.
CPU4–8 vCPUs
System memory16–32 GB
Storage30–50 GB SSD

Tip: start with 1 NVIDIA L4 24 GB, 4–8 vCPUs, 16–32 GB RAM and a 50 GB SSD. For an AI agent with low to medium traffic, you can run intent classification on CPU and keep the GPUs for the LLM, speech recognition and speech synthesis. A GPU helps when you generate a lot of embeddings or need very low latency.

Support

Our team is available throughout the deployment for:

  • configuration guidance
  • environment testing
  • integration validation

For customised deployments, we also provide additional support SLAs and handover documentation.

Stuck? Ask Advisor in the Proto dashboard, or contact us.

© Proto