agent-backend

by seqera.io

Helm chartv1.7.0App 2.5.0Apache-2.0Verified publisher

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 in values.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.platformExternalDomain and .global.mcpDomain, respectively (Agent Backend requires requires the Seqera Platform and the Seqera MCP installed).
  • The .image section pointing to your container registry.
  • The Seqera Platform Service connection details under .global.platformServiceAddress and .global.platformServicePort. These point to the Platform backend service that the Agent Backend communicates with. When deploying this subchart as part of the parent platform umbrella chart, these values are inherited automatically from the parent chart's global section.
  • The database connection details for the MySQL database under the .database section.
  • The Redis connection details under the .redis section.
  • The inference provider under .inference.provider (one of bedrock, anthropic) and the corresponding provider credentials:
    • For Bedrock: optionally set .bedrock.default.region and .bedrock.default.assumeRoleArn as defaults applied to all Bedrock-backed services, with per-service overrides available under .bedrock.inference.*.
    • For Anthropic: set .anthropic.apiKey or reference an existing Secret via .anthropic.existingSecretName.
  • Container registry credentials under the .global.imageCredentials section (can be the credentials for cr.seqera.io or 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.imageCredentialsSecrets value. 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) and cr.seqera.io/ai (where Seqera AI products are located).
    • Additional pull secrets can be defined in each .image section to extend the global credentials, if that image is located in a different registry.
    • Image pull secrets defined in the specific .image section will be added to the global ones, they won't replace them.
  • Define appropriate resources for each component, look for resources sections in the values.yaml file, 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: bedrock and configure .bedrock.embeddings.* (model, dimensions, region, assumeRoleArn).
  • Sandbox (AWS Bedrock AgentCore only): set .sandbox.provider: bedrock and 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:

  1. Download the default values file:
    helm show values oci://public.cr.seqera.io/charts/agent-backend --version 1.7.0 > values.yaml
    
  2. Edit values.yaml to 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.
  3. 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

RepositoryNameVersion
file://../../../seqera-commonseqera-common3.x.x
oci://registry-1.docker.io/bitnamichartscommon2.x.x

Values

Global: Images

KeyTypeDefaultDescription
global.imageRegistrystring""Container image registry applied to Platform and all subcharts. When set, this overrides component-level image.registry values

Global

KeyTypeDefaultDescription
global.platformExternalDomainstring"example.com"Domain where Seqera Platform listens
global.platformServiceAddressstring""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.platformServicePortintnilSeqera 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.agentBackendDomainstring"{{ printf \"ai-api.%s\" .Values.global.platformExternalDomain }}"Domain where the Agent Backend service listens. Evaluated as a template
global.mcpDomainstring"{{ printf \"mcp.%s\" .Values.global.platformExternalDomain }}"Domain where Seqera MCP listens. Evaluated as a template

Global: Ingress

KeyTypeDefaultDescription
global.ingress.enabledboolfalseEnable 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.pathstring"/"Default path applied to ingress rules when ingress.path is not set. AWS ALB users should override to /*.
global.ingress.defaultPathTypestring"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.ingressClassNamestring""Default ingress class name applied when ingress.ingressClassName is not set
global.ingress.annotationsobject{}Annotations merged into the Ingress. Local ingress.annotations wins on key collision. Evaluated as a template
global.ingress.extraLabelsobject{}Extra labels merged into the Ingress. Local ingress.extraLabels wins on key collision. Evaluated as a template
global.ingress.tlslist[]TLS entries concatenated with the local ingress.tls. Evaluated as a template

Global: Image Credentials

KeyTypeDefaultDescription
global.imageCredentialslist[]Optional credentials to log in and fetch images from a private registry. These credentials are shared with all the subcharts automatically
global.imageCredentialsSecretslist[]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

KeyTypeDefaultDescription
inference.providerstring""Inference provider. One of: "bedrock", "anthropic". Required.
embeddings.providerstring""Embeddings provider. One of: "bedrock". When empty, embeddings are disabled.
sandbox.providerstring""Sandbox provider. One of: "bedrock". When empty, sandbox is disabled.

Bedrock: Default

KeyTypeDefaultDescription
bedrock.default.assumeRoleArnstring""Optional default IAM role ARN to assume before invoking the Bedrock APIs.
bedrock.default.regionstring""Default AWS region to use for all Bedrock services.

Bedrock: Inference

KeyTypeDefaultDescription
bedrock.inference.assumeRoleArnstring""Optional IAM role ARN to assume for Bedrock inference (overrides bedrock.default.assumeRoleArn).
bedrock.inference.regionstring""AWS region for Bedrock inference (overrides bedrock.default.region).
bedrock.inference.anthropicModelstring""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

KeyTypeDefaultDescription
bedrock.embeddings.assumeRoleArnstring""Optional IAM role ARN to assume for Bedrock embeddings (overrides bedrock.default.assumeRoleArn).
bedrock.embeddings.regionstring""AWS region for Bedrock embeddings (overrides bedrock.default.region).
bedrock.embeddings.modelstring"amazon.titan-embed-text-v2:0"Bedrock model ID used for embeddings.

Bedrock: Sandbox

KeyTypeDefaultDescription
bedrock.sandbox.assumeRoleArnstring""Optional IAM role ARN to assume before invoking AgentCore (overrides bedrock.default.assumeRoleArn).
bedrock.sandbox.regionstring""AWS region for AgentCore.
bedrock.sandbox.runtimeArnstring""AWS Bedrock AgentCore runtime ARN for sandbox sessions.

Anthropic

KeyTypeDefaultDescription
anthropic.apiKeystring""Anthropic API key. Set this OR existingSecretName, not both.
anthropic.existingSecretNamestring""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.existingSecretKeystring"ANTHROPIC_API_KEY"Key in the existing Secret containing the Anthropic API key
anthropic.inference.modelstring""Name of the language model to use

Database

KeyTypeDefaultDescription
database.hoststring""MySQL database hostname
database.portint3306MySQL database port
database.namestring""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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartagent-backend is pinned at v1.7.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. 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