Skip to content

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

Agentic Dev Setup

This toolkit is for disposable development clusters only. These scripts deploy with cluster-admin privileges, override operator images, patch live deployments, and skip production safeguards. Do not use on production clusters. Not recommended for staging, demo, or other customer-facing environments.

Scripts to install all Lightspeed agentic components on an OpenShift cluster for development. Builds from local source, pushes to the OpenShift internal registry, and deploys in-cluster.

Prerequisites

  • oc, podman, envsubst, helm on PATH
  • Logged into an OpenShift cluster with cluster-admin
  • GCP credentials available (see Credentials below)
  • Sibling repos cloned alongside this repo:
parent-dir/
├── agentic-dev-setup/               ← this repo
├── lightspeed-agentic-operator/     (required)
├── lightspeed-agentic-sandbox/      (optional — for building sandbox from source)
├── agentic-skills/                  (optional — for building skills from source)
├── lightspeed-agentic-console/      (optional — for building console from source)
├── cluster-update-console-plugin/   (optional — for cluster update console)
├── cluster-version-operator/        (optional — for dev CVO with agenticrun controller)
└── lightspeed-operator/             (optional — for building lightspeed operator from source)

Use clone.sh to set up the directory layout (run from the parent directory).

Quick Start

Using Claude (Anthropic via Vertex AI)

export VERTEX_PROJECT=my-gcp-project  # (i.e. itpc-ca-xyz...)
export VERTEX_REGION=global
./install-minimal.sh

Using OpenAI

export OPENAI_API_KEY=sk-...
./install-minimal.sh --openai
# Show all available options
./install-minimal.sh --help

GCP Credentials

Only VERTEX_PROJECT and VERTEX_REGION are required. Credentials are auto-discovered in this order:

  1. VERTEX_SA_KEY_PATH — explicit path to a service account key JSON
  2. GOOGLE_APPLICATION_CREDENTIALS — standard GCP env var
  3. ~/.config/gcloud/application_default_credentials.json — from gcloud auth application-default login

If none are found, install-all.sh exits early with instructions (before starting any builds). configure-llm.sh also validates credentials at deploy time.

Environment Variables

Variable Default Description
VERTEX_PROJECT (required) GCP project ID
VERTEX_REGION (required) GCP region
VERTEX_SA_KEY_PATH (auto-discovered) Path to GCP credentials JSON
VERTEX_MODEL gemini-2.5-flash / claude-opus-4-6 Agentic model name (depends on provider)
VERTEX_MODEL_PROVIDER Google Google, Anthropic, or OpenAI
OLS_MODEL provider-dependent OLS model name
OPENAI_API_KEY (required for openai) OpenAI API key
OPENAI_MODEL gpt-5.4 Model name for OpenAI provider
AGENTIC_NAMESPACE openshift-lightspeed Namespace for all components
SANDBOX_MODE bare-pod bare-pod or sandbox-claim
SANDBOX_IMAGE (auto) Override sandbox image (skip build)
CONSOLE_IMAGE (auto) Override console plugin image (skip build)
CLUSTER_UPDATE_IMAGE (auto) Override cluster-update-console image (skip build)
SKIP_BUILD (unset) Skip all image builds
BUILD_ONLY (unset) Build images locally only (no push, no deploy, no cluster needed)
AGENTIC_OPERATOR_DIR ../lightspeed-agentic-operator Agentic operator source
SANDBOX_DIR ../lightspeed-agentic-sandbox Sandbox source
SKILLS_DIR ../agentic-skills Skills source
CONSOLE_DIR ../lightspeed-agentic-console Console plugin source
CLUSTER_UPDATE_DIR ../cluster-update-console-plugin Cluster update console source
LIGHTSPEED_DIR ../lightspeed-operator Lightspeed operator source
CVO_DIR ../cluster-version-operator CVO source (for install-cvo.sh)

Individual Scripts

Each script can be run independently:

./install-agentic-sandbox.sh        # Build sandbox image only
./install-skills.sh                 # Build skills image only
./install-agentic-console.sh        # Build console plugin image only
./install-lightspeed.sh             # Build + deploy lightspeed operator + OLSConfig
./install-agentic-operator.sh       # Deploy agentic operator
./install-cluster-update-console.sh # Build + deploy cluster-update-console-plugin
./install-cvo.sh                    # Build + deploy dev CVO (standalone, not in install-all)
./configure-llm.sh                  # Configure agentic LLM provider + Agent CR
./ols-configure-llm.sh              # Configure OLS LLM provider + OLSConfig CR
./uninstall.sh                      # Tear down everything

Uninstall

./uninstall.sh

# Skip confirmation prompt
FORCE=1 ./uninstall.sh

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages