This guide will help you set up your local development environment for the SDECB AI Discovery Project.
python3 --version)cd /path/to/your/projects
git clone <repository-url>
cd SDECB
It’s recommended to use a Python virtual environment to isolate dependencies:
# Create virtual environment
python3 -m venv venv
# Activate it
# On macOS/Linux:
source venv/bin/activate
# On Windows:
venv\Scripts\activate
You should see (venv) in your terminal prompt when activated.
pip install -r requirements.txt
This will install:
anthropic - Claude API clientopenai - OpenAI API clientelevenlabs - ElevenLabs voice synthesispython-dotenv - Environment variable managementrequests - HTTP librarypytest - Testing frameworkCreate a .env file in the project root (this file will NOT be committed to git):
cp .env.example .env
Then edit .env and add your actual API keys:
ELEVENLABS_API_KEY=your_actual_elevenlabs_key_here
MISTRAL_API_KEY=your_actual_mistral_key_here
ANTHROPIC_API_KEY=your_actual_anthropic_key_here
OPENAI_API_KEY=your_actual_openai_key_here
Important: Never commit the .env file to git. It’s already in .gitignore.
Navigate to the portal/ directory and run Python demos:
cd portal
# Example: Run the bilingual voice assistant
python3 bilingual_voice_assistant.py
# Example: Run the report narrator
python3 report_narrator.py
HTML demos can be opened directly in your browser:
portal/ directory.html file to open in your default browser# Option 1: Python's built-in server
cd portal
python3 -m http.server 8000
# Then visit: http://localhost:8000/matthieu_digital_twin_pro.html
# Option 2: Node.js http-server (if you have Node installed)
npm install -g http-server
cd portal
http-server -p 8000
Note: HTML demos currently have placeholder API keys. For production use, you’ll need to implement server-side API key management (see ROADMAP.md).
Run the test suite:
# From project root
pytest
# Or from portal directory
cd portal
python3 test_demos.py
Make sure you’ve activated your virtual environment and installed dependencies:
source venv/bin/activate # or venv\Scripts\activate on Windows
pip install -r requirements.txt
.env file exists and has valid keys.env.example correctlyMake sure Python scripts are executable:
chmod +x portal/*.py
.env file is gitignored automaticallyLast Updated: January 2026 Python Version Required: 3.9+