Skip to content

The Intelligent Task Completion Engine - Transform your workforce from passive task tracking to active task completion intelligence.

Notifications You must be signed in to change notification settings

shibinsp/task_assistant_AI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

28 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

TaskPulse AI

TaskPulse AI

The Intelligent Task Completion Engine

Transform your workforce from passive task tracking to active task completion intelligence.
No employee stays stuck for more than 3 hours.

Features β€’ Quick Start β€’ Architecture β€’ API Docs β€’ Contributing

Python FastAPI React TypeScript Vite Docker


The Problem

Traditional task management tools are passive observers. They track what's happening but don't actively help employees complete their work. When someone gets stuck:

  • ❌ They waste hours before asking for help
  • ❌ Managers only find out during weekly standups
  • ❌ Projects slip without early warning
  • ❌ Valuable knowledge stays siloed in individuals

The Solution

TaskPulse AI is an active task completion engine that:

  • βœ… Proactively checks in with employees every 3 hours
  • βœ… Uses AI to unblock stuck workers instantly
  • βœ… Predicts delivery risks before they become problems
  • βœ… Builds organizational knowledge that helps everyone

Features

πŸ”„ Smart Check-In Engine

Intelligent, proactive engagement that catches blockers early.

Feature Description
3-Hour Loops Configurable check-in intervals per team or task type
Friction Detection AI identifies when progress is slower than expected
Auto-Escalation Missed check-ins trigger manager notifications
Silent Mode No interruptions when everything's on track

🧠 AI Unblock Engine

RAG-powered assistance with zero hallucination guarantee.

Employee: "I'm stuck on the OAuth integration with our legacy system"

