altk-evolve icon indicating copy to clipboard operation
altk-evolve copied to clipboard

Documentation: Defining the scope boundaries between the Viz Tracing Tool and the UI Dashboard

Open visahak opened this issue 7 months ago • 0 comments

Currently, we have two different web interfaces developing in parallel: the evolve viz tool introduced in PR #187, and the frontend/ui project.

While both serve as visualization layers for Evolve's data, they have distinct technical architectures and address fundamentally different use cases. I wanted to summarize the differences here so we can clarify their roles, determine how they coexist, and plan any potential feature alignments.

🔍 Architectural Differences

viz (PR #187) frontend/ui
Tech Stack Zero-dependency Python http.server, single HTML file serving React via CDN. Modern SPA (Node.js, Vite, TypeScript, React Router).
Data Source Local disk parsing (reads .md and .json files directly from .evolve/). API-driven (connects to the Evolve REST API and vector databases).
Interaction Read-only. Read & Write (CRUD capabilities).

✨ Feature Discrepancies

viz (PR #187) is optimized for Local Tracing & Debugging:

  • Trajectory Tracking: Displays a timeline of individual agent runs.
  • Transcript Viewer: Shows the raw agent chat history, distinguishing between user, model, and tool calls.
  • Causality Linking: Visually links the generated Guidelines back to the exact agent Trajectory that triggered their creation.

frontend/ui is optimized for Active Knowledge-Base Management:

  • Analytics Dashboard: Displays vector-backend system health and pie charts mapping entity types.
  • Namespace Management: Allows creating, listing, and deleting Namespaces (isolated vector DB silos).
  • Entity CRUD: Provides a data-table interface to filter entities, and a fully featured modal to manually inject or delete entities from the backend.
  • (Note: It has no awareness of Trajectories or chat transcripts).

🎯 Discussion Points / Next Steps

  1. Positioning: Should we explicitly market viz as a local debugging flow, and frontend/ui as the administrative production dashboard?
  2. Consolidation: Is there value in porting the "Trajectory Transcript Viewer" from viz into the frontend/ui project so the SPA has full visibility into the agent logs? Or should local tracing remain completely independent from the vector DB management?

visahak avatar Apr 20 '26 16:04 visahak