Power Modernization

Power Modernization

Learn about the robust capabilities of IBM Power systems - alongside Red Hat technologies - for modernizing your apps and operations without the need to overhaul existing hardware, offering a flexible and incremental path to innovation.


#Power


#Servers
#Applicationmodernization
#Power
 View Only

OpenRAG on IBM Power

By Jason Cho posted 09/17/26 06:30 PM

  

Contributors

Jason Cho

Amir Sanjar

James Jenkins

Sharath P J

OpenRAG on Power

We are happy to announce that OpenRAG is now available on IBM Power 10 and 11.

OpenRAG is an open-source retrieval augmented generation (RAG) platform that allows users to upload, process, and query documents through a AI-powered conversations through a chat interface backed by large language models and semantic search capabilities. It combines three open-source projects all into one powerful platform.

Docling, a document parsing library that supports many file formats such as PDF, JPEG, DOCX, PPTX, XLSX for seamless integrations with the generative AI ecosystem.

Langflow, a visual workflow builder which is a versatile tool for building and deploying AI agents and MCP servers.

OpenSearch, an enterprise grade vector search that simplifies the ability to ingest, search, visualize and analyze data. OpenRAG uses OpenSearch as the underlying database for storing and retrieving the vectorized data from ingested documents.

Using OpenRAG

To use OpenRAG, a user can upload documents to OpenRAG knowledge base where in the background, Docling will process and chunk that document and store those chunks into OpenSearch where they're saved as vector embeddings. Then, when a user wants to run queries regarding that document, Langflow will run a RAG flow by taking the user prompt into OpenSearch where it'll run vector and retrieval search to find relevant information regarding the user's prompt. Then OpenSearch will send relevant data to an LLM such as Ollama where the models will convert the vectorized data into a generated grounded answer back to the user.

image

Steps to Install and Deploy OpenRAG on Power

  1. Prerequisites
    • Before deploying OpenRAG, ensure your Power machine has these: uv, podman-compose, python3.13
    • ssh into your Power machine by tunneling Langflow and OpenRAG ports ssh -L 3000:localhost:3000 -L 7860:localhost:7860 user@ip-address 
    • Install uv using curl -LsSf https://astral.sh/uv/install.sh | sh 
    • Then set up python 3.13 virtual environment by creating a new directory and running uv venv --python 3.13 and source .venv/bin/activate
    • Then install podman-compose using command uv pip install podman-compose
  2. Download wheels from DevPi
    export INDEX_URL_DEVPY="https://wheels.developerfirst.ibm.com/ppc64le/linux/+simple"
    uv pip install tiktoken==0.13.0 grpcio==1.82.1 openrag==0.6.0 --extra-index-url $INDEX_URL_DEVPY --index-strategy unsafe-best-match
    uv pip install av==15.1.0 numpy==2.5.1 docling-parse==7.9.0 docling-serve==1.5.0 scipy==1.18.0 --extra-index-url $INDEX_URL_DEVPY --index-strategy unsafe-best-match
  3. Pull images from icr.io and retag them to match images in docker-compose file
    podman pull icr.io/ppc64le-oss/openrag-backend-ppc64le:0.6.0
    podman pull icr.io/ppc64le-oss/openrag-frontend-ppc64le:0.6.0
    podman pull icr.io/ppc64le-oss/langflow-ppc64le:v1.9.6
    podman pull icr.io/ppc64le-oss/opensearch-dashboards-ppc64le:3.6.0
    podman pull icr.io/ppc64le-oss/openrag-opensearch-ppc64le:0.6.0

    podman image tag icr.io/ppc64le-oss/openrag-backend-ppc64le:0.6.0 docker.io/langflowai/openrag-backend:0.6.0
    podman image tag icr.io/ppc64le-oss/openrag-frontend-ppc64le:0.6.0 docker.io/langflowai/openrag-frontend:0.6.0
    podman image tag icr.io/ppc64le-oss/langflow-ppc64le:v1.9.6 docker.io/langflowai/openrag-langflow:0.6.0
    podman image tag icr.io/ppc64le-oss/opensearch-dashboards-ppc64le:3.6.0 docker.io/opensearchproject/opensearch-dashboards:3.6.0
    podman image tag icr.io/ppc64le-oss/openrag-opensearch-ppc64le:0.6.0 docker.io/langflowai/openrag-opensearch:0.6.0
  4. Deploy Openrag tui using uv run openrag --tui

    image

  5. In the tui, setup openrag .env file by clicking on basic setup and then save configuration. Keys will automatically generate
  6. Start docling-serve in a seperate terminal
    • uv run docling-serve run
    • Add docling path to .openrag/tui/.env
      • DOCLING_SERVE_URL=http://host.containers.internal:5001
    • Going back to the tui deploy OpenRAG containers by clicking on Start OpenRAG
  7. Deploy ollama container and install models. We recommend using mistral-nemo:12b and nomic-embed-text:latest but feel free to try any other models.
    podman run -d --name ollama --network tui_default -p 11434:11434 icr.io/ppc64le-oss/ollama-ppc64le:v0.32.7
    podman exec ollama ollama pull mistral-nemo:12b
    podman exec ollama ollama pull nomic-embed-text
  8. Access OpenRAG UI on localhost:3000

Current Supported Versions

OpenRAG 0.6.0
Docling 1.5.0
Langflow 1.9.6
OpenSearch 3.6.0
Ollama 0.32.7

Troubleshooting

Some issues/bugs we've found so far in OpenRAG were

1. If there is an Error that looks like this, then you need to setup your own MCP-server

Set up custom MCP-server using mcp-proxy 

  • Install mcp from uv
    • uv tool install "mcp-proxy==0.12.0" --with "mcp==1.29.0" 
  • Generate Langflow API key in UI, localhost:7860 

  • Go to settings -> Langflow API Keys -> Add New -> Generate API Key 

  • Use that API Key to get Project ID # by running in your terminal

    • curl -s --compressed \
        -H "x-api-key: sk-OVxKp60LMSj_3yQahbtKxuI-ueETecZL5gHLPraFeeg" \
        http://127.0.0.1:7860/api/v1/projects/ \
        | python3 -m json.tool | grep -E '"id"|"name"'

  • Use nohup to create mcp-server on port 8009 

    • nohup mcp-proxy --port 8009 --host 0.0.0.0 \ --named-server langflow \ "uvx mcp-proxy --transport sse \ --headers x-api-key $API_KEY \ http://127.0.0.1:7860/api/v1/mcp/project/$PROJECT_ID/sse" 

  • Configure in Langflow UI in OpenRAG OpenSearch Agent Flow 

2. OpenSearch becomes read-only mode when Power VM storage is above 90%

  • Clear storage and then restart OpenRAG services

Please reach out to our team on slack to notify us of any more issues/blockers that you discover.

A special thank you to our Summer 2026 Austin Interns Ethan Choe, Owen Zhang, Ryder Salinas, Varsha Kumar, Kamryn Schock, Jill Chaudhari, and Nethra Raghu for their hard work and contributions.


#PowerDataandAI
0 comments
18 views

Permalink