Sontaくん

Sontaくん

#Next.js#AI#Supabase

Overview

Sonta-kun is an AI scheduling agent inspired by Japanese "reading the air" (sontaku). It uses Google Gemini to turn fuzzy wishes like "sometime next week, earlier afternoon" into real constraints, checks Google Calendar availability, and proposes the best times—with Zoom and email wired in via Server Actions.

Challenges & Solutions

[PROBLEM_1] Fuzzy natural language → concrete constraints

Built a "sontaku engine" on Gemini that maps phrases like "next week, earlier afternoon" to ISO ranges. Prompt design and context handling keep extraction accurate.

[PROBLEM_2] Seamless external integrations

Combined Google Calendar, Zoom, and Resend inside Server Actions with solid token handling and errors—users get one smooth flow without seeing the plumbing.

Future Improvements

  • Smarter consideration logic

    Move beyond bare free slots: factor in travel buffers and lunch so suggestions feel genuinely thoughtful.

  • Multi-person & multimodal

    Exploring multi-calendar sync, more participants, and interfaces beyond pure chat.

Tech Stack

  • Framework: Next.js (App Router)
  • Database: Supabase (PostgreSQL)
  • AI: Google Gemini API
  • Integration: Google Calendar / Zoom / Resend
  • Styling: Tailwind CSS