Building a Multimodal Cross Cloud Live Agent with ADK,…
    Neura MarketNeura Market/Gemini
    ChatGPTChatGPTClaudeClaudeGeminiGeminiCursorCursorGrokGrokPerplexityPerplexityDeepSeekDeepSeek
    CoPilotCoPilotStable DiffusionStable DiffusionMidjourneyMidjourney
    View All Directories
    OverviewRulesPromptsMCPsAgentsGamesBlogVideosGuidesCoursesCommunityGemsExtensionsTrending
    GeminiBlogBuilding a Multimodal Cross Cloud Live Agent with ADK, Amazon Lightsail, and Gemini CLI
    Back to Blog
    Building a Multimodal Cross Cloud Live Agent with ADK, Amazon Lightsail, and Gemini CLI
    googleadk

    Building a Multimodal Cross Cloud Live Agent with ADK, Amazon Lightsail, and Gemini CLI

    xbill March 23, 2026
    0 views

    Leveraging the Google Agent Development Kit (ADK) and the underlying Gemini LLM to build cross cloud...


    title: Building a Multimodal Cross Cloud Live Agent with ADK, Amazon Lightsail, and Gemini CLI published: true series: AWS date: 2026-03-23 17:44:29 UTC tags: googleadk,awslightsail,geminicli,python canonical_url: https://xbill999.medium.com/building-a-multimodal-cross-cloud-live-agent-with-adk-amazon-lightsail-and-gemini-cli-a8f30e0a53b8

    Leveraging the Google Agent Development Kit (ADK) and the underlying Gemini LLM to build cross cloud apps with the Python programming language deployed to the Lightsail container service on AWS.

    Aren’t There a Billion Python MCP Demos?

    Yes there are.

    Python has traditionally been the main coding language for ML and AI tools. The goal of this article is to provide a minimal viable basic working MCP stdio server that can be run locally without any unneeded extra code or extensions.

    What Is Python?

    Python is an interpreted language that allows for rapid development and testing and has deep libraries for working with ML and AI:

    Welcome to Python.org

    Python Version Management

    One of the downsides of the wide deployment of Python has been managing the language versions across platforms and maintaining a supported version.

    The pyenv tool enables deploying consistent versions of Python:

    GitHub - pyenv/pyenv: Simple Python version management

    As of writing — the mainstream python version is 3.13. To validate your current Python:

    admin@ip-172-31-70-211:~/gemini-cli-aws/mcp-lightsail-python-aws$ python --version
    Python 3.13.12
    

    Amazon Lightsail

    Amazon Lightsail is an easy-to-use virtual private server (VPS) provider and cloud platform designed by AWS for simpler workloads, offering developers pre-configured compute, storage, and networking for a low, predictable monthly price. It is ideal for hosting small websites, simple web apps, or creating development environments.

    More information is available on the official site here:

    Amazon's Simple Cloud Server | Amazon Lightsail

    And this is the direct URL to the console:

    https://lightsail.aws.amazon.com/ls/webapp/home/containers
    

    Gemini CLI

    If not pre-installed you can download the Gemini CLI to interact with the source files and provide real-time assistance:

    npm install -g @google/gemini-cli
    

    Testing the Gemini CLI Environment

    Once you have all the tools and the correct Node.js version in place- you can test the startup of Gemini CLI. You will need to authenticate with a Key or your Google Account:

    gemini
    
    admin@ip-172-31-70-211:~/gemini-cli-aws/mcp-lightsail-python-aws$ gemini
    
    ▝▜▄ Gemini CLI v0.33.1
        ▝▜▄
       ▗▟▀ Logged in with Google /auth
      ▝▀ Gemini Code Assist Standard /upgrade
    
    ? for shortcuts 
    ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
     shift+tab to accept edits 3 GEMINI.md files | 1 MCP server
    ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
     > Type your message or @path/to/file
    ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
     ~/.../mcp-lightsail-python-aws (main*) no sandbox (see /docs) /model Auto (Gemini 3) | 239.8 MB
    

    Node Version Management

    Gemini CLI needs a consistent, up to date version of Node. The nvm command can be used to get a standard Node environment:

    GitHub - nvm-sh/nvm: Node Version Manager - POSIX-compliant bash script to manage multiple active node.js versions

    Docker Version Management

    The AWS Cli tools and Lightsail extensions need current version of Docker. If your environment does not provide a recent docker tool- the Docker Version Manager can be used to downlaod the latest supported Docker:

    Install

    AWS CLI

    The AWS CLI provides a command line tool to directly access AWS services from your current environment. Full details on the CLI are available here:

    Install Docker, AWS CLI, and the Lightsail Control plugin for containers

    Lightsail Control Plugin

    The Lightsail Plugin allows the AWS CLI tools to interact with Lightsail. The full GitHub repo is available here:

    GitHub - aws/lightsailctl: Amazon Lightsail CLI Extensions

    Agent Development Kit

    The Google Agent Development Kit (ADK) is an open-source, Python-based framework designed to streamline the creation, deployment, and orchestration of sophisticated, multi-agent AI systems. It treats agent development like software engineering, offering modularity, state management, and built-in tools (like Google Search) to build autonomous agents.

    The ADK can be installed from here:

    Agent Development Kit (ADK)

    This seems like a lot of Configuration!

    Getting the key tools in place is the first step to working across Cloud environments. For a deeper dive- a project with a similar setup can be found here:

    MCP Development with Amazon Lightsail and Gemini CLI

    Where do I start?

    The strategy for starting multimodal real time cross cloud agent development is a incremental step by step approach.

    The agents in the demo are based on the original code lab:

    Way Back Home - Building an ADK Bi-Directional Streaming Agent | Google Codelabs

    First, the basic development environment is setup with the required system variables, and a working Gemini CLI configuration.

    Then, a minimal ADK Agent is built with the visual builder. Next — the entire solution is deployed to Google Cloud Run.

    Setup the Basic Environment

    At this point you should have a working Python environment and a working Gemini CLI installation. All of the relevant code examples and documentation is available in GitHub. This repo has a wide variety of samples- but this lab will focus on the ‘level_3-lightsail’ setup.

    The next step is to clone the GitHub repository to your local environment:

    cd ~
    git clone https://github.com/xbill9/gemini-cli-aws
    cd level_3-lightsail
    

    Then run init.sh from the cloned directory.

    The script will attempt to determine your shell environment and set the correct variables:

    source init.sh
    

    If your session times out or you need to re-authenticate- you can run the set_env.sh script to reset your environment variables:

    source set_env.sh
    

    Variables like PROJECT_ID need to be setup for use in the various build scripts- so the set_env script can be used to reset the environment if you time-out.

    Verify The ADK Installation

    To verify the setup, run the ADK CLI locally with Agent1:

    xbill@penguin:~/gemini-cli-aws/level_3-lightsail/backend/app$ adk run biometric_agent
    Log setup complete: /tmp/agents_log/agent.20260322_185903.log
    To access latest log: tail -F /tmp/agents_log/agent.latest.log
    /home/xbill/.pyenv/versions/3.13.12/lib/python3.13/site-packages/google/adk/cli/cli.py:204: UserWarning: [EXPERIMENTAL] InMemoryCredentialService: This feature is experimental and may change or be removed in future versions without notice. It may introduce breaking changes at any time.
      credential_service = InMemoryCredentialService()
    /home/xbill/.pyenv/versions/3.13.12/lib/python3.13/site-packages/google/adk/auth/credential_service/in_memory_credential_service.py:33: UserWarning: [EXPERIMENTAL] BaseCredentialService: This feature is experimental and may change or be removed in future versions without notice. It may introduce breaking changes at any time.
      super(). __init__ ()
    Running agent biometric_agent, type exit to exit.
    [user]: 
    

    Deploying to Amazon Lightsail

    The first step is to refresh the AWS credentials in the current build environment:

    xbill@penguin:~/gemini-cli-aws/level_3-lightsail$ aws login --remote
    

    Then a utility script caches the credentials on the local system for building:

    xbill@penguin:~/gemini-cli-aws/level_3-lightsail$ source save-aws-creds.sh 
    Exporting AWS credentials...
    Successfully saved credentials to .aws_creds
    The Makefile will now automatically use these for deployments.
    

    Run the deploy version on the local system:

    xbill@penguin:~/gemini-cli-aws/level_3-lightsail$ make deploy
    ./deploy-lightsail.sh
    Loading AWS credentials from .aws_creds...
    Building Docker image...
    [+] Building 13.0s (12/12) FINISHED docker:default
     => [internal] load build definition from Dockerfile 0.0s 0.0s
    

    You can validate the final result by checking the messages:

    xbill@penguin:~/gemini-cli-aws/level_3-lightsail$ make lightsail-status
    -------------------------------------
    | GetContainerServices |
    +-------------+-------------+-------+
    | Deployment | State | URL |
    +-------------+-------------+-------+
    | ACTIVE | DEPLOYING | None |
    +-------------+-------------+-------+
    

    Once the container is deployed- you can then get the endpoint:

    xbill@penguin:~/gemini-cli-aws/level_3-lightsail$ make endpoint
    https://biometric-scout-service.6wpv8vensby5c.us-east-1.cs.amazonlightsail.com/
    xbill@penguin:~/gemini-cli-aws/level_3-lightsail$ 
    

    The service will be visible in the AWS Lightsail console:

    https://lightsail.aws.amazon.com/ls/webapp/us-east-1/container-services/agent-service/deployments

    Running the Web Interface

    Start a connection to the Lightsail Deployed app:

    https://biometric-scout-service.6wpv8vensby5c.us-east-1.cs.amazonlightsail.com/
    

    Then connect to the app :

    Then use the Live model to process audio and video:

    Finally — complete the sequence:

    Summary

    The Agent Development Kit was used to enable a multi-modal agent using the Gemini Live Model. This Agent was tested locally with the CLI and then deployed to Amazon Lightsail. This approach validates that cross cloud tools can be used — even with more complex agents.

    Tags

    googleadkawslightsailgeminipython

    Comments

    More Blog

    View all
    Automated GitHub Code Reviews Using Google Geminigithubactions

    Automated GitHub Code Reviews Using Google Gemini

    I Built a Thing! TL;DR — Google Gemini-based Pull Request reviews and Issue Triaging for...

    D
    Darren "Dazbo" Lester
    Stop Your LLMs from Forgetting (Part 2): How a Graph-Anchor Pyramid Cures AI’s Relational Blindspotsai

    Stop Your LLMs from Forgetting (Part 2): How a Graph-Anchor Pyramid Cures AI’s Relational Blindspots

    Have you ever had a brilliant solution get completely crushed by a single comment on a technical blog...

    T
    Tanaike
    Remote Control Antigravity - Migrating to new Antigravity ecossytem and fully autonomous goalsantigravity

    Remote Control Antigravity - Migrating to new Antigravity ecossytem and fully autonomous goals

    In my previous post, we explored how to build an AI-powered IDE companion app from scratch using...

    M
    Marcelo Costa
    [GCP Billing & Vertex AI] Solving Gemini Cost Allocation in a Single Project: Vertex AI Dynamic Billing Labels in Actionai

    [GCP Billing & Vertex AI] Solving Gemini Cost Allocation in a Single Project: Vertex AI Dynamic Billing Labels in Action

    Pain Point: How to Accurately Allocate Gemini API Costs Within the Same Project? When...

    E
    Evan Lin
    Stop Your LLMs from Forgetting: How a 2016 String Algorithm Solves AI's Biggest Memory Loss Problemai

    Stop Your LLMs from Forgetting: How a 2016 String Algorithm Solves AI's Biggest Memory Loss Problem

    Have you ever tried to read a massive pile of reports and summarize them in under 50 words? It’s...

    T
    Tanaike
    Google VP of Technology says he’s given up on codingaie

    Google VP of Technology says he’s given up on coding

    In his keynote on Wednesday, Benoit Schillings, vice president of Technology at Google DeepMind and...

    I
    Iain Thomson

    Stay up to date

    Get the latest Gemini prompts, rules, and resources delivered to your inbox weekly.

    Neura Market LogoNeura Market

    Discover the best AI prompts, plugins, and resources for Gemini and more.

    Content Types

    • Rules
    • Prompts
    • MCPs
    • Agents
    • Guides

    Platforms

    • ChatGPT Directory
    • Claude Directory
    • Gemini Directory
    • Cursor Directory
    • Grok Directory
    • Perplexity Directory
    • DeepSeek Directory
    • CoPilot Directory
    • Stable Diffusion Directory
    • Midjourney Directory
    • All Directories

    Resources

    • Blog
    • Documentation
    • Help Center
    • Marketplace

    Legal

    • Privacy Policy
    • Terms of Service

    © 2026 Neura Market. All rights reserved.

    |

    Not affiliated with any AI platform vendors.

    Neura Market

    Custom AI Systems & Services

    Our team of experienced AI builders will help build custom AI systems, workflows, and solutions for your business.

    Request custom work

    Ready-made automations for this

    Workflows from the Neura Market marketplace related to this Gemini resource

    • Automate Multimodal File Analysis with Google Gemini and Qwen LLMn8n · $14.99 · Related topic
    • Automated Reservation System with Telegram, Google Gemini AI, and Google Sheetsn8n · $9.99 · Related topic
    • Automate Video Narration with Multimodal AI and Google Driven8n · $14.99 · Related topic
    • Build AI Agents with Think-Plan-Act Architecture Using Llama-4 Reasoningn8n · $24.99 · Related topic
    Browse all workflows