- Edit
api-keys.envand add your actual keys:
# Open the config file
nano config/api-keys.env
# Or use any text editor
open -e config/api-keys.env- Add your keys:
GEMINI_API_KEY=AIzaSy...your-actual-gemini-key
DEEPSEEK_API_KEY=sk-...your-actual-deepseek-key- Save the file - Your keys are now persistent across all restarts!
- Visit: https://makersuite.google.com/app/apikey
- Create/sign in to Google account
- Click "Create API Key"
- Copy and paste into
GEMINI_API_KEY
- Visit: https://platform.deepseek.com
- Sign up/login
- Go to API Keys section
- Create new key
- Copy and paste into
DEEPSEEK_API_KEY
./scripts/start-with-api-keys.sh coordinator # On iMac
./scripts/start-with-api-keys.sh worker # On other machines# Load keys manually
export $(grep -v '^#' config/api-keys.env | xargs)
# Then start normally
node scripts/start-cluster-coordinator.cjs- Never commit
api-keys.envto git - Don't share screenshots with visible keys
- Rotate keys if accidentally exposed
✅ This file is in iCloud but only you can access it ✅ Keys persist across restarts and reboots ✅ All cluster nodes can share the same config
Check if keys are loaded:
./scripts/start-with-api-keys.sh coordinator
# Should see: "✅ API keys loaded"Test the Tercet brains:
curl http://localhost:4200/tercet/test