agent-backend
by seqera.io
Backend service for Seqera CLI AI capabilities
About this chart
agent-backend
Backend service for Seqera CLI AI capabilities
Some basic familiarity with Helm is assumed. If you are new to Helm, please refer to the Helm documentation.
We recommend reading through the values.yaml file to understand the configuration options available for the chart. Each entry is documented with # -- comments describing its purpose and usage. Other annotations are used to automatically generate the README files and can be ignored:
# @section— groups related values under a heading in the generated README# @default— documents a default value that is computed in the templates rather than set literally invalues.yaml
Requirements and configuration
For a full list of prerequisites needed to deploy Seqera AI, refer to the Seqera AI prerequisites documentation.
Note that the Seqera charts do not automatically set cr.seqera.io as the registry where to pull images from, as we want to encourage users to use their own registries to improve reliability: instructions are available to vendor the Seqera container images to your private registry. We also recommend vendoring the Seqera charts.
The required values to set in order to have a working installation are:
- The agent-backend domain need to be set at
.global.agentBackendDomain. - The domain where Seqera Platform and MCP are installed, set at
.global.platformExternalDomainand.global.mcpDomain, respectively (Agent Backend requires requires the Seqera Platform and the Seqera MCP installed). - The
.imagesection pointing to your container registry. - The Seqera Platform Service connection details under
.global.platformServiceAddressand.global.platformServicePort. These point to the Platform backend service that the Agent Backend communicates with. When deploying this subchart as part of the parentplatformumbrella chart, these values are inherited automatically from the parent chart'sglobalsection. - The database connection details for the MySQL database under the
.databasesection. - The Redis connection details under the
.redissection. - The inference provider under
.inference.provider(one ofbedrock,anthropic) and the corresponding provider credentials:- For Bedrock: optionally set
.bedrock.default.regionand.bedrock.default.assumeRoleArnas defaults applied to all Bedrock-backed services, with per-service overrides available under.bedrock.inference.*. - For Anthropic: set
.anthropic.apiKeyor reference an existing Secret via.anthropic.existingSecretName.
- For Bedrock: optionally set
- Container registry credentials under the
.global.imageCredentialssection (can be the credentials forcr.seqera.ioor your private registry where you vendored the images to). Alternatively, to avoid storing sensitive credentials in the values file, you can create a Kubernetes Secret containing the credentials and reference it in the.global.imageCredentialsSecretsvalue. Refer to the Kubernetes docs to create a Kubernetes Secret to store image pull credentials.- These credentials will be used by all the subcharts unless overridden in the specific subchart.
- Multiple credentials can be specified to cover different registries or repositories within the same registry, e.g. you can set credentials for
cr.seqera.io/enterprise(where Platform images are located) andcr.seqera.io/ai(where Seqera AI products are located). - Additional pull secrets can be defined in each
.imagesection to extend the global credentials, if that image is located in a different registry. - Image pull secrets defined in the specific
.imagesection will be added to the global ones, they won't replace them.
- Define appropriate resources for each component, look for
resourcessections in thevalues.yamlfile, sane defaults are recommended in a comment; more details here.
The following capabilities are optional and disabled when their provider is not set:
- Embeddings (AWS Bedrock only): set
.embeddings.provider: bedrockand configure.bedrock.embeddings.*(model, dimensions, region, assumeRoleArn). - Sandbox (AWS Bedrock AgentCore only): set
.sandbox.provider: bedrockand configure.bedrock.sandbox.*(runtimeArn, region, assumeRoleArn).
The Helm chart comes with several requirement checks that will validate the provided configuration before proceeding with the installation.
By default the chart selects the application images defined in the appVersion field of the Chart.yaml file, currently set as 2.5.0.
When a sensitive value is required (e.g. the database password, the Seqera license key), you can either provide it directly in the values file or reference an existing Kubernetes Secret containing the value. The key names to use in the provided Secret are specified in the values file comments. Sensitive values provided as plain text by the user are always stored in a Kubernetes Secret created by the chart. When an external Secret is used instead, the chart instructs the components to read the sensitive value from the external Secret directly, without further storing copies of the sensitive value in the chart-created Secret. Refer to this example for a demonstration of how to create a Kubernetes Secret to store sensitive values.
Installing the chart
To install the chart:
- Download the default values file:
helm show values oci://public.cr.seqera.io/charts/agent-backend --version 1.7.0 > values.yaml - Edit
values.yamlto match your environment. We recommend removing entries whose defaults you don't need to override — this keeps your configuration file focused and easier to maintain across upgrades. - Install the chart with the release name
my-release:helm install my-release oci://public.cr.seqera.io/charts/agent-backend \ --version 1.7.0 \ --namespace my-namespace \ --create-namespace \ -f values.yaml
For a list of available chart versions, see the chart repository: https://public.cr.seqera.io/repo/charts/agent-backend
Alternative: installing from the Helm repository
Charts are also published to a traditional Helm repository. This can be useful in environments where pulling from OCI registries is restricted:
helm repo add seqeralabs https://seqeralabs.github.io/helm-charts
helm repo update
helm install my-release seqeralabs/agent-backend \
--version 1.7.0 \
--namespace my-namespace \
--create-namespace \
-f values.yaml
Upgrading the chart
When upgrading between versions, please refer to the CHANGELOG.md for breaking changes and migration instructions.
Requirements
| Repository | Name | Version |
|---|---|---|
| file://../../../seqera-common | seqera-common | 3.x.x |
| oci://registry-1.docker.io/bitnamicharts | common | 2.x.x |
Values
Global: Images
| Key | Type | Default | Description |
|---|---|---|---|
| global.imageRegistry | string | "" | Container image registry applied to Platform and all subcharts. When set, this overrides component-level image.registry values |
Global
| Key | Type | Default | Description |
|---|---|---|---|
| global.platformExternalDomain | string | "example.com" | Domain where Seqera Platform listens |
| global.platformServiceAddress | string | "" | Seqera Platform Service name: can be the internal Kubernetes hostname or an external ingress hostname. Evaluated as a template. Required when deploying this subchart standalone. When deploying as part of the parent platform umbrella chart, this value is inherited from the parent chart's global section |
| global.platformServicePort | int | nil | Seqera Platform Service port. Required when deploying this subchart standalone. When deploying as part of the parent platform umbrella chart, this value is inherited from the parent chart's global section |
| global.agentBackendDomain | string | "{{ printf \"ai-api.%s\" .Values.global.platformExternalDomain }}" | Domain where the Agent Backend service listens. Evaluated as a template |
| global.mcpDomain | string | "{{ printf \"mcp.%s\" .Values.global.platformExternalDomain }}" | Domain where Seqera MCP listens. Evaluated as a template |
Global: Ingress
| Key | Type | Default | Description |
|---|---|---|---|
| global.ingress.enabled | bool | false | Enable Ingress for this chart. OR'd with the chart's local ingress.enabled so setting this once at the parent enables all subchart Ingresses. |
| global.ingress.path | string | "/" | Default path applied to ingress rules when ingress.path is not set. AWS ALB users should override to /*. |
| global.ingress.defaultPathType | string | "Prefix" | Default path type applied to ingress rules when ingress.defaultPathType is not set. Prefix works for nginx, traefik, AWS ALB, and most modern controllers. |
| global.ingress.ingressClassName | string | "" | Default ingress class name applied when ingress.ingressClassName is not set |
| global.ingress.annotations | object | {} | Annotations merged into the Ingress. Local ingress.annotations wins on key collision. Evaluated as a template |
| global.ingress.extraLabels | object | {} | Extra labels merged into the Ingress. Local ingress.extraLabels wins on key collision. Evaluated as a template |
| global.ingress.tls | list | [] | TLS entries concatenated with the local ingress.tls. Evaluated as a template |
Global: Image Credentials
| Key | Type | Default | Description |
|---|---|---|---|
| global.imageCredentials | list | [] | Optional credentials to log in and fetch images from a private registry. These credentials are shared with all the subcharts automatically |
| global.imageCredentialsSecrets | list | [] | Optional list of existing Secrets containing image pull credentials to use for pulling images from private registries. These Secrets are shared with all the subcharts automatically |
Service Routing
| Key | Type | Default | Description |
|---|---|---|---|
| inference.provider | string | "" | Inference provider. One of: "bedrock", "anthropic". Required. |
| embeddings.provider | string | "" | Embeddings provider. One of: "bedrock". When empty, embeddings are disabled. |
| sandbox.provider | string | "" | Sandbox provider. One of: "bedrock". When empty, sandbox is disabled. |
Bedrock: Default
| Key | Type | Default | Description |
|---|---|---|---|
| bedrock.default.assumeRoleArn | string | "" | Optional default IAM role ARN to assume before invoking the Bedrock APIs. |
| bedrock.default.region | string | "" | Default AWS region to use for all Bedrock services. |
Bedrock: Inference
| Key | Type | Default | Description |
|---|---|---|---|
| bedrock.inference.assumeRoleArn | string | "" | Optional IAM role ARN to assume for Bedrock inference (overrides bedrock.default.assumeRoleArn). |
| bedrock.inference.region | string | "" | AWS region for Bedrock inference (overrides bedrock.default.region). |
| bedrock.inference.anthropicModel | string | "" | Anthropic inference profile ARN to use on Bedrock (e.g. a custom or cross-region/cross-account profile). Only Anthropic models are supported. |
Bedrock: Embeddings
| Key | Type | Default | Description |
|---|---|---|---|
| bedrock.embeddings.assumeRoleArn | string | "" | Optional IAM role ARN to assume for Bedrock embeddings (overrides bedrock.default.assumeRoleArn). |
| bedrock.embeddings.region | string | "" | AWS region for Bedrock embeddings (overrides bedrock.default.region). |
| bedrock.embeddings.model | string | "amazon.titan-embed-text-v2:0" | Bedrock model ID used for embeddings. |
Bedrock: Sandbox
| Key | Type | Default | Description |
|---|---|---|---|
| bedrock.sandbox.assumeRoleArn | string | "" | Optional IAM role ARN to assume before invoking AgentCore (overrides bedrock.default.assumeRoleArn). |
| bedrock.sandbox.region | string | "" | AWS region for AgentCore. |
| bedrock.sandbox.runtimeArn | string | "" | AWS Bedrock AgentCore runtime ARN for sandbox sessions. |
Anthropic
| Key | Type | Default | Description |
|---|---|---|---|
| anthropic.apiKey | string | "" | Anthropic API key. Set this OR existingSecretName, not both. |
| anthropic.existingSecretName | string | "" | Name of an existing Secret containing the Anthropic API key. Note: the Secret must already exist in the same namespace at the time of deployment |
| anthropic.existingSecretKey | string | "ANTHROPIC_API_KEY" | Key in the existing Secret containing the Anthropic API key |
| anthropic.inference.model | string | "" | Name of the language model to use |
Database
| Key | Type | Default | Description |
|---|---|---|---|
| database.host | string | "" | MySQL database hostname |
| database.port | int | 3306 | MySQL database port |
| database.name | string | "" | MySQL database n |
Deploy agent-backend with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has agent-backend 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 chartagent-backend is pinned at v1.7.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