Platform & architecture
One agent platform under every BuildX product.
BuildX Flow is the layer that Engage, Insight and Studio are built on: channels, agent orchestration, retrieval and tools, multi-model inference, and the data and observability that tie them together. It runs on AWS or Microsoft Azure, in India.
Architecture
Five layers, each replaceable.
Every layer has a narrow contract with the ones around it. That lets us swap a model, a vector store or a cloud provider without rewriting the agents that depend on it.
- 01Channels
- Where users and systems meet the agent. Every channel is normalised into one event format.
- 02Orchestration & agents
- The agent runtime: plans steps, enforces guardrails, keeps session state and decides when to hand off.
- 03Retrieval & tools
- Grounds answers in customer data and lets agents act through typed, permissioned tools.
- 04Models
- A model gateway that routes each task to the right model and provider, with fallbacks.
- 05Data & observability
- Tenant-scoped storage, traces, metrics, audit logs and keys — cross-cutting services every other layer writes to.
- 01
Channels
- WhatsApp Business API
- Web chat widget
- Voice / SIP telephony
- Slack & Teams
- REST & webhooks
- 02
Orchestration & agents
- Agent runtime
- Guardrails & policy
- Session memory
- Human handoff
- Versioned prompts & config
- 03
Retrieval & tools
- Document parsing & OCR
- Hybrid search + re-ranking
- Citations
- Typed tool calls
- Connectors (CRM, ERP, commerce)
- 04
Models
- Model gateway & router
- Hosted LLMs (Bedrock, Azure OpenAI)
- Embeddings
- Speech-to-text / text-to-speech
- Task-specific small models
05 · Data & observability
Spans every layer above.
Data
- Tenant-scoped object storage
- Operational database
- Vector indexes
Observability
- Traces per conversation
- Cost & latency metrics
- Evaluation results
Security
- Identity & least-privilege roles
- Managed encryption keys
- Audit logs
Reference architecture
Runs on AWS. Runs on Microsoft Azure.
We build on managed services from both clouds and keep the same logical design on each. Customers choose the cloud that matches their existing commitments, procurement and compliance needs.
Channels & API edge
AWS
- Amazon API Gateway
- Amazon Transcribe & Amazon Polly (voice)
- Elastic Load Balancing
Azure
- Azure API Management
- Azure AI Speech (voice)
- Azure Front Door / Application Gateway
Orchestration & agents
AWS
- Amazon ECS on AWS Fargate
- AWS Lambda
- AWS Step Functions
- Amazon Bedrock Agents (where suitable)
Azure
- Azure Container Apps
- Azure Functions
- Durable Functions
Retrieval & tools
AWS
- Amazon OpenSearch Serverless (vector + keyword)
- Amazon Textract (document OCR)
Azure
- Azure AI Search (vector + keyword)
- Azure AI Document Intelligence
Models
AWS
- Amazon Bedrock (foundation models & embeddings)
- Amazon SageMaker (custom / small models)
Azure
- Azure OpenAI Service
- Azure Machine Learning (custom / small models)
Data
AWS
- Amazon S3
- Amazon DynamoDB
- Amazon RDS for PostgreSQL
Azure
- Azure Blob Storage
- Azure Cosmos DB
- Azure Database for PostgreSQL
Observability
AWS
- Amazon CloudWatch (logs, metrics, alarms)
- AWS X-Ray
- AWS CloudTrail
Azure
- Azure Monitor & Log Analytics
- Application Insights
- Azure Activity Log
Identity & security
AWS
- AWS IAM (least-privilege roles)
- AWS KMS (encryption keys)
- AWS Secrets Manager
Azure
- Microsoft Entra ID & managed identities
- Azure Key Vault
- Azure RBAC
Service choices are adjusted per deployment — for example, a smaller workload may use serverless functions throughout, while high-volume voice traffic runs on long-lived containers. Model availability depends on the provider's regional catalogue.
Multi-model routing & cost control
The right model for each step — and a bill you can predict.
Inference is the largest variable cost in any AI product. The model gateway treats cost and latency as first-class constraints alongside quality.
Route by task, not by habit
Classification, extraction and short replies go to small, fast models. Multi-step reasoning and long-document synthesis go to frontier models. Each route is declared in config and can be changed without a code release.
Fallbacks across providers
If a model or region is degraded, the gateway retries on an approved alternative with the same guardrails, so an outage at one provider does not take an agent offline.
Budgets and caching
Per-tenant and per-agent token budgets, prompt caching for repeated context, and semantic caching for frequent questions keep inference spend predictable.
Cost visible per conversation
Every trace records the model, tokens, latency and cost of each step, so teams can see exactly what a resolved conversation or processed document costs.
Evaluation & quality gates
Every release is measured against the last one.
LLM behaviour changes when a prompt, a model version or a document set changes. Our evaluation harness makes those changes visible before customers see them.
- 01
Test sets
Curated question–answer pairs and real, consented transcripts for each agent, including Indian-language and code-mixed inputs.
- 02
Automated scoring
Groundedness, citation accuracy, task success, tone and safety are scored with rule checks and LLM-as-judge rubrics.
- 03
Human review
Domain reviewers sample outputs where automated scores are uncertain or the stakes are high.
- 04
Release gate
A prompt, model or retrieval change ships only if it meets or beats the current version on the agreed thresholds.
- 05
Production monitoring
Live traffic is sampled and re-scored; regressions trigger alerts and one-step rollback to the previous version.
Deployment models
Our cloud, or yours.
Both options use the same codebase and the same evaluation and observability tooling.
Option A
Multi-tenant SaaS
Hosted and operated by BuildX in India — AWS Asia Pacific (Mumbai, ap-south-1) or Azure Central India. Tenants are logically isolated, with tenant-scoped data partitions, indexes and encryption context.
- — Fastest to start; no infrastructure on your side
- — Managed upgrades, monitoring and on-call
- — Usage-based pricing
Option B
Bring your own cloud
Flow is deployed into your own AWS account or Azure subscription from infrastructure-as-code. Data, keys, models and logs stay inside your boundary; BuildX operates with scoped, auditable access that you control.
- — Your keys in your KMS or Key Vault
- — Use your existing cloud commitments and model quotas
- — Suited to regulated and confidential workloads
Data residency in India
Customer data stays in Indian regions by default.
Storage, databases, vector indexes, logs and backups for India-hosted tenants are provisioned in Indian cloud regions. Where possible, model inference also runs in-region; when a specific model is only available outside India, we tell the customer and use it only with their agreement. This approach is designed to support obligations under India's Digital Personal Data Protection Act, 2023. See Security & trust for details.
Engineering principles
How we make decisions about the platform.
Configuration over code
Agents, tools, prompts and routes are versioned config — diffable, reviewable and reversible.
Least privilege by default
Agents get only the tools and data scopes they need; every tool call is authorised and logged.
Grounded or silent
When retrieval finds no supporting source, agents say so or hand off instead of guessing.
Measured before shipped
No change reaches production without passing its evaluation suite.
Cloud-portable
Provider-specific services sit behind thin interfaces, so the platform runs on AWS or Azure.
Cost is a feature
Every architectural choice is weighed against cost per outcome, not just accuracy.
Infrastructure as code
Environments are reproducible from code, which is what makes bring-your-own-cloud deployments practical.
Boring where it counts
Managed services for storage, queues and identity; we spend our engineering effort on the AI layer.
Want to see the architecture for your workload?
Share your use case, data sources and preferred cloud. We'll come back with a reference design, a deployment option and an indicative running cost.