This guide details how to run the Dev AI OS in real-time with all components connected.
- Backend (Node.js): Port 3001. Handles API & Auth. Connected to MongoDB.
- OS Automation (Python): Port 8000. Handles File/App operations.
- Voice System (Python): Standalone. Processes mic input.
- Frontend (Next.js): Port 3000. Visual Interface.
- Node.js (v18+)
- Python (v3.10+)
- MongoDB (Local or Atlas URI)
- Google Cloud Credentials (Client ID & Secret for OAuth)
You will need 4 separate terminal windows to run the full stack.
This bridge allows the backend to control your PC.
cd apps/dev-os-automation
# Activate Python Env
..\..\env\Scripts\activate
# Start Server
python src/server.py
# ⚡ Listening on http://0.0.0.0:8000The central brain linking everything.
cd apps/dev-auth-backend
# Ensure .env is configured (see .env.example)
npm run dev
# 🚀 Server listening on port 3001
# ✅ MongoDB ConnectedThe visual interface.
cd apps/dev-frontend-ui
npm run dev
# 🚀 Dashboard live at http://localhost:3000If you want voice interaction.
cd apps/dev-voice-system
..\..\env\Scripts\activate
python src/main.pyEnsure you have a .env file with the following:
PORT=3001
MONGODB_URI=your_mongodb_connection_string
GOOGLE_CLIENT_ID=your_google_client_id
GOOGLE_CLIENT_SECRET=your_google_client_secret
GOOGLE_REDIRECT_URI=http://localhost:3000/api/auth/google/callback
JWT_ACCESS_SECRET=your_jwt_secret- Open
http://localhost:3000. - Click "Initialize Core" to log in via Google.
- Once on the dashboard, type
open notepadin the chat. - Success: Notepad should open on your machine, and the command should be logged in MongoDB.