Skip to main content
Testkube 2.10.0 is out! Granular Metrics, AI MCP improvements, Organization management, and much more. Read More

Testkube AI Configuration Quick Start

Cloud Control Plane Users

For users of the Testkube Cloud Control Plane, AI features are enabled as follows:

  • AI Agents are always enabled for all environments in your organization.
  • AI Assistant is disabled by default, enabled by one of the following methods (Admin or Owner only):
    1. When you first access the AI Assistant, an initial prompt is displayed with action buttons that allow you to either enable the feature or keep it disabled.
    2. Navigate to Organization SettingsProduct Features tab and toggle AI Assistant on.
info

The default LLM used by AI functionality in Testkube Cloud is OpenAI's GPT-5.2-Codex.

You can add your own models (OpenAI, Azure OpenAI, or any OpenAI-compatible service) to make additional models available — see Configuring AI Models.

On-Prem Users

For On-Prem installations, you need to configure the AI service manually as described below - AND enable the AI Assistant in the Dashboard as described above.

AI Service Helm Configuration

Prerequisites:

  • OpenAI API key (or compatible LLM API)
  • PostgreSQL database (for conversation persistence) - this can live alongside your main Testkube PostgreSQL database.
testkube-ai-service:
enabled: true
postgres:
# Database name (defaults to 'ai' if empty)
database: "testkube_ai"
secretRef:
name: my-postgres-credentials # Secret with DB credentials
endpointKey: host # Key containing DB host
usernameKey: username # Key containing DB username
passwordKey: password # Key containing DB password
inference:
defaults:
secretRef: my-openai-secret
secretRefKey: api-key
agent:
- model: gpt-4o
default: true
tasks:
model: gpt-4o-mini
embeddings:
model: text-embedding-3-small

testkube-cloud-api:
aiApiSubdomain: ai
restApiSubdomain: api

testkube-cloud-ui:
ai:
enabled: true

Optional: Custom LLM Endpoint

For Azure OpenAI, self-hosted models, or other OpenAI-compatible APIs:

testkube-ai-service:
inference:
defaults:
extraHeaders:
api-key: "your-azure-key"
queryParams:
api-version: "2024-02-01"
agent:
- model: gpt-4o
default: true
url: "https://my-company.openai.azure.com/openai/deployments/gpt-4o"
tasks:
model: gpt-4o-mini
url: "https://my-company.openai.azure.com/openai/deployments/gpt-4o-mini"
# Omit embeddings if your provider doesn't support /v1/embeddings

Default Values Reference

SettingDefaultRequired for AI
testkube-ai-service.enabledfalseMust be true
testkube-cloud-ui.ai.enabledfalseMust be true
testkube-ai-service.postgres.*emptyPostgreSQL required
testkube-ai-service.inference.defaults.secretRefemptyAPI key required
postgresql.enabledfalseOnly if using bundled DB

Next Steps