How I Built a Graph-Powered Study Agent Using FalkorDB and Streamlit
Описание и применение
Campus Brain использует FalkorDB и Streamlit для динамического поиска цепочек предшествующих тем и сохранения прогресса студента.
Задача
Students struggle to navigate complex curriculum prerequisites and track personalized study progress.
Результат
Campus Brain provides fast, flexible navigation of curriculum prerequisites and persistent tracking of student progress, leveraging graph queries and an interactive frontend.
Рабочий процесс
- 1. Set up FalkorDB Cloud to store Topic nodes and PREREQUISITE_OF relationships.
- 2. Store student mastery states as MASTERED relationships in a private session graph.
- 3. Build a Streamlit UI for topic selection and progress display.
- 4. Execute Cypher queries to find prerequisite chains and update mastery states.
- 5. Persist state across sessions via FalkorDB.
- 6. Render live updates in the Streamlit app.
Доказательства
During the Graph Hacks hackathon, I wanted to tackle a common problem in education: navigating complex curriculum prerequisites and tracking personalized study progress.
I built Campus Brain— a graph-powered study agent designed for Data Structures.
FalkorDB Cloud: Used as the core graph database to store educational dependency graphs (PREREQUISITE_OF relationships) and manage private student memory (MASTERED states).
Streamlit: Used for the interactive user interface, allowing students to select topics, track their progress, and view live updates.
For instance, finding the prerequisite chain for a target topic looks like this: cypher MATCH p = (a:Topic)-[:PREREQUISITE_OF*1..8]->(t:Topic {name: $target}) RETURN a.name, a.unit, max(length(p))
- Дата записи: 2026-10-18T17:56:12.004Z