AI/ML

How to Install and Setup OpenManus on Google Cloud Platform (GCP)


Introduction

OpenManus, a rapidly popular open-source AI agent framework (16k+ GitHub stars), enables developers to replicate ManusAI’s capabilities. This document outlines downloading and deploying OpenManus on Google Cloud Platform (GCP) as of March 12, 2025, ideal for leveraging GCP’s compute power from India or globally.

 

Prerequisites

  • GCP Account: Register at cloud.google.com ($300 free credit).
  • Google Cloud SDK: Installed (cloud.google.com/sdk).
  • Git: Installed locally.

 

Step-by-Step Deployment on GCP

Step 1: Create a VM Instance

  1. Access GCP Console: Go to Compute Engine > VM Instances > Create Instance.

  2. Configure:

    • Name: openmanus-vm.

    • Machine Type: e2-medium (2 vCPUs, 4GB RAM).

    • Boot Disk: Ubuntu 22.04 LTS, 30GB.

    • Firewall: Allow HTTP (port 5000), HTTPS (port 8000).

  3. Create: Note the external IP.

Step 2: Connect to VM

SSH:

gcloud compute ssh openmanus-vm --zone <your-zone>

 

Step 3: Install Dependencies

Update:

sudo apt update && sudo apt install -y python3-pip python3-venv git

 

Install UV:

curl -LsSf https://astral.sh/uv/install.sh | shsource $HOME/.cargo/env

 

Step 4: Download OpenManus

Clone:

git clone https://github.com/mannaandpoem/OpenManus.gitcd OpenManus

 

Step 5: Configure and Install

Config Setup:

cp config/config.example.toml config/config.tomlnano config/config.toml

 

Add API key:

[llm]model = "gpt-4o"api_key = "your-api-key"

 

Install:

uv pip install -r requirements.txt

 

Step 6: Run OpenManus

Start:

python3 main.py

 

Access: http://<external-ip>:5000 (API), http://<external-ip>:8000 (Web UI).

Troubleshooting

  • Firewall: Verify port rules in VPC Network > Firewall.
  • Permissions: Ensure VM has network access.

 

Conclusion

OpenManus on GCP combines ease of deployment with Google’s scalable cloud resources. This guide ensures Indian developers can quickly set up an AI agent system using GitHub’s open-source code. Start small with e2-medium and adjust for performance GCP makes OpenManus globally accessible.

Ready to optimize your AI infrastructure? Contact us today and leverage our AI/ML expertise!  

0

Share

facebook
LinkedIn
Twitter
AI/ML

Related Center Of Excellence