Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gemini Live Chatbot - Simple Web App Example

This repo contains a fullstack web app for experimenting with the Live Gemini API (using a Gemini API key).

There are two backend deployments:

  • adk_live_agent: Uses Agent Development Kit (ADK) to build a Live agent. A frontend using NextJS is available in web-client/
  • gemini_live_cli.py: Uses the genai-processors library (by Google Deepmind) to create an interactive CLI session with Gemini Live API (also supports screen sharing and webcam)

Setup and Usage

Pre-requisites:

  • Python 3.7+
  • uv
  • Gemini API key obtained in Google AI Studio

Run the following:

uv lock

Create a .env. file and add GEMINI_API_KEY environment variable.

Adk Live Agent

Run the ADK live agent backend:

uv run uvicorn main:app

Run the web client:

cd web-client 
npm install
npm run dev

Alternatively, you can use a simpler, Javascript based frontend served directly by the backend.

Gemini Live CLI

uv run python gemini_live_cli.py

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages