--- title: Stateful Reminder Agent emoji: πŸ“Š colorFrom: yellow colorTo: yellow sdk: gradio sdk_version: 5.33.0 app_file: app.py pinned: false short_description: Agent that manages user reminders with in-session memory --- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference # ⏰ Stateful Reminder Agent (Timezone-Aware) A simple agentic AI app to help you add, view, check, and delete reminders β€” now with **timezone support**! Built using Python and Gradio, this project showcases stateful behavior and time-based task handling in real-time. --- ## πŸš€ Live Demo πŸ‘‰ [Launch on Hugging Face Spaces](https://huggingface.co/spaces/ujwal55/Stateful_Reminder_Agent) *(Replace with your actual link)* --- ## 🧠 Features - βœ… **Add Reminders** β€” set reminders using a chosen timezone. - 🌍 **Timezone Support** β€” select from common timezones (e.g., Asia/Kolkata, UTC). - πŸ“‹ **List Reminders** β€” shows upcoming reminders with time left. - πŸ”” **Check β€œWhat’s Next?”** β€” tells you if something is due right now. - πŸ—‘οΈ **Delete Reminders** β€” remove a reminder by exact time + timezone. - πŸ’Ύ **In-Session State** β€” reminders are stored in memory (not persisted). --- ## πŸ“¦ Tech Stack - **Python 3.6+** - **Gradio** β€” interactive UI - **pytz** β€” for timezone-aware datetime handling --- ## πŸ“ File Structure ``` Stateful\_Reminder\_Agent/ β”œβ”€β”€ app.py # Main app logic β”œβ”€β”€ README.md # This file └── requirements.txt # Dependencies ```` --- ## 🧠 Agentic AI Concepts This agent simulates key agentic AI principles: - Maintains **session memory** of tasks (reminders) - Responds to user input with **goal-oriented behavior** - Operates with **real-time logic** and conditional decisions - Supports **multi-function interaction** via tabs --- ## πŸ› οΈ Setup & Run Locally ### 1. Clone the repo ```bash git clone https://huggingface.co/spaces/ujwal55/Stateful_Reminder_Agent cd Stateful_Reminder_Agent ```` ### 2. Install dependencies ```bash pip install -r requirements.txt ``` ### 3. Run the app ```bash python app.py ``` --- ## πŸ§ͺ Example Usage * **Add Reminder** ➀ Time: `2025-06-07 09:00` ➀ Message: `Join Turing Test Interview` ➀ Timezone: `Asia/Kolkata` * **List All** β†’ Shows upcoming reminders in your selected timezone. * **Check "What's Next?"** β†’ Tells if anything is due within the next 60 seconds. * **Delete Reminder** β†’ Input same time + timezone to remove. --- ## ⚠️ Known Limitations * Data is not persisted β€” reminders are lost when session ends. * No background scheduler (must manually press "What's Next?") * Limited timezone dropdown (can be expanded easily) --- ## πŸ’‘ Possible Extensions * Persist reminders with SQLite or JSON * Use natural language input like: *"Remind me to drink water in 2 hours"* * Add background trigger or sound alert * Detect user’s timezone automatically (via browser) --- πŸ‘¨β€πŸ’» Built by [@ujwal55](https://huggingface.co/ujwal55) β€” aspiring Agentic AI Developer