This project is an intelligent task management backend built with FastAPI and SQLite. It includes AI agents that automate task assignment, employee notifications, and daily task summary generation using LLMs.
- Role-Based User System: Register as
admin,manager, oremployee - Task Assignment Agent: Automatically assigns tasks based on employee skills
- Notification Agent: Notifies employees upon task assignment or summary
- Summary Agent: Generates daily reports and summaries using LLM
- FastAPI Swagger Docs for testing all endpoints interactively
- SQLite database for lightweight and easy storage
- Python 3.10+
- FastAPI - Web framework
- SQLite - Relational database
- SQLAlchemy - ORM
- Pydantic - Data validation
- dotenv - Environment variable management
- httpx / requests - HTTP calls
- Any LLM provider (like AllTogetherAI / OpenAI) for summaries
-
Clone the repository git clone https://github.com/RautAtharv07/AI_Task_dashboard.git cd AI_Task_dashboard
-
Create a virtual environment python -m venv .venv
-
Activate the virtual environment On Windows: .venv\Scripts\activate On macOS/Linux: source .venv/bin/activate
-
Install dependencies pip install -r requirements.txt
-
Create a .env file in the root directory with the following keys (Use your actual API key and email config) -echo "OPENAI_API_KEY=your_openai_key_here -EMAIL_SENDER=your_verified_email@example.com -SMTP_PASSWORD=your_smtp_password -SMTP_SERVER=smtp.your_email_provider.com -SMTP_PORT=587" > .env
-
Start the FastAPI server uvicorn main:app --reload
Open your browser at: http://127.0.0.1:8000/docs