TaskPulse AI: Based on your codebase and past solutions:
β”œβ”€β”€ Similar issue solved by @john (PR #234) - 3 weeks ago
β”œβ”€β”€ Internal wiki: "Legacy OAuth Migration Guide"
β”œβ”€β”€ Suggested teammate: @sarah (95% skill match)
└── Estimated unblock time: 45 minutes with pairing
  • Knowledge Base Integration - Upload docs, wikis, and past solutions
  • Skill-Adaptive Responses - Adjusts explanation complexity to user level
  • Smart Teammate Matching - Suggests the right person to help

πŸ“Š Prediction Engine

Machine learning-powered forecasting that sees problems coming.

Prediction Type What It Does
Delivery Forecast P25, P50, P90 completion estimates
Risk Cascade Shows how one delay affects downstream tasks
Velocity Trends Team performance over time
Hiring Forecast Predicts when you'll need more capacity

🎯 Skill Graph

Automatic skill inference that grows with your organization.

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  Developer: Sarah Chen                          β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–‘β–‘  React (85%)          β”‚
β”‚  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘  TypeScript (70%)     β”‚
β”‚  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  Python (95%)         β”‚
β”‚  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘  DevOps (40%)         β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚  πŸ“ˆ Learning Velocity: +15% this quarter        β”‚
β”‚  🎯 Recommended: "Advanced Kubernetes" course   β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

πŸ‘₯ Workforce Intelligence

Data-driven insights for better organizational decisions.

  • Performance Scoring - Objective, multi-factor employee metrics
  • Manager Effectiveness - How well leaders enable their teams
  • Org Health Index - Company-wide productivity dashboard
  • Restructuring Simulator - Model team changes before making them

πŸ€– Automation Detection

Find and eliminate repetitive work automatically.

  1. Pattern Recognition - AI identifies repetitive task sequences
  2. Agent Creation - One-click automation for common workflows
  3. Shadow Mode - Test automations safely before deployment
  4. ROI Dashboard - Track hours saved and cost reduction

Quick Start

Prerequisites

  • Python 3.11+
  • Node.js 18+
  • npm or yarn

Local Development

1. Clone the repository

git clone https://github.com/shibinsp/taskpulse-ai.git
cd taskpulse-ai

2. Backend Setup

cd backend

# Install dependencies
pip install -r requirements.txt

# Or install core dependencies
pip install fastapi uvicorn sqlalchemy aiosqlite pydantic-settings python-jose[cryptography] passlib bcrypt python-multipart greenlet

# Configure environment (already set up)
# Edit backend/.env if needed

# Start the server
python3 -m uvicorn app.main:app --host 0.0.0.0 --port 8000 --reload

3. Frontend Setup

cd frontend

# Install dependencies
npm install

# Start development server
npm run dev

4. Access the Application

Quick Start Script

# From project root
./start.sh

This will start both backend and frontend services automatically.


Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                         Frontend (React)                         β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚
β”‚  β”‚Dashboard β”‚ β”‚  Tasks   β”‚ β”‚ Check-insβ”‚ β”‚   Skills & Reports   β”‚ β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                              β”‚ REST API (Vite Proxy)
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                        Backend (FastAPI)                         β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”‚
β”‚  β”‚                        API Layer (v1)                        β”‚β”‚
β”‚  β”‚  Auth β”‚ Tasks β”‚ Check-ins β”‚ Skills β”‚ Predictions β”‚ Reports  β”‚β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”‚
β”‚  β”‚                      Service Layer                           β”‚β”‚
β”‚  β”‚  AI Service β”‚ Prediction β”‚ Skill Graph β”‚ Automation β”‚ Notif  β”‚β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”‚
β”‚  β”‚                       Data Layer                             β”‚β”‚
β”‚  β”‚            SQLAlchemy ORM β”‚ Async SQLite/PostgreSQL          β”‚β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                              β”‚
        β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
        β–Ό                     β–Ό                     β–Ό
   β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”          β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”         β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
   β”‚   AI    β”‚          β”‚ Database β”‚         β”‚  Cache   β”‚
   β”‚ Providerβ”‚          β”‚  SQLite  β”‚         β”‚  (Future)β”‚
   β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜          β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜         β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Tech Stack

Layer Technology
Frontend React 18, TypeScript, Vite, Zustand, Axios
Backend FastAPI, Python 3.11+, SQLAlchemy, Pydantic
Database SQLite (dev) / PostgreSQL (prod)
AI OpenAI / Anthropic Claude / Mock (configurable)
Deployment Docker, Docker Compose (coming soon)

API Documentation

Interactive API documentation is available at:

Key Endpoints

Authentication
POST /api/v1/auth/register   # Create new account
POST /api/v1/auth/login      # Get access tokens
POST /api/v1/auth/refresh    # Refresh access token
GET  /api/v1/auth/me         # Get current user
Tasks
GET    /api/v1/tasks              # List all tasks
POST   /api/v1/tasks              # Create new task
GET    /api/v1/tasks/{id}         # Get task details
PUT    /api/v1/tasks/{id}         # Update task
DELETE /api/v1/tasks/{id}         # Delete task
POST   /api/v1/tasks/{id}/decompose  # AI task breakdown
Check-ins
GET  /api/v1/checkins              # List check-ins
POST /api/v1/checkins              # Create check-in
GET  /api/v1/checkins/{id}         # Get check-in details
AI & Predictions
POST /api/v1/ai/unblock                    # Get AI help for blockers
GET  /api/v1/predictions/tasks/{id}        # Delivery forecast
GET  /api/v1/predictions/team/{id}/velocity # Velocity trends
Workforce & Reports
GET  /api/v1/workforce/scores       # Employee performance
GET  /api/v1/workforce/org-health   # Organization metrics
POST /api/v1/workforce/simulate     # Restructuring simulation
GET  /api/v1/reports/dashboard      # Dashboard data
POST /api/v1/reports/generate       # Generate report

Role-Based Access Control

Role Capabilities
Super Admin Full system access, multi-org management
Org Admin Organization settings, all users
Manager Team oversight, reports, escalations
Team Lead Team task management, check-ins
Employee Personal tasks, respond to check-ins
Viewer Read-only dashboard access

Configuration

Environment Variables

Variable Description Default
ENVIRONMENT Environment mode development
DATABASE_URL Database connection sqlite+aiosqlite:///./taskpulse.db
SECRET_KEY JWT signing key (auto-generated for dev)
AI_PROVIDER AI backend mock
OPENAI_API_KEY OpenAI API key -
ANTHROPIC_API_KEY Anthropic API key -

AI Provider Setup

Mock (Default) - No API keys needed, great for development.

OpenAI:

AI_PROVIDER=openai
OPENAI_API_KEY=sk-your-key

Anthropic Claude:

AI_PROVIDER=anthropic
ANTHROPIC_API_KEY=sk-ant-your-key

Project Structure

taskpulse-ai/
β”œβ”€β”€ backend/
β”‚   β”œβ”€β”€ app/
β”‚   β”‚   β”œβ”€β”€ api/v1/          # REST API endpoints
β”‚   β”‚   β”œβ”€β”€ core/            # Security, middleware
β”‚   β”‚   β”œβ”€β”€ models/          # Database models
β”‚   β”‚   β”œβ”€β”€ schemas/         # Pydantic schemas
β”‚   β”‚   β”œβ”€β”€ services/        # Business logic
β”‚   β”‚   β”œβ”€β”€ agents/          # AI agents
β”‚   β”‚   └── utils/           # Helpers
β”‚   β”œβ”€β”€ tests/               # Test suite
β”‚   β”œβ”€β”€ scripts/             # Seed data, utilities
β”‚   β”œβ”€β”€ .env                 # Environment config
β”‚   └── requirements.txt
β”œβ”€β”€ frontend/
β”‚   β”œβ”€β”€ src/
β”‚   β”‚   β”œβ”€β”€ pages/           # Route pages
β”‚   β”‚   β”œβ”€β”€ services/        # API clients
β”‚   β”‚   β”œβ”€β”€ store/           # State management
β”‚   β”‚   β”œβ”€β”€ types/           # TypeScript types
β”‚   β”‚   └── lib/             # Utilities
β”‚   β”œβ”€β”€ package.json
β”‚   └── vite.config.ts
β”œβ”€β”€ start.sh                 # Quick start script
β”œβ”€β”€ INTEGRATION.md           # Integration guide
└── README.md

Development

Running Tests

# Backend tests
cd backend
pytest

# With coverage
pytest --cov=app --cov-report=html

Code Quality

# Backend linting
cd backend
flake8 app/
black app/

# Frontend linting
cd frontend
npm run lint

Roadmap

  • Core Task Management - CRUD operations, status tracking
  • Authentication & Authorization - JWT-based auth, RBAC
  • Check-in System - Proactive engagement loops
  • AI Unblock Engine - RAG-powered assistance
  • Skill Graph - Automatic skill inference
  • Prediction Engine - ML-powered forecasting
  • Slack/Teams Integration - Check-ins where your team works
  • Mobile App - iOS and Android native apps
  • Advanced Analytics - Custom report builder
  • SSO/SAML - Enterprise authentication
  • Multi-language Support - i18n for global teams
  • API Webhooks - External integrations

Contributing

We welcome contributions! Here's how to get started:

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details.


Support


Built with passion for productive teams everywhere.

Stars Forks

About

The Intelligent Task Completion Engine - Transform your workforce from passive task tracking to active task completion intelligence.

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors