altk-evolve
altk-evolve copied to clipboard
Documentation: Defining the scope boundaries between the Viz Tracing Tool and the UI Dashboard
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
- Positioning: Should we explicitly market
vizas a local debugging flow, andfrontend/uias the administrative production dashboard? - Consolidation: Is there value in porting the "Trajectory Transcript Viewer" from
vizinto thefrontend/uiproject so the SPA has full visibility into the agent logs? Or should local tracing remain completely independent from the vector DB management?