How mrpeculiar123/lenovo_leap_2026 works
PathForge is a personalized career-learning navigator. Learners register, complete onboarding, take an adaptive assessment, review career skill gaps, and receive a grounded seven-day plan; they can also use tutoring and revisit progress and history. The React client communicates with FastAPI, whose navigator router and LangGraph workflow coordinate domain agents and supporting services. The README documents these product capabilities; some router, page, and agent implementations were not sampled, so uncertain internal calls are omitted.
Main entry points: graph.py Workflow graph · main.py FastAPI app · assessment.py Assessment agent · rag_service.py Grounded resources
Components 25
Learner experience
- React app
client/src/App.jsx - Auth context
client/src/context/AuthContext.jsx - Learning pages
client/src/pages - API client
client/src/services/api.js
API and identity
- FastAPI app
server/main.py - Authentication
server/routers/auth.py - Onboarding
server/routers/onboarding.py - Navigator API
server/routers/navigator.py
Learning workflow
- Workflow graph
server/agent/graph.py - Assessment agent
server/agent/nodes/assessment.py - Career gap agent
server/agent/nodes/gap_career.py - Tutor agent
server/agent/nodes/content_tutor.py - Planning agent
server/agent/nodes/planning.py
Learning services
- Adaptive modeling
server/services/ml_engine.py - Answer evaluator
server/services/answer_evaluator.py - Career benchmarks
server/services/career_benchmarks.py - Prerequisite graph
server/services/knowledge_graph.py - Grounded resources
server/services/rag_service.py - Adaptive policies
server/services/rl_policy_service.py
Persistence
- Database access
server/core/database.py - Workflow checkpoints
server/services/checkpoint_store.py
Other components
- Learner
- Gemini
- Pinecone
- PostgreSQL
Connections 28
- Learner → React app: uses
- React app → Auth context: provides auth
- React app → Learning pages: routes to
- Auth context → API client: requests auth
- Learning pages → API client: requests learning
- API client → FastAPI app: calls API
- FastAPI app → Authentication: dispatches auth
- FastAPI app → Onboarding: dispatches onboarding
- FastAPI app → Navigator API: dispatches navigation
- Authentication → Database access: reads/writes users
- Onboarding → Database access: persists profile
- Navigator API → Workflow graph: runs workflow
- Workflow graph → Assessment agent: dispatches assessment
- Workflow graph → Career gap agent: dispatches gap analysis
- Workflow graph → Tutor agent: dispatches tutoring
- Workflow graph → Planning agent: dispatches planning
- Assessment agent → Adaptive modeling: updates mastery
- Assessment agent → Answer evaluator: evaluates answers
- Assessment agent → Adaptive policies: selects strategy
- Career gap agent → Career benchmarks: compares skills
- Career gap agent → Prerequisite graph: finds prerequisites
- Planning agent → Grounded resources: retrieves resources
- Tutor agent → Grounded resources: retrieves context
- Grounded resources → Gemini: embeds queries
- Grounded resources → Pinecone: searches vectors
- Adaptive policies → Database access: loads/saves policies
- Database access → PostgreSQL: queries
- Workflow graph → Workflow checkpoints: persists state