Purple dots = retrieved memories. Hover for summary.
Memory Bank
sorted by similarity
#1
Helped debug a Docker networking issue in CI pipeline
2024-04-02 · 2d ago
100%
RETRIEVED
#2
Debugged a Python memory leak in production ML pipeline
2024-02-19 · 45d ago
100%
RETRIEVED
#3
Wrote unit tests for a FastAPI authentication module
2024-02-26 · 38d ago
100%
RETRIEVED
#4
Fixed a Python asyncio deadlock in concurrent API calls
2024-03-18 · 17d ago
100%
#5
Implemented LRU cache for expensive ML feature computation
2024-03-30 · 5d ago
100%
#6
Refactored React component to use hooks instead of class
2024-03-11 · 24d ago
100%
#7
Optimized PostgreSQL query that was scanning 2M rows
2024-03-04 · 31d ago
84%
#8
Wrote a data pipeline for streaming Kafka events to S3
2024-03-25 · 10d ago
72%
Context Window Budget
~101 / 8000 tokens
3 memories retrieved, injected into system prompt.
Query
Top-K3
15
Similarity Threshold0.50
0.00.99
Total memories8
Retrieved3
Below threshold0
Episodic memory stores past task episodes as embeddings. At query time, cosine similarity retrieves the most relevant past experiences, injecting them into the agent's context.
Episodic Memory with Vector Store - Interactive Visualization
Episodic memory allows agents to recall relevant past experiences when facing a new task. Each past episode (a completed task or conversation) is embedded into a high-dimensional vector and stored in a vector database. When a new query arrives, it is embedded and compared to stored episodes using cosine similarity. The top-K most similar episodes are retrieved and injected into the agent's context window, providing relevant prior experience without retraining. This visualization shows a bank of 8 past episodes, a 2D embedding projection, similarity scores, and token budget impact.
8 past episodes stored in the memory bank - real engineering tasks with timestamps and tags
Select from 5 preset queries and watch the retrieval scores update across all episodes
Adjust top-K (1–5) and similarity threshold to filter what gets injected into context
Timeline view shows when memories were created and which are retrieved (purple dots)
Token budget tracker shows how retrieved memories fill the context window
Part of the EngineersOfAI Interactive 3D - free interactive visualizations covering every major concept in machine learning and AI engineering. Hover any element for a plain-English explanation. No code required.