Loading views...

Agent Graph Migration

Creator
Creator
Seonglae ChoSeonglae Cho
Created
Created
2025 May 13 15:47
Editor
Edited
Edited
2025 May 28 11:8
Refs
Refs

Analysis

  1. server starts with fastapi and uvicorn (server/config.py)
  1. langfuse trace → sqlite db with SQLAlchemy ORM (utils/config.py) data folder
      • utils/fetch_langfuse_logs.py gets trace data from langfuse
  1. knowledge graph construction /api/traces/{trace_id}/process
    1. sliding window from core/sliding_window_monitor
    2. crewAI individual window analysis core/agent_monitoring.py
    3. merge knowledge graphs into a single one core/knowledge_graph_merger.py
  1. save the knowledge graph into the dataset
  1. visualisation through template html and static css/js

Todo

  • API 키(.env 파일, utils/config.py), Langfuse 키 하드코딩 문 utils/fetch_langfuse_logs.py
 
 

Details

  1. interaction_prompt at entity and raw_prompt at relation reconstructed into reconstected_prompt for simulation
 
 
 
 
 

Recommendations