Skip to content

Deployment guide

Getting Started

This is a quick start guide on how to deploy the blueprint. For advanced options, such as reusing an existing AIM, providing a Hugging Face token, or overriding storage classes, see Deploying Solution Blueprints with Helm or explore the advanced deployment guide.

Prerequisites

System Requirements

This blueprint can be deployed on AMD Instinct (default), AMD EPYC, and AMD Radeon. The blueprint requires the following cluster resources by default, depending on the hardware being used:

ResourceInstinctRadeonEPYC
GPUs220
CPUs13 CPU cores13 CPU cores147 CPU cores
RAM272 Gi80 Gi144 Gi

To deploy to the Kubernetes cluster, ensure the following prerequisites are met:

  • kubectl: Installed and configured to communicate with the cluster
  • Helm 3.16 – 4.2.0: Installed on your local machine
  • A Kubernetes cluster with a usable StorageClass. The default is mlstorage; see the Storage configuration section for details and override instructions.

Deployment

Solution Blueprints are packaged as OCI-compliant Helm charts in the Docker Hub registry and can be deployed to a Kubernetes cluster with a single command. Define the name (deployment name) and the namespace (Kubernetes namespace), then pipe the output of helm template to kubectl apply -f -.

Find the deployment command below. Note: You can create a namespace using kubectl create namespace <my-namespace>.

Terminal window
name="my-deployment"
namespace="my-namespace"
helm template $name oci://registry-1.docker.io/amdenterpriseai/aimsb-agentic-rag \
| kubectl apply -f - -n $namespace

Verify Deployment

To check the status of the deployment, run:

Terminal window
kubectl get pods -n $namespace

Wait until all pods report Running and Ready.

Connect to UI

To connect to the UI, port-forward the agent application service to any chosen port, e.g., 8080. The UI will then be available at http://localhost:8080 in your browser.

Terminal window
kubectl port-forward services/aimsb-agentic-rag-${name}-agent-app 8080:80 -n $namespace

Use the UI

  1. Open the UI at http://localhost:8080.
  2. Create a folder, or use the default folder, for your documents.
  3. Click Upload documents and select PDF or TXT files. Wait for indexing to complete.
    • Upload and indexing progress is shown in the Activity panel on the right.
  4. Select the folder or folders that the agent should search.
    • Open Settings on the right to adjust the selected folders, temperature, chunks per search, and maximum search attempts.
  5. Enter a question about the indexed documents and submit it.
  6. Review the answer, source citations, and agent trace shown in the UI.
    • The agent trace appears in the Activity panel on the right while the question is being processed.

Use Clear knowledge base to remove indexed documents when they are no longer needed. To delete an individual folder and all of its indexed documents, click the delete button next to that folder. At least one folder must remain.

Clean Up

When you are finished, remove the deployed resources using the same deployment command, with kubectl delete instead of kubectl apply. For example, for Instinct use the following command:

Terminal window
helm template $name oci://registry-1.docker.io/amdenterpriseai/aimsb-agentic-rag \
| kubectl delete -f - -n $namespace

Third-party Components

This Solution Blueprint utilizes multiple components. For third-party license information, refer to each component’s documentation. Key third-party components are listed below.

ComponentLicense
LangGraphMIT
LangChainMIT
MCP Python SDKMIT
FastAPIMIT
ReactMIT
ChromaDBApache-2.0
vLLMApache-2.0
pypdfBSD-3-Clause

Terms of Use

AMD Solution Blueprints are released under the MIT License, which governs the parts of the software and materials created by AMD. Third-party software and materials used within the Solution Blueprints are governed by their respective licenses.

Refer to the documentation for additional information and advanced deployment options.

View advanced deployment guide