Skip to content

AI-powered goal planning app using Streamlit + Gemini API. Breaks down goals into day-wise tasks and learns from user feedback using reinforcement learning.

Notifications You must be signed in to change notification settings

ARYANSHARMA01-tech/Goal-Planner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧠 Smart Goal Planner Agent

Smart Goal Planner UI

📌 Overview

Smart Goal Planner Agent is a Streamlit-based AI tool that helps users break down high-level goals (like “Learn Python in 5 days”) into a manageable, day-wise plan using a generative AI model (Gemini). It also incorporates a simple reinforcement learning (RL) loop to learn from user feedback and refine future plans.


🚀 Features

  • ✅ Plan generation using Gemini API (Google Generative AI)
  • ✅ Daily step-by-step breakdown of goals
  • ✅ Interactive feedback from users
  • ✅ Adaptive learning using Reinforcement Learning

🔧 Tech Stack

  • Python 🐍
  • Streamlit
  • Google Gemini API (Generative AI)
  • Reinforcement Learning logic

🖥️ How to Run Locally

1. Clone the Repository

git clone https://github.com/your-username/your-repo-name.git
cd your-repo-name

2. Install Dependencies

Make sure you have Python 3.9+ and pip installed.

pip install -r requirements.txt

3. Setup Environment Variables

Create a .env file in the root folder and add your Gemini API key:

GEMINI_API_KEY=your_api_key_here

4. Run the App

streamlit run main.py

📷 Screenshot

App Screenshot


💡 How It Works

  1. Goal Input: User enters a high-level goal.
  2. Gemini Generation: Goal is passed to Google Gemini to create a 5-day plan.
  3. Interactive Feedback: User gives feedback on each day's step.
  4. RL Update: Feedback is used to update internal strategy with reinforcement logic.

📁 Project Structure

.
├── main.py              # Streamlit frontend
├── gemini_agent.py      # Gemini goal planning logic
├── rl.py                # Reinforcement learning logic
├── .env                 # API key (not shared)
├── requirements.txt     # Required Python libraries
└── README.md

🧠 Powered By


🙌 Contributions

PRs are welcome! If you find bugs or want to suggest improvements, feel free to open an issue or fork the repo.


About

AI-powered goal planning app using Streamlit + Gemini API. Breaks down goals into day-wise tasks and learns from user feedback using reinforcement learning.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages