Everything you need to run it.
rabbyos is a Next.js app with a MongoDB database. Run the whole OS on your machine or deploy it to Vercel. Same build, same data model.
Quickstart.
Rabbyos is a Next.js app with a MongoDB database. You can run the whole OS on your machine or deploy it to Vercel.
Install dependencies, set the environment variables, and start the dev server. The app reads the database URI at runtime, so the same build works locally and in the cloud.
- Node 20 or newer
- MongoDB 6 or newer, local or Atlas
- OS_EMAIL and OS_PASSWORD for the owner login
npm install
# set MONGODB_URI, MONGODB_DB, OS_EMAIL, OS_PASSWORD
npm run devSurfaces.
The dock is the primary map. Each surface owns one kind of work and keeps its own data.
- Home: launchpad and daily focus
- Projects: workspaces, files, and link graph
- Today: todos and notes
- Draw: Excalidraw editor and saved scenes
- Stack: tools, credentials, docs, and system
- Agents: roster, runs, and tools
- Me: persona memory and orbit
- Settings: theme, clock, and data
Local and cloud.
Local mode uses a MongoDB instance on your machine. There is no account gate and no network dependency.
Cloud mode points MONGODB_URI at Atlas. The surfaces and API shapes are identical. Mid adds sync. Elite adds cloud agents and tasks.
Guest mode is a demo mode. It stores the workspace in localStorage and intercepts /api requests in the browser.
Auth.
The owner login is a single email and password, configured with OS_EMAIL and OS_PASSWORD. The login route checks both values and sets an httpOnly cookie.
Guest access uses a separate signed cookie. Guests can load the OS pages, but every API request returns 401. Guest data stays in the browser.
- Owner cookie: os_key
- Guest cookie: os_guest
- Guest UI hint: os_guest_ui
- Public routes: the marketing site, login, signup, client portals, and the public API routes
Data.
MongoDB is the source of truth. Collections cover projects, todos, notes, drawings, resources, deals, tickets, stack entries, credentials, documents, agents, runs, backups, and settings.
The API returns plain JSON. Drawings store Excalidraw elements and files. Every delete on the agent surface writes a backup first.
Drawings.
The Draw surface imports .excalidraw files, opens a real Excalidraw canvas, and saves the scene back to the database.
Export downloads a .excalidraw file that opens in Excalidraw or any compatible editor. Drawings can be linked to projects and notes.
POST /api/proxy/drawings
PATCH /api/proxy/drawings/:id
GET /api/proxy/drawingsAgents.
Agents are records in MongoDB with a model, status, and tool permissions. A run can create notes, todos, projects, or list data.
Destructive tools write to the backups collection before they delete. A run can be restored from the backup.
API.
The app exposes a small set of routes. Owner and guest cookies are checked by middleware. Public routes are limited to auth, health, portals, and contact.
- GET /api/health: app and database health
- POST /api/login, POST /api/guest, GET /api/logout
- GET/POST /api/proxy/*: workspace collections
- GET/POST /api/ops: sprint payload and events
- GET/POST /api/credentials, /api/docs, /api/system
- POST /api/contact: public contact form
Deploy.
The app deploys to Vercel. Set the environment variables in the Vercel project, not in the repository.
The project root is the app directory. Deploy with the Vercel CLI or connect the repository and let Vercel build on push.
MONGODB_URI
MONGODB_DB
OS_EMAIL
OS_PASSWORD
NEXT_PUBLIC_APP_URLGet started
Run it now.
You do not need an account to try the full OS. Enter as guest and the whole machine runs in your browser.