Problem
Currently, the only visibility into AutoMem's behavior is through raw server logs on the agent end. There's no insight into what's happening on the server side during memory operations.
Proposed Solution
Add a real-time observability layer that exposes query metrics and traversal details. This could be:
Implementation Options
- Terminal-based - Simple CLI tool that tails structured logs
- WebSocket-based - Real-time web dashboard (could integrate with existing graph-viewer)
- Both - Terminal for quick debugging, web for richer visualization
Metrics to Expose
Query Metrics
Graph Traversal Stats
Quality Metrics (if low-cost)
Enrichment Pipeline
Prior Art
The existing /enrichment/status and /analyze endpoints provide some static metrics. This would extend that to real-time streaming.
Notes
- Should have minimal performance overhead when not actively monitored
- Consider structured logging (JSON) for easy parsing
- Could leverage existing FalkorDB Browser infrastructure (port 3001)
Deferred until current branch is merged
Problem
Currently, the only visibility into AutoMem's behavior is through raw server logs on the agent end. There's no insight into what's happening on the server side during memory operations.
Proposed Solution
Add a real-time observability layer that exposes query metrics and traversal details. This could be:
Implementation Options
Metrics to Expose
Query Metrics
Graph Traversal Stats
Quality Metrics (if low-cost)
Enrichment Pipeline
Prior Art
The existing
/enrichment/statusand/analyzeendpoints provide some static metrics. This would extend that to real-time streaming.Notes
Deferred until current branch is merged