# πͺπΉ 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 β¦