TaskWeaver
AI-powered scheduling that thinks for you
Created on 18th January 2026
•
TaskWeaver
AI-powered scheduling that thinks for you
The problem TaskWeaver solves
TaskWeaver solves the overwhelming challenge of managing multiple tasks with varying priorities, deadlines, and time requirements.
Most people struggle to:
- Prioritize effectively when everything feels urgent
- Estimate realistic timeframes for completing tasks
- Find available time slots in their busy schedules
- Balance workload without burnout or missing deadlines
- Adapt schedules when priorities shift or new tasks emerge
Traditional to-do lists and calendars require manual planning and constant reorganization. TaskWeaver intelligently automates this by:
✅ Reasoning about task urgency, effort, and dependencies to determine optimal execution order
✅ Auto-scheduling tasks into your Google Calendar based on available time slots
✅ Respecting your working hours, breaks, and existing commitments
✅ Dynamically rescheduling when plans change, with clear explanations
✅ Asking smart clarification questions to fill in missing details
Perfect for students juggling assignments, professionals managing projects, or anyone who wants to stop planning their day and start living it. TaskWeaver turns chaotic task lists into executable, realistic schedules—automatically.
Key benefits:
- Saves 15-30 minutes daily on manual planning
- Reduces decision fatigue and scheduling anxiety
- Ensures important tasks don't slip through the cracks
- Creates sustainable schedules that actually work
Challenges we ran into
Handling Ambiguous Natural Language Input:
The AI struggled with contextual date references like "two days after today" or "next week's Friday" because these phrases contain multiple temporal contexts. We addressed this by:
Implementing stricter prompt engineering to guide Mistral AI toward absolute date extraction
Adding validation that asks users to confirm interpreted dates before task creation
Still working on improving edge case handling for complex temporal expressions
Scheduling Algorithm Optimization:
Our initial scheduling algorithm had critical flaws:
No buffer time between tasks - tasks were scheduled back-to-back, causing unrealistic schedules
Task overlap issues - when multiple high-priority tasks had similar deadlines, the algorithm would double-book time slots
Solution: Redesigned the algorithm to:
Enforce mandatory buffer periods (currently fixed at 5 minutes)
Add conflict detection that rescans the entire schedule before confirming placements
Implement a priority queue system that processes tasks in deadline order while respecting time constraints
Dynamic Database Schema for User Preferences:
Initially, we had a fixed schema for user preferences (single lunch break, fixed working hours). When we added support for multiple miscellaneous breaks (coffee breaks, exercise, meditation, etc.), we faced a significant challenge:
Variable number of break periods per user
Each break with different timing, duration, and recurrence patterns
Solution: Implemented a JSON field approach:
Added a misc_breaks JSON column to store an array of custom breaks
Each break object contains timing, duration, and scheduling rules
This flexible approach avoided complex joins while maintaining data integrity
Required a database migration script to:
Rename the existing time_guidelines table
Create new table with the JSON field and proper nullability
Migrate existing data while preserving user preferences
Rebuild indexes for optimal query performance
The migration was particularly tricky because SQLite doesn't support direct ALTER TABLE modifications - we had to rename, recreate, copy data, and drop the old table.
Tracks Applied (1)