Overview & requirements¶
Crios runs either as Crios Cloud, where Crios operates the platform for you, or self-hosted, where you run the same product on your own Kubernetes cluster from a Helm chart with a license key. This page covers what you need before a self-hosted install.
Editions at a glance¶
| Crios Cloud | Self-hosted | |
|---|---|---|
| Who operates it | Crios | Your platform team |
| Where it runs | Crios-managed infrastructure | Your Kubernetes cluster |
| Data location | Crios-managed | Stays in your cluster |
| Licensing | Managed for you | A license key (Enterprise, or Free with fixed limits) installed as a Secret or in the app |
What gets installed¶
The helm/crios chart deploys the whole platform into one namespace. The stateful parts are:
- PostgreSQL for the control plane, and separate storage for project data.
crios-postgresis the control plane: users, organizations, projects, sessions, knowledge, the audit log and workflow state. Project data never shares its server, and lives in one of two places. By default,crios-project-dbholds one database and one login role per project. Withorchestrator.projectDatastores.dedicated.enabled, which needs the CloudNativePG operator, each project instead gets database instances of its own on first use: one for its build sessions' development copy and one for its live app (only the latter withsingleTier), on PostgreSQL or MySQL, plus key-value and document stores where they are used (see Configuration reference).crios-project-dbstays deployed either way and keeps serving the databases of projects created before the switch. The split is a security boundary: projects, workflows and sandboxes only ever receive credentials for their own project database, never for the control plane. - Vault, the secret store for provider keys, connector credentials and project database credentials.
- Two Qdrant vector stores: project and organization knowledge, and the curated failure-fix knowledge base.
- Redis, for caching and coordination.
- A built-in git server (Gitea) for agent workspaces, enabled in the values template.
Around them run the orchestrator (the API and the brains of the platform), the web UI, the sandbox manager that runs agent sandboxes, ingress-nginx, an MCP server, a SearXNG web-search service and a STUN/TURN server for live previews. The values template also enables the optional built-in starter model, a small vLLM server, and the optional built-in voice for voice calls, a Kokoro text-to-speech and a Whisper speech-to-text server.
Kubernetes cluster¶
- Version: Kubernetes 1.27 or newer. The preflight script fails on older versions. On 1.30 and newer the chart also installs admission policies that hold what the orchestrator may create to what it needs (Orchestrator guard); older versions run without them.
- Sizing: about 16 vCPU and 32 GiB of allocatable memory is the recommended baseline, and 8 vCPU / 16 GiB the minimum for an evaluation; the preflight script warns below that. The platform itself is modest; capacity is dominated by concurrent agent sandboxes. A coding sandbox gets 2 vCPU and 4 GiB by default; browser, Android and desktop sandboxes get 4 vCPU and 6 GiB. Those are caps: a sandbox reserves only 0.1 vCPU and 128 MiB, and uses what it needs up to its cap. How many run at once is set by the namespace quota, or in shared mode by
orchestrator.maxActiveSessions(see Workload resources). - No GPUs required. Model inference runs through your organizations' AI providers; the optional built-in starter model and built-in voice run on CPU.
Storage¶
A StorageClass must exist for the platform's volumes. Every stateful component has its own storage class key, and most of them default to a class named standard; if your cluster's class has a different name, set each key (see Configuration reference). Sizes with the values-template settings:
| Volume | Size |
|---|---|
| Control-plane PostgreSQL | 50 Gi |
Project databases (crios-project-db) |
20 Gi |
| Vector store (project and organization knowledge) | 20 Gi |
| Vector store (failure-fix knowledge base) | 10 Gi |
| Git server | 10 Gi |
| Vault | 2 Gi |
| Redis | 1 Gi |
| Backup archive volume (optional, off by default) | 20 Gi |
| Per-session workspace | 20 Gi each |
| Image registry (only with publishing) | 50 Gi |
| Whisper model (built-in voice) | 8 Gi |
Workspace volumes are created per session. With the default retention settings, a finished session's workspace is reclaimed 24 hours after the session ends and a deleted session's 72 hours after the deletion, so plan headroom for your expected number of live sessions plus that tail; keeping finished workspaces longer needs more (Configuration reference). When the cluster's volume quota refuses a new session's workspace, Crios frees deleted sessions' workspaces at once and, on installations that remove finished workspaces, finished sessions' after one hour; with orchestrator.config.workspacePVCRetentionHours at 0 or less it frees nothing. The project-database volume is kept when the Helm release is uninstalled.
Backups need an S3-compatible bucket outside the cluster (AWS S3, MinIO, Cloudflare R2, or Google Cloud Storage in S3-interoperability mode) and an access key for it. The values template requires one, because backups do not stay on the cluster's own disk by default; see backups.
With dedicated project datastores enabled, each project's instances bring volumes of their own, created on first use: 2 Gi for a development copy and 10 Gi for a live app's database (orchestrator.projectDatastores.dedicated.sandboxSize and .durableSize), for each of PostgreSQL, MySQL and the key-value store that the project uses. A document store lives inside the project's PostgreSQL instance and adds no volume. The volumes use orchestrator.projectDatastores.dedicated.storageClass, or the cluster's default class when it is empty.
Ingress and TLS¶
- The chart bundles ingress-nginx; your cluster needs a way to expose it (a cloud LoadBalancer service, or ports 80 and 443 on your nodes).
- cert-manager must be installed with its CRDs before the Crios chart, with a
letsencrypt-productionClusterIssuer; the values template's ingresses request certificates from it. - Kyverno must be installed with its CRDs; Crios ships Kyverno policies that enforce sandbox isolation.
- The secrets-store CSI driver is optional: only
vault.csiDriver.enabled(off by default) rendersSecretProviderClassresources, which need the driver's CRDs. - The CloudNativePG operator is needed only for dedicated project datastores; install it with its CRDs before you enable them.
Sandbox isolation runtime¶
For multi-tenant use, install Kata Containers and register a kata RuntimeClass. Crios pins agent sandboxes to it, giving each session a hardware-virtualized microVM boundary (see sandbox isolation). For a single-tenant evaluation you may omit Kata and remove orchestrator.sandboxRuntimeClass from your values, accepting container-only isolation; this is not recommended for production.
DNS¶
You need control of a base domain (for example crios.example.com). Point these records at the ingress load balancer:
app.<domain>: web UIapi.<domain>: APIgit.<domain>: built-in git server*.<domain>: wildcard, required for iframe app previews served atp-<token>.<domain>capability URLs, forturn.<domain>(TURN over TLS in the values template), forregistry.<domain>if you enable publishing, and formcp.<domain>if you expose the MCP server
The wildcard also needs a wildcard TLS certificate, which requires a DNS-01 issuer or a manually provisioned Secret, because HTTP-01 cannot issue wildcards. See troubleshooting if previews serve a default certificate.
Optional: the built-in starter model¶
The starter model lets an organization without an AI provider use Crios straight away, on a small model (Qwen3 0.6B) served by vLLM on your cluster's CPU. Every organization of the installation shares it, and each one moves off it as soon as it connects its own provider (see Connect an AI provider). The values template turns it on with vllm.enabled: true and orchestrator.starterModel.enabled: true; leave both off if your cluster cannot run it. What it needs:
- CPU: x86-64 with AVX2 (AVX-512 recommended), or arm64. vLLM's CPU backend does not run on processors without AVX2, such as Intel Xeon E5 v2 (Ivy Bridge) and older.
- Resources: it reserves 0.25 vCPU and 9 GiB, and may use up to 4 vCPU and 10 GiB. Nearly all of that memory is in use all the time (about 8 GiB): vLLM loads the weights and allocates its 4 GiB KV cache (
vllm.kvCacheGiB) at start-up. It serves 4 requests at a time for the whole installation. The security chart's per-pod maximum (security.resourceQuotas.max.memory) must allow the 10 GiB limit; its default, 12 GiB, does. - Storage: a 5 GiB volume for the model weights (
vllm.persistence). - Images and downloads: the upstream
vllm/vllm-openai-cpuimage from Docker Hub (about 2.3 GB, pinned by digest), and, once, the model weights (about 1.5 GB) from Hugging Face at a pinned revision. Without access to Hugging Face, pointvllm.model.hfEndpointat a mirror, or copy the model into/models/qwen3-0.6bon the volume yourself and setvllm.model.download: false. - No GPU and no public exposure: the server is reachable only inside the cluster, through a ClusterIP Service on port 8000 that its NetworkPolicy opens to the orchestrator alone, and it requires an API key the chart generates. It works under the Kata runtime.
Keys are in the configuration reference.
Optional: built-in voice¶
Voice calls in the chat need a speech-to-text and a text-to-speech model. The built-in voice runs both on your cluster's CPU, shared by every organization of the installation: Whisper large-v3 through speaches to listen, and Kokoro 82M through Kokoro-FastAPI to speak. An organization can route either one to a speech API instead (routing). The values template turns both on with kokoro.enabled, whisper.enabled, orchestrator.voice.tts.enabled and orchestrator.voice.stt.enabled; leave a pair off if your cluster cannot run it. What it needs:
- CPU: for Whisper, x86-64 with AVX2 (AVX-512 with VNNI recommended), or arm64. Whisper large-v3 is a large model for a CPU. With its default 4 vCPU on an Intel Xeon E-2386G (AVX-512 VNNI), it transcribes a spoken sentence in 6 to 8 seconds, or 11 to 13 seconds when it has to detect the language; without AVX2 it takes 40 seconds to two minutes (measured on an Intel Xeon E5-2697 v2), so its pod refuses such a node (
whisper.cpuCheck.requireAVX2). Each utterance costs about the same whatever its length, because Whisper always processes a 30-second window. If that is too slow for your callers, route speech to text to a speech API. Kokoro runs on any x86-64 or arm64 CPU; on the same Xeon it speaks a sentence in about a second, roughly 3.5 times faster than real time, and without AVX2 only about as fast as real time. - Resources: Whisper reserves 0.25 vCPU and 2.5 GiB and may use up to 4 vCPU and 4 GiB (about 1.8 GiB in use with the model loaded, up to 2.8 GiB while it transcribes). Kokoro reserves 0.25 vCPU and 1.5 GiB and may use up to 4 vCPU and 3 GiB (about 1.3 to 1.7 GiB in use, 1.8 GiB at peak). Under Kata Containers, the page cache of files a container reads counts against its memory limit too; it is reclaimed when the limit is reached. Both count against the namespace quota's
requests.memory. For the whole installation, the orchestrator sends Whisper at most 2 utterances at a time and Kokoro at most 4 requests (orchestrator.voice.*.maxInFlight); Kokoro speaks them one after another. - Storage: an 8 GiB volume for the Whisper model (
whisper.persistence). Kokoro's model is inside its image. - Images and downloads: the upstream
ghcr.io/remsky/kokoro-fastapi-cpuimage (about 1.5 GB to download, 5 GB unpacked) andghcr.io/speaches-ai/speachesimage (about 0.9 GB to download, 3 GB unpacked) from GitHub Container Registry, both pinned by digest, and, once, the Whisper model (about 3.1 GB) from Hugging Face at a pinned revision. Without access to Hugging Face, pointwhisper.model.hfEndpointat a mirror, or setwhisper.model.download: falseand copy the model into the volume's Hugging Face cache yourself:/models/hub/models--Systran--faster-whisper-large-v3/, with the files undersnapshots/<revision>/and the revision written torefs/main. - No GPU and no public exposure: both servers are reachable only inside the cluster, through ClusterIP Services on ports 8880 (Kokoro) and 8000 (Whisper) that their NetworkPolicies open to the orchestrator alone; the Whisper server requires an API key the chart generates. Both run as a non-root user with a read-only root filesystem.
Keys are in the configuration reference.
Outbound network access¶
Cluster nodes need outbound HTTPS to:
ghcr.io: Crios container images- Let's Encrypt: certificate issuance
- Your AI providers' APIs (Anthropic, OpenAI, OpenRouter, MiniMax, or others you configure)
- Your backup bucket's S3 endpoint
openrouter.aiandmodels.dev: the model catalog and price syncs. For an air-gapped install, turn them off withorchestrator.openrouterSync.enabled: falseandorchestrator.modelsdevSync.enabled: false; the last synced data or the built-in defaults keep serving.- With the built-in starter model: Docker Hub for the
vllm/vllm-openai-cpuimage, andhuggingface.co(with its download CDN) once, for the model weights. See above for mirrors and offline installs. - With the built-in voice:
ghcr.iofor theremsky/kokoro-fastapi-cpuandspeaches-ai/speachesimages, andhuggingface.co(with its download CDN) once, for the Whisper model. See above for mirrors and offline installs.
License checks need no outbound access; keys are verified locally.
Image pull credentials¶
Crios images are pulled from a private registry. Your Crios contact provides a registry token with read access; you install it as a docker-registry Secret referenced by global.imagePullSecrets (see installation).
Operator tooling¶
On the machine you install from:
kubectlandhelm(required)jq(used by helper scripts and the Vault initialization during installation)age(required to set up encrypted backups)
Run ./scripts/preflight.sh --namespace <ns> --storage-class <class> --values deploy/values-<org>.yaml from the release bundle to check all of the above against your cluster before installing. --values adds the checks that depend on what your values file turns on, such as the CPU requirements of the built-in starter model and voice.