Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions backend/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,32 @@ ADMIN_EMAIL=admin@forgemind.space
# ── CORS ───────────────────────────────────────────────────────────────
CORS_ORIGIN=http://localhost:5173

# ── LLM provider fallbacks (used when an agent doesn't have its own key) ──
# Each AI Agent can BYOK its own provider key (per-agent override, stored
# AES-256-GCM encrypted). When the per-agent key is blank, the engine falls
# back to whichever of these matches the agent's provider. Leave both unset
# to require BYOK on every agent.
ANTHROPIC_API_KEY=
OPENAI_API_KEY=

# Optional tuning for the agent inference queue.
# AGENT_QUEUE_CONCURRENCY=4
# AGENT_QUEUE_ATTEMPTS=2

# ── Google OAuth (Sheets in v1; Gmail + Calendar in a later release) ───
# Create an OAuth 2.0 Client (Web application) in Google Cloud Console
# (https://console.cloud.google.com/apis/credentials), enable the Google
# Sheets + Google Drive APIs for the project, and authorize the redirect
# URI below. Leave unset to disable the Google Integrations tab entirely.
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
# Must match exactly what's configured in the Google Cloud Console. In
# local dev with the Vite frontend, browsers hit the backend through the
# Vite proxy, so use a URL the backend can serve directly:
# Dev: http://localhost:3001/api/google-integrations/callback
# Prod: https://your-domain/api/google-integrations/callback
GOOGLE_OAUTH_REDIRECT_URI=http://localhost:3001/api/google-integrations/callback

# ── Meta WhatsApp Cloud API ────────────────────────────────────────────
# Needed only for live WhatsApp send/receive. Leave unset to work on UI/API
# without making real Meta calls.
Expand Down
3 changes: 3 additions & 0 deletions backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"test": "node --test test/"
},
"dependencies": {
"@anthropic-ai/sdk": "^0.99.0",
"bcryptjs": "^2.4.3",
"bullmq": "^5.77.2",
"cookie-parser": "^1.4.6",
Expand All @@ -19,10 +20,12 @@
"exceljs": "^4.4.0",
"express": "^4.19.2",
"express-rate-limit": "^7.3.1",
"googleapis": "^172.0.0",
"helmet": "^7.1.0",
"ioredis": "^5.4.1",
"jsonwebtoken": "^9.0.2",
"multer": "^2.1.1",
"openai": "^6.0.0",
"pg": "^8.21.0"
},
"devDependencies": {
Expand Down
Loading
Loading