alquimia-studio
Alquimia Studio – front/app service for Alquimia Platform.
About this chart
Alquimia Studio Helm Chart
A production-ready Helm chart to deploy Alquimia Studio (web/Next.js app) on Kubernetes and OpenShift, following Red Hat chart certification best practices (non-root, probes, resources, labels, tests).
Alquimia Studio is an enterprise-ready, no-code platform for building, deploying, and managing conversational AI agents on your own infrastructure. It supports knowledge-powered and multi-agent systems with tool integrations, giving teams full control over data, security, and extensibility.
Whether you're building customer support automation, internal knowledge assistants, or complex multi-agent systems, Alquimia Studio provides an intuitive wizard-driven interface that transforms your requirements into production-ready conversational agents.
Prerequisites
Before installing Alquimia Studio, ensure you have the following components available:
- Alquimia Runtime
- MongoDB instance
- Keycloak
- Alquimia TWYD
- Open Telemetry collector for sending metrics and traces (optional)
- Metrics service compatible with PromptQL
Installation
1) Basic install (Service only)
helm install studio ./alquimia-studio \
--set image.repository=alquimiaai/studio \
--set image.tag=latest
2) With Kubernetes Ingress
helm install studio ./alquimia-studio \
--set ingress.enabled=true \
--set ingress.hosts[0].host=studio.example.com
3) On OpenShift with Route (recommended on OCP)
helm install studio ./alquimia-studio \
--set openshift.route.enabled=true \
--set openshift.route.host=studio.apps.example.openshift.com
If both ingress.enabled and openshift.route.enabled are set, the chart prefers Ingress and skips Route.
Upgrading
helm upgrade studio ./alquimia-studio --set image.tag=v1.2.3
Uninstall
helm uninstall studio
Configuration
Using existing ConfigMap/Secret If you already have alquimia-studio-config and alquimia-studio-secrets:
envFrom:
existingConfigMap: "alquimia-studio-config"
existingSecret: "alquimia-studio-secrets"
createConfig:
enabled: false
createSecret:
enabled: false
Creating ConfigMap/Secret with the chart
createConfig:
enabled: true
config:
NEXT_PUBLIC_API_URL: "https://api.example.com"
createSecret:
enabled: true
stringData:
OPENAI_API_KEY: "xxxxx"
envFrom:
existingConfigMap: ""
existingSecret: ""
Apply with:
helm install studio ./alquimia-studio -f values.yaml
Setting up environment variables
The following environment variables must be configured for Alquimia Studio to function properly. Set these in your Helm values or ConfigMap/Secret:
# Alquimia Runtime Configuration
# Base URL for the Alquimia Runtime API (assistant service)
ASSISTANT_BASEURL=https://assistant-api-url
# API key for authenticating requests to Alquimia Runtime
ALQUIMIA_ASSISTANT_API_KEY=assistant-api-key
# Alquimia TWYD Configuration (Knowledge Base Service)
# Base URL for the TWYD knowledge base service
TWYD_BASEURL=https://twyd-url/
# API key for authenticating requests to TWYD service
TWYD_API_KEY=twyd-api-key
# Database Configuration
# MongoDB connection string (Atlas or self-hosted)
DATABASE_URL="mongodb+srv://username:[email protected]/database?retryWrites=true&w=majority&appName=alquimia-studio"
# Authentication Configuration (Keycloak)
# Keycloak client ID registered in your Keycloak realm
AUTH_KEYCLOAK_ID=keycloak-client-id
# Keycloak client secret for authentication
AUTH_KEYCLOAK_SECRET=keycloak-client-secret
# Keycloak issuer URL (realm endpoint)
AUTH_KEYCLOAK_ISSUER=https://keycloak-domain/auth/realms/realm
# NextAuth.js Configuration
# Secret key for encrypting NextAuth.js tokens and sessions
NEXTAUTH_SECRET="nextauth-secret-key"
# Public URL where your application is accessible
NEXTAUTH_URL=http://localhost:3000
# Authentication provider method
# Options: "api_token" (uses ALQUIMIA_ASSISTANT_API_KEY) or "keycloak" (uses Keycloak OAuth)
AUTH_PROVIDER=api_token
# OpenTelemetry Configuration (Optional)
# Service name identifier for OpenTelemetry traces and metrics
# Used to identify this service in your observability platform
OTEL_ALQUIMIA_SERVICE_NAME=alquimia-studio-app.prod.op
# OpenTelemetry collector endpoint for sending traces
OTEL_COLLECTOR_ENDPOINT_TRACES=https://otel-endpoint-url/tracing
# OpenTelemetry collector endpoint for sending metrics
OTEL_COLLECTOR_ENDPOINT=https://otel-endpoint-url/metrics
# Export interval for metrics in milliseconds
OTEL_EXPORTER_INTERNAL_MILIS=5000
# Metrics Dashboard Configuration
# Base URL for the metrics API used to fetch data for dashboard visualization
# Compatible with Prometheus/Thanos query API endpoints
METRICS_API_URL=https://metrics-url/api/
# API token for authenticating requests to the metrics API
METRICS_API_TOKEN=metrics-api-token
Security
This chart follows container hardening best practices:
runAsNonRoot: truereadOnlyRootFilesystem: trueallowPrivilegeEscalation: falseDrop all Linux capabilities
If your app needs write access (e.g., cache), mount an emptyDir at the required path or extend the chart to add a writable volume.
Network Policy (opt-in)
Restrict inbound traffic to the service namespace (or specific namespaces):
networkPolicy:
enabled: true
ingressNamespaces: [] # same-namespace only
Parameters
| Key | Type | Default | Description |
|---|---|---|---|
| replicaCount | int | 1 | Number of replicas |
| image.repository | string | alquimiaai/studio | Image repo |
| image.tag | string | alquimiaai/studio | Image tag (pin via CI/CD) |
| image.pullPolicy | string | IfNotPresent | Pull policy |
| image.pullSecrets | list | [] | ImagePullSecrets names |
| service.type | string | ClusterIP | Service type |
| service.port | int | 80 | Service port |
| service.targetPort | int | 3000 | Container port |
| ingress.enabled | bool | false | Enable Ingress |
| ingress.className | string | "" | IngressClass name |
| ingress.hosts[0].host | string | studio.example.com | Hostname |
| ingress.tls | list | [] | TLS entries for hosts |
| openshift.route.enabled | bool | true | Enable OpenShift Route |
| openshift.route.host | string | "" | Route host (optional) |
| openshift.route.tls.enabled | bool | true | TLS on Route |
| resources.requests.cpu | string | 100m | CPU request |
| resources.requests.memory | string | 256Mi | Memory request |
| resources.limits.cpu | string | 500m | CPU limit |
| resources.limits.memory | string | 512Mi | Memory limit |
| env.vars | list | [] | Inline environment variables |
| envFrom.existingConfigMap | string | "alquimia-studio-config" | Use existing CM |
| envFrom.existingSecret | string | "alquimia-studio-secrets" | Use existing Secret |
| createConfig.enabled | bool | false | Create CM from values |
| createConfig.config | map | {} | Key/values for CM |
| createSecret.enabled | bool | false | Create Secret from values |
| createSecret.stringData | map | {} | Secret key/values |
| serviceAccount.create | bool | true | Create ServiceAccount |
| podSecurityContext | map | see values | Pod security context |
| containerSecurityContext | map | see values | Container security context |
| nodeSelector / tolerations / affinity | {} | 1 | Scheduling controls |
| networkPolicy.enabled | bool | true | Enable NetworkPolicy |
Example values.yaml
image:
repository: alquimiaai/studio
tag: "stable"
pullPolicy: IfNotPresent
openshift:
route:
enabled: true
host: studio.apps.dev.example.com
tls:
enabled: true
termination: edge
insecureEdgeTerminationPolicy: Redirect
envFrom:
existingConfigMap: "alquimia-studio-config"
existingSecret: "alquimia-studio-secrets"
resources:
requests:
cpu: 200m
memory: 256Mi
limits:
cpu: "1"
memory: 512Mi
Notes for OpenShift
- Prefer Route over Ingress (openshift.route.enabled: true).
- Ensure the default SCC allows runAsNonRoot. If your cluster injects a random UID, this chart already sets non-root compatible options.
- For TLS, you can attach a custom cert to the Route or rely on router defaults.
Maintainers
- Jose Luis Cruz - [email protected]
Deploy alquimia-studio with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has alquimia-studio on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartalquimia-studio is pinned at v0.2.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply