Skip to content

aayodejii/adaptive-learning-agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Adaptive Learning Agent

LLM powered personalized learning assistant built with LangChain agents and Streamlit.

Features

  • Personalized learning path generation
  • Interactive quiz generation with structured outputs
  • Progress tracking and knowledge profiling
  • Real-time resource search
  • Tool-calling agent with traceability

Tech Stack

  • LangChain 1.0 (tool-calling agents)
  • OpenAI GPT-4o
  • Streamlit
  • Pydantic (structured outputs)
  • Python 3.12+

Setup

  1. Install dependencies with uv:
uv sync
  1. Create .env file:
cp .env.example .env
  1. Add your OpenAI API key to .env:
OPENAI_API_KEY=your_key_here

Usage

Run the web application:

streamlit run app.py

Run component demos:

python demo.py

Custom Tools

KnowledgeProfileManager

Manages persistent user learning profiles and progress tracking.

StructuredQuizGenerator

Generates validated quizzes using Pydantic output parsers.

RealTimeResourceSearch

Searches for educational resources using web search APIs.

Architecture

Built using LangChain's create_agent with tool calling architecture for efficient multi-tool coordination. The agent uses implicit reasoning with explicit tool call tracking for traceability.

About

llm powered personalized learning assistant built with langchain agents and streamlit

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages