Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

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