AI/ML

    OpenManus Installation on Azure: Full Guide to Cloud Setup


    Introduction

    OpenManus, an open source AI agent platform with 16k+ GitHub stars, replicates ManusAI’s autonomous capabilities. This document details its deployment on Microsoft Azure as of March 12, 2025 offering Indian developers a reliable cloud option via Azure’s infrastructure.

     

    Prerequisites

     

    Step-by-Step Deployment on Azure

    Step 1: Create a VM

    1. Log into Azure Portal: Navigate to Virtual Machines > Create.

    2. Configure:

      • Resource Group: openmanus-rg (new).

      • Name: openmanus-vm.

      • Image: Ubuntu Server 22.04 LTS.

      • Size: B2s (2 vCPUs, 4GB RAM).

      • Inbound Ports: 22 (SSH), 5000 (API), 8000 (Web UI).

    3. Deploy: Save the SSH key.

    Step 2: Connect to VM

    SSH:

    ssh -i <your-key.pem> azureuser@<public-ip>

     

    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:

    Copy and edit:

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

     

    Set API key:

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

     

    Install:

    uv pip install -r requirements.txt

     

    Step 6: Run OpenManus

    Launch:

    python3 main.py

     

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

    Troubleshooting

    • Network: Check NSG rules in the Networking tab.
    • Resource Limits: Upgrade VM size if needed.

     

    Conclusion

    Deploying OpenManus on Azure is efficient, leveraging GitHub’s open source access and Azure’s cloud reliability. Indian developers can start with a B2s VM and scale as required, making AI agent experimentation accessible and robust. Azure’s global reach ensures OpenManus thrives in the cloud.

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

    Share

    facebook
    LinkedIn
    Twitter
    Mail
    AI/ML

    Related Center Of Excellence