# đȘđč Amazon Consulting â Amharic Voice Agent
Bilingual English + Amharic voice agent for Amazon Consulting LLC
Silver Spring, MD | (240) 641-1515 | dmvamazon.com
---
## Project Structure
```
amharic-voice-agent/
âââ main.py â Entry point â run this
âââ requirements.txt â Python deps
âââ .env.example â Copy to .env and fill keys
âââ .env â YOUR keys (never commit!)
â
âââ src/
â âââ app.py â FastAPI factory
â âââ config.py â All env vars + validation
â âââ prompts.py â Amharic + English scripts
â âââ session.py â Call session state manager
â âââ services.py â STT / LLM / TTS / GHL
â âââ routes/
â âââ health_routes.py â /health /test-amharic /test-chat
â âââ call_routes.py â /incoming-call + WebSocket
â
âââ tests/
â âââ test_all.py â Full test suite
â
âââ audio_samples/ â Generated MP3 test files
âââ .vscode/
âââ launch.json â Debug configs
âââ settings.json â Python settings
```
---
## Setup in VS Code â Step by Step
### Step 1 â Open Project
```bash
# Open VS Code in the project folder
code amharic-voice-agent
```
Or: File â Open Folder â select `amharic-voice-agent`
---
### Step 2 â Create Virtual Environment
Open VS Code terminal (`Ctrl+`` ` or Terminal â New Terminal):
```bash
# Create venv
python3 -m venv venv
# Activate (Mac/Linux)
source venv/bin/activate
# Activate (Windows)
venv\Scripts\activate
# You should see (venv) in your terminal prompt
```
---
### Step 3 â Install Dependencies
```bash
pip install -r requirements.txt
```
Takes 2-3 minutes. You'll see packages installing.
---
### Step 4 â Set Up API Keys
```bash
# Copy the template
cp .env.example .env
# Open .env and fill in your keys
code .env
```
Fill in these keys (get them from each service):
| Key | Where to get it |
|-----|----------------|
| `DEEPGRAM_API_KEY` | console.deepgram âŠ