LearnMate is an agentic AI learning coach that helps students pick the right online learning path based on their interests, current skill level, and long‑term goals.
It is built only on IBM Cloud using IBM watsonx.ai (llama models).
Live At : https://ibm-cloud-personalized-course-pathways-generator.streamlit.app
Students are overwhelmed by thousands of online courses and don’t know:
- Which skill path fits their interests (Frontend, Cybersecurity, UI/UX, etc.).
- Where to start based on their current level.
- How to adjust the roadmap as they progress or change goals.
LearnMate:
- Chats with the student to understand interests and goals.
- Stores a simple student profile on IBM Cloud.
- Uses IBM Granite to generate a personalized learning roadmap.
- Provides an AI chat coach that adapts advice as the student’s profile evolves.
IBM’s Granite foundation models are decoder‑only language models optimized for predicting and generating text, which makes them suitable for this kind of coaching and roadmap generation .
All components run on IBM Cloud:
- Frontend: Simple HTML/CSS/JavaScript (static files). - StreamLit
- Backend: Python + Flask API.
- AI Layer: IBM watsonx.ai Runtime using an IBM llama-3-3-70b-instruct model.
- Database: IBM Cloudant (Lite plan) for storing student profiles.
IBM Cloud Lite plans allow you to try over 40 services, including foundation models and databases, for free within usage limits .
personalized-course-pathways/
├── assets/
│ └── styles.css
├── data/
│ ├── courses.csv
│ └── roadmap_templates.json
├── src/
│ ├── model_client.py
│ ├── recommender.py
│ ├── roadmap_builder.py
│ ├── storage.py
│ └── utils.py
├── .env
├── app.py
└── requirements.txt
Before running the project, you need:
- IBM Cloud account (Lite / Free tier) .
- IBM watsonx.ai project with:
- A Granite instruct model (e.g.,
llama-3-3-70b-instruct). - A Runtime instance for text generation.
- A Granite instruct model (e.g.,
- IBM Cloudant Lite instance for storing profiles.
- Python 3.10+ installed locally.
- Go to the IBM Cloud Free Tier page and sign up for an account .
- Open watsonx.ai in IBM Cloud.
- Create a Project (note the Project ID).
- In the project, create a Runtime (Lite plan).
- Enable a Granite text model from the foundation model catalog (llama-3-3-70b-instruct family) .
- Generate an API key in IBM Cloud (IAM → API keys).
You will need:
WATSONX_APIKEY– your IBM Cloud API key.WATSONX_PROJECT_ID– your watsonx.ai project ID.WATSONX_URL– usuallyhttps://us-south.ml.cloud.ibm.com.
You will need:
CLOUDANT_URLCLOUDANT_APIKEY- Any database name (e.g.
learnmate_students); it will be created automatically.
In the backend folder:
-
Create
.env:WATSONX_APIKEY=your_ibm_api_key_here WATSONX_PROJECT_ID=your_watsonx_project_id_here WATSONX_URL=https://us-south.ml.cloud.ibm.com WATSONX_MODEL_ID=meta-llama/llama-3-3-70b-instruct
-
Create
requirements.txt:streamlit ibm-watsonx-ai==1.5.14 python-dotenv pandas
-
Install dependencies:
cd personalized-course-pathways/ pip install -r requirements.txt -
Run the application:
python -m streamlit run app.py
You should see something like:
* Running on http://127.0.0.1:5000
Live Demo of Running Locally :
LearnMate is agentic because:
- Uses Lamma Model from IBM to:
- Analyse interests and skill level.
- Plan a multi‑week roadmap.
- Adapt answers based on stored data.
- It can be extended to:
- Re‑generate roadmaps when progress is updated.
- Integrate external course catalogs via additional tools.
Ideas you can add later:
- Skill assessment quizzes before generating the roadmap.
- Progress tracking (completed topics, dates).
- Integration with IBM SkillsBuild or external course APIs.
- Role‑based flows (school admin vs student).
- More advanced agent orchestration with multi‑step planning.
- IBM Cloud Lite tier for free foundational services .
- IBM watsonx.ai & lamma foundation models for the AI coaching engine .



