Setup Context Engine
Follow this guide to setup, install, and begin using the Context Engine in On Prem environments.
Context Engine documentation
See the full Context Engine documentation for more details on the Context Engine.
Prerequisites
Infrastructure Requirements
The machine running the Context Engine components should have at least:
vCPU: 8
16 GB RAM
PostgreSQL Instance (Recommended Size):
vCPU: 4
Memory: 32 GB
Disk: 100 GB
You may opt for smaller instances if working with a relatively small codebase.
PostgreSQL Version: 17
Required Configuration:
pg_vectorextension installedNote: This is pre-installed in managed cloud deployments.
TCP port
5432must be accessible from the Kubernetes cluster where the Context Engine will be deployedTwo separate databases:
rag-indexermetadata
Two PostgreSQL users with full access to their respective databases
Supported Git Providers:
GitHub (Cloud or Enterprise)
GitLab
Bitbucket Data Center
Models Supported
These models are used by the Context Engine and must be available for the Context Engine to be used:
gpt-5claude-4.1-opus
Contact Qodo support if none of these AI models are supported by your system.
Contact Qodo support If you're using a custom LLM gateway.
1. Context Engine Installation
The Context Engine consists of a few components. Install them in the following order:
metadata-servicerag-indexercontext-retrievercontext-retriever-mcp(only if you'd like to connect your codebase understanding capabilities to tools that are not Qodo Gen or Qodo Merge).
We recommend deploying all components in the same Kubernetes namespace.
Each component requires its own values.yaml file with configuration like the following.
1. metadata-service
Example metadata-values.yaml:
Install with Helm:
2. rag-indexer
Install with Helm:
3. context-retriever
Install with Helm:
Trigger initial indexing (if you prefer to not wait until the cronjob is triggered):
kubectl create job indexer-reindex-manual --from=cronjob/indexer-reindexVerify
indexerpod (that is part of the deployment, not the job) logs, to confirm indexing has completed (can take anywhere from minutes to up to a day, depends on how many repositories are configured and how big they are).
4. context-retriever-mcp
Note: Set context-retriever-mcp only if you'd like to connect your codebase understanding capabilities to tools that are not Qodo Gen or Qodo Merge.
2. Finish Setup on your version control
Finish setting up Qodo Aware on your version control:
2.1 Custom CA
If you are using On prem git provider with HTTPS connection from qodo-engine you will need to configure the custom CA like this:
Enabling Context Engine functionality in the Git Integration
Git Integration
Update qodo-merge secret, append the following
Restart pods to pick up the new secret.
Last updated


