This section describes how to provision and connect to ‘Hermes Agent – Build, Deploy & Scale Autonomous AI’ VM solution on GCP.
Open Hermes Agent – Build, Deploy & Scale Autonomous AI listing on GCP Marketplace.
Click Get Started.

It will ask you to enable the API’s if they are not enabled already for your account. Please click on enable as shown in the screenshot.

It will take you to the agreement page. On this page, you can change the project from the project selector on top navigator bar as shown in the below screenshot.
Accept the Terms and agreements by ticking the checkbox and clicking on the AGREE button.

It will show you the successfully agreed popup page. Click on Deploy.

On deployment page, give a name to your deployment.
You are missing resourcemanager.projects.setIamPolicy permission, which is needed to set the required roles on the created Service Account
Select a zone where you want to launch the VM(such as us-east1-a)
Optionally change the number of cores and amount of memory.
Minimum VM Specs : 15GB RAM /4vCPU

This VM can also be deployed using an NVIDIA T4 GPU instance for faster inference. To deploy the VM with a GPU, click on the GPU tab as shown in below screenshot and select a NVIDIA T4 GPU instance. Please note that GPU availability is limited to specific regions, zones, and machine types. If you do not see a GPU option for your selected region, zone, or machine type, try adjusting those settings to find available configurations.

Optionally change the boot disk type and size. (This defaults to ‘Standard Persistent Disk’ and 50GB respectively)
Optionally change the network name and subnetwork names. Be sure that whichever network you specify has ports 22 (for ssh) and 443 (for HTTPS) exposed.
Click Deploy when you are done.
Hermes Agent – Build, Deploy & Scale Autonomous AI will begin deploying.



A summary page displays when the compute engine is successfully deployed. Click on the Instance link to go to the instance page .
On the instance page, click on the “SSH” button, select “Open in browser window”.

sudo su ubuntu
cd /home/ubuntu/

cat /home/ubuntu/.hermes/.env | grep HERMES_DASHBOARD_BASIC_AUTH

Browser will display an SSL certificate warning message. Expand the warning message, accept the certificate warning and Continue.




ollama pull <model_name>
e.g ollama pull gemma2:9b



or from terminal you can run,
hermes config set model <provider_name>/<model_name>
e.g hermes config set model ollama/gemma2:9b

hermes model
choose your provider of choice and follow the on screen instruction. Once the process is complete, go back to web interface and refresh the page to see the changes.

Note: This is specific to ollama, if you want to do it for other providers then make the appropriate changes in below commands.
hermes config set model.ollama_num_ctx 65536
hermes config set model.context_length 65536


For more details, please visit Official Documentation page