Availability
Deployment Models
Tyk AI Studio supports two deployment modes:Standalone
Standalone mode operates as a single AI Studio instance with embedded gateway functionality. It is suitable for development, testing, and small teams. Characteristics:- Single instance deployment
- Built-in gateway functionality
- SQLite database (or PostgreSQL)
- No external dependencies
Hub and Spoke (Control + Edge)
Control Plane with Edge Gateways uses AI Studio as the central control plane managing edge gateways for distributed request processing. This approach uses lightweight Edge Gateways instances that connect to the control plane. It is suitable for production, enterprise, and multi-region deployments. Characteristics:- Centralized configuration management
- Distributed request processing
- Regional edge deployments
- High availability and fault tolerance
- Namespace-based multi-tenancy
Choosing Your Deployment
Before you deploy to production, replace the secrets that AI Studio ships with. See Tyk AI Studio in the Default Secrets Configuration Reference.
Requirements
Tyk AI Studio and Edge Gateway requires a persistent datastore for its operations. By default, SQLite is used, while PostgreSQL is recommended for production deployments. SQLite serves one AI Studio process. From v2.3, you can run several AI Studio replicas on one PostgreSQL database. Several replicas need PostgreSQL 14 or later.Required Components
Optional Components
Tyk AI Studio uses a message queue for chat interface. Set it withQUEUE_TYPE:
inmemory(default): for development and single-instance deploymentspostgres: uses the AI Studio PostgreSQL databasenats: uses NATS JetStream
postgres or nats. To run AI Studio in two regions, refer to Active-Active Deployment of Tyk AI Studio.
Recommended Installation: Docker
For development, testing, and proof of concept, use the Docker installation. It quickly starts AI Studio on your local machine.
Install with Docker
Alternative Installation Methods

Install on Kubernetes
Install on Linux