From 5b308aeff08e897544473f4e46df4829a05562f6 Mon Sep 17 00:00:00 2001 From: ghaymah_dev Date: Mon, 31 Aug 2026 07:12:35 +0000 Subject: [PATCH] Update q1-cumin-memory/cumin-memory-module.md --- q1-cumin-memory/cumin-memory-module.md | 67 +++++++++----------------- 1 file changed, 22 insertions(+), 45 deletions(-) diff --git a/q1-cumin-memory/cumin-memory-module.md b/q1-cumin-memory/cumin-memory-module.md index 189daa6..48ab963 100644 --- a/q1-cumin-memory/cumin-memory-module.md +++ b/q1-cumin-memory/cumin-memory-module.md @@ -1,10 +1,14 @@ -# Q1 โ€” Design a Memory Module for the Cumin Agent +# Cumin Agent โ€” Interview Questions + +๐Ÿ‘‰ **Before you start:** sign up and explore our Cumin agent at [os.solidpoint.ai](https://os.solidpoint.ai). + +--- + +## Q1 โ€” Design a Memory Module for the Cumin Agent โฑ **Budget: ~15 minutes** ยท Weight: 30% -## Context - -We build agents like **Cumin** โ€” the AI agent that runs inside a compute sandbox. Today Cumin's runtime looks like this: +### Context | Primitive | Purpose | |---|---| @@ -16,7 +20,7 @@ We build agents like **Cumin** โ€” the AI agent that runs inside a compute sandb **The gap:** Cumin has no real memory. Between turns it has to re-read its workspace files and skills from scratch. It forgets past conversations, past decisions, and past failures. There is no way to recall *"what did I learn last time I did this?"* -## Your task +### Your task Design a **memory module** for Cumin. Be concrete โ€” we want to see storage choices, retrieval logic, and pseudocode, not hand-waving. Cover: @@ -28,7 +32,7 @@ Design a **memory module** for Cumin. Be concrete โ€” we want to see storage cho 6. **Agent-loop integration** โ€” pseudocode showing where memory is read/written during a normal turn. 7. **Failure modes & mitigations** โ€” memory poisoning, staleness, context overflow, leakage between users, etc. -## Deliverable +### Deliverable Fill in the template below. Pseudocode blocks should be runnable-in-spirit (correct Python-ish, not perfect). @@ -36,52 +40,25 @@ Fill in the template below. Pseudocode blocks should be runnable-in-spirit (corr ## ANSWER โ€” Cumin Memory Module -### 1. Memory taxonomy -| Type | What it stores | Example | Approx. size | Retention / TTL | -|---|---|---|---|---| -| Working | | | | | -| Episodic | | | | | -| Semantic | | | | | -| Procedural | | | | | -### 2. Storage backends (map to Ghaymah where possible) +--- -| Memory type | Backend | Ghaymah product | Why this choice | -|---|---|---|---| -| Working | | | | -| Episodic | | | | -| Semantic | | | | -| Procedural | | | | +## Q2 โ€” General Product Feedback -### 3. Write policy +โฑ **Budget: ~10 minutes** ยท Weight: 15% -> _When and what does Cumin write? e.g. after every turn? on task completion? on error?_ +Now that you've explored Cumin at [os.solidpoint.ai](https://os.solidpoint.ai), give us your honest, concrete feedback. -### 4. Read / retrieval policy +### Your task -> _How does Cumin decide what to recall? Give a ranking/scoring approach._ +1. **What works well** โ€” what would make you keep using it? +2. **What's broken or confusing** โ€” bugs, UX friction, missing features. +3. **What's missing** โ€” the one capability that would most change how you use it. +4. **Positioning** โ€” who is this *really* for, and how should we talk about it? -### 5. Memory API (pseudocode) +### Deliverable -```python -# write your pseudocode here -``` +Free-form, but be specific. Reference actual moments from using the product where possible. -### 6. Agent-loop integration (pseudocode) - -```python -# show a single Cumin turn: recall -> act -> write -``` - -### 7. Failure modes & mitigations - -| Failure mode | Mitigation | -|---|---| -| | | -| | | -| | | - -### 8. (Bonus) Compaction - -> _Over time, episodic memory grows unbounded. How do you summarize/compact it?_ +> _Write your feedback here_