# How to Vibe Code Your Own Reclaim.ai (and Stop Paying for It)

> AI Calendar Assistant & Time-Management Platform

- Site: https://reclaim.ai
- Category: Productivity SaaS
- Verdict: **Serious undertaking** (38/100 vibecodeable)
- Estimated effort: 6-8 weeks of part-time development

## Verdict

Build a simple single-user personal subset, but keep paying if you need bulletproof production calendar sync.

Reclaim is not just a thin wrapper over an LLM; its core value relies on a complex, deterministic constraint-satisfaction scheduling engine running continuously in the background. While an AI coding agent can easily scaffold the dashboard and database models, building robust bi-directional sync with Google and Microsoft Graph APIs—handling webhooks, token refreshes, rate limits, and conflict resolution without infinite loops—requires serious algorithmic engineering and API maintenance. A personal clone for single-user habit blocking is achievable, but a multi-user commercial clone is an enormous undertaking.

### What you can't replicate

- The years of iterative edge-case tuning in their constraint-satisfaction scheduler
- Direct enterprise partnerships, compliance certifications, and trust infrastructure
- Native integrations across the entire ecosystem of work management tools

## What it does

An AI-powered calendar assistant and time-management platform that automates scheduling, defends focus time, and syncs calendars across platforms.

### Core features

- AI Focus Time goal setting and automatic defense
- AI Tasks & Habits dynamic calendar slotting
- AI Smart Meetings multi-attendee scheduling optimization
- AI Scheduling Links with smart availability filtering
- Bi-directional real-time calendar synchronization (Google & Outlook)
- Buffer time auto-scheduling around video calls
- Task list integrations (Jira, Asana, Todoist, Linear)
- Time tracking and workforce analytics dashboards

## The business

### Pricing

- Lite: Free — For calendar basics.
- Starter: $10/mo — For small teams (billed annually).
- Business: $15/mo — For large teams (billed annually).
- Enterprise: $22/mo — For enterprise-grade support (billed annually).

### Funding

$10M raised.
- Seed Round (May 2021) - $4.8M
- Extension Round (October 2022) - ~$5M
Investors: Index Ventures, Gradient Ventures, Flying Fish Partners, Founders' Co-op

Founded 2019.
Team size: ~25 (acquired by Dropbox in July 2024).

## The hard parts

- Writing a deterministic constraint-satisfaction scheduling engine that continuously re-evaluates multi-variable calendar graphs without infinite thrashing
- Managing real-time bi-directional webhook synchronization with Google Calendar and Microsoft Graph APIs under strict rate limits and token refresh rules
- Handling race conditions when external users book via scheduling links while background agent rules shift focus blocks simultaneously
- Maintaining stable API connections and sync loops across multiple third-party task trackers and video conferencing platforms

## How to vibe code Reclaim.ai

### Prerequisites

- Node.js (free): Runtime environment for Next.js full-stack application development
- GitHub (free): Code repository hosting and deployment integration
- Google Cloud Console (free): Required to configure OAuth credentials and Google Calendar API access

### Recommended AI tools

- Claude Code: Best-in-class agentic coding tool for scaffolding complex backend scheduling logic and multi-file Next.js apps
- Cursor: Ideal for fine-tuning UI components, calendar grid views, and managing incremental diffs

### Stack

- Frontend: Next.js with Tailwind CSS and Shadcn/ui
- Backend: Next.js Server Actions and API Routes
- Database: Neon (Serverless Postgres)
- Auth: better-auth
- Payments: Stripe
- Other: Vercel AI SDK, Google Calendar API, Microsoft Graph API

### Hosting

- Vercel (Hosting the Next.js web application and serverless API endpoints): $0-20/mo
- Neon (Serverless Postgres database storing user events, habits, and scheduling constraints): $0/mo (Free tier)

### Build guide

1. **Project Scaffolding & Database Schema Setup** — Initialize the Next.js project with Tailwind CSS, configure Shadcn/ui components, and set up Neon Postgres with Drizzle ORM and better-auth.

```
Create a new Next.js 16 project with TypeScript, Tailwind CSS v4, and App Router. Set up Drizzle ORM connected to Neon Postgres with tables for users, calendars, events, habits, and task rules. Integrate better-auth for secure user session management with email/password and Google OAuth providers. Ensure clean folder organization for actions, components, and database schemas.
```

2. **Google Calendar OAuth & API Integration** — Implement OAuth flow for Google Calendar, create token storage, and build background sync routines to fetch and write calendar events.

```
Build a Google Calendar API integration service within the Next.js backend. Implement OAuth2 authorization flow requesting read/write scopes for calendar events. Create server actions to fetch upcoming calendar events for authenticated users, store refresh tokens securely in the database, and handle automatic token expiration and refreshing.
```

3. **Constraint-Satisfaction Scheduling Engine** — Develop the core algorithmic scheduling engine that computes optimal time slots for habits, focus time, and tasks around fixed meetings.

```
Write a deterministic constraint-satisfaction scheduling engine in TypeScript. The engine must take a list of fixed calendar events, working hours constraints, and user-defined habits/tasks with priorities (P1-P4) and scheduling windows. Implement an algorithm that scans available free slots, assigns optimal blocks for habits and focus time without creating overlaps, and returns proposed calendar mutations.
```

4. **Dashboard UI & Calendar View** — Build an interactive weekly calendar dashboard allowing users to define habits, set focus time goals, and view auto-scheduled blocks.

```
Build a responsive weekly calendar dashboard UI using Tailwind CSS and React. Create forms and modal dialogs for users to configure AI Habits (recurring routines with duration and window preferences) and Focus Time goals. Display fetched calendar events alongside auto-scheduled blocks with visual distinction, and add controls to approve or reject AI-suggested schedule changes.
```

5. **Scheduling Links & Public Booking Page** — Implement smart scheduling links that dynamically calculate availability by factoring in re-negotiable tasks and focus blocks.

```
Create a public scheduling link feature similar to Calendly. Build a public route `/book/[username]` that evaluates the user's live calendar events, fixed meetings, and flexible task blocks to dynamically calculate available meeting slots based on custom buffer rules and scheduling ranges. Allow external invitees to select a slot and automatically write the confirmed event back to the user's calendar.
```

6. **Task & Habit Sync Automation** — Implement background cron jobs to continuously re-optimize user calendars as new events arrive or priorities shift.

```
Implement background scheduling sync and automated re-optimization routines using Next.js cron triggers or Vercel cron jobs. When a new calendar event is detected via webhook or manual refresh, the system should invoke the constraint-satisfaction engine to automatically adjust pending task blocks and habit slots, updating the user's primary calendar accordingly.
```

### Cost vs paying

**Starting costs (one-time):**

- Google Cloud Console Setup: $0
- AI Coding Assistant: $20
- Total: ~$20 one-time

**Ongoing costs (monthly):**

- Vercel Hobby Hosting: $0
- Neon Serverless Postgres: $0
- Total: ~$0/mo

- Paying for the SaaS instead: $15/mo (Business Plan)
- Build time: 40-60 hours
- AI tool credits: $20 (Claude Pro / Cursor)
- Break-even: Instant (Free build vs paid SaaS subscription)

## Sources

- [Reclaim.ai Official Website & Feature Pages](https://reclaim.ai)
- [SiliconANGLE – Dropbox acquires AI-powered calendar app Reclaim.ai](https://siliconangle.com/2024/08/22/dropbox-acquires-ai-powered-calendar-app-reclaim-ai/)
- [U.S. Securities and Exchange Commission (SEC) - Dropbox Quarterly Report](https://www.sec.gov)