Prerequisites
Before installing JARVIS, ensure you have the following installed on your system:Python 3.11+
Required for the backend FastAPI server
Node.js 20+
Required for the Next.js frontend
Git
For cloning the repository
uv
Fast Python package manager (recommended)
If you don’t have
uv installed, you can install it with:System Requirements
- OS: Linux, macOS, or Windows (WSL recommended)
- RAM: Minimum 4GB (8GB+ recommended for agent orchestration)
- Disk: 2GB free space for dependencies and models
Clone the Repository
Backend Setup
Install Python dependencies
- FastAPI - Web framework
- browser-use - Web agent orchestration
- mediapipe - Face detection
- opencv-python - Image processing
- anthropic - Claude API client
- google-genai - Gemini API client
- loguru - Logging
Frontend Setup
Install Node.js dependencies
- Next.js 16 - React framework
- Convex - Real-time database
- Framer Motion - Animations
- Tailwind CSS 4 - Styling
- Lucide React - Icons
Environment Configuration
Configure required variables
Open
.env and configure the following:Frontend (Required)
Backend Core (Required)
Convex Integration (Required)
Get your Convex URL by signing up at convex.dev and creating a new project.
Database Setup
Convex Setup
Initialize Convex
- Prompt you to log in (or create a Convex account)
- Create a new Convex project (or select existing)
- Generate your
NEXT_PUBLIC_CONVEX_URL - Deploy your schema and functions
MongoDB Setup (Optional)
MongoDB is used for persistent storage of raw captures and historical data. It’s optional - JARVIS will use in-memory storage if MongoDB is not configured.
Create MongoDB Atlas account
Sign up at mongodb.com/cloud/atlas
Get connection string
- Click “Connect” on your cluster
- Choose “Connect your application”
- Copy the connection string
- Replace
<password>with your database password
Verify Installation
Check backend health
Start the backend server:In another terminal, test the health endpoint:You should see:
Check frontend
In a new terminal:Open http://localhost:3000 in your browser. You should see the JARVIS corkboard interface.
Troubleshooting
MediaPipe installation fails on Apple Silicon
MediaPipe installation fails on Apple Silicon
If MediaPipe fails to install on M1/M2 Macs:
Port 8000 already in use
Port 8000 already in use
Change the backend port in your Then start with:
.env:Convex connection fails
Convex connection fails
Verify your Convex URL is correct:Ensure both frontend and backend have the same
CONVEX_URL.OpenCV 'No module named cv2' error
OpenCV 'No module named cv2' error
OpenCV headless might not be installed correctly:
Browser Use agent errors
Browser Use agent errors
If you see browser automation errors:
- Ensure
BROWSER_USE_API_KEYis set - Check your Browser Use credits at cloud.browser-use.com
- Verify network connectivity to Browser Use cloud
Frontend shows 'No Convex data'
Frontend shows 'No Convex data'
This is expected on first run. The frontend works with or without live data:
- With Convex configured: Real-time updates will appear
- Without Convex: Demo fallback data is shown
convex.cloud.Development Tools (Optional)
Backend Testing
Frontend Testing
Next Steps
Quickstart Guide
Run your first capture and see JARVIS in action
Architecture
Understand how JARVIS components work together
API Reference
Explore the backend API endpoints
Configuration
Advanced configuration options