An AI-powered real-time assistant built with LiveKit Agents and Google Gemini Realtime API. Igris can process text & audio in real-time and respond with natural speech.
- 🎤 Real-time audio & text interaction
- ⚡ Powered by Gemini 2.0 Flash Experimental model
- 🗣️ Voice synthesis (Puck voice by default)
- 🔑 Secure API key management
- 🛠️ Runs inside a virtual environment for clean setup
git clone https://github.com/your-username/Igris.git
cd Igrispython -m venv venvWindows (PowerShell):
.\venv\Scripts\Activate.ps1Linux / macOS:
source venv/bin/activatepip install -r requirements.txtThis agent requires a Google Gemini API key.
$env:GOOGLE_API_KEY="YOUR_API_KEY_HERE"-
Install dotenv:
pip install python-dotenv
-
Create a
.envfile in the project root:GOOGLE_API_KEY=YOUR_API_KEY_HERE -
The agent automatically loads
.env.
py agent.py console
uv run agent.py dev
python agent.py consoleControls:
- [Ctrl+B] → Toggle between Text/Audio mode
- [Q] → Quit session
uv run agent.py devIgris/
├── agent.py # Main entrypoint
├── requirements.txt # Python dependencies
├── .env # API key (not committed to GitHub)
└── README.md # This file
-
Error: "API key is required" → Ensure you set
GOOGLE_API_KEYin your environment or.env -
Dependencies not found → Run
pip install -r requirements.txtagain -
PowerShell script execution blocked → Run:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser