Spaces:
Sleeping
A newer version of the Gradio SDK is available:
5.39.0
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 (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
git clone https://huggingface.co/spaces/ujwal55/Stateful_Reminder_Agent
cd Stateful_Reminder_Agent
2. Install dependencies
pip install -r requirements.txt
3. Run the app
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 β aspiring Agentic AI Developer