Save the note
Maya · Band chat
We rehearse in Room 4. Bring headphones.
Assistant
Saved for the band
Maya asks her assistant to remember both lines for the band.
Original message
We rehearse in Room 4. Bring headphones.
Checked destination
Shared with the band
Save completes
Ready to find
The assistant sends one source item and chooses the band’s shared memory.
evidence[0].content string
Assistant · Remember request "We rehearse in Room 4.\nBring headphones."
→
Original submitted item "We rehearse in Room 4.\nBring headphones."
The assistant sends both lines verbatim. Dense-Mem keeps the original so it can validate the split and trace each passage to its source.
remember request · Required · Up to 16384 characters
target_spaceenum
Maya’s assistant · Remember request "team_shared"
→
Authenticated space selection "team_shared"
The assistant sends team_shared when Maya chooses to save for the band. Dense-Mem checks shared write permission in the authenticated team.
remember request · Required
idempotency_keystring
Assistant · retained before sending "band-note-01"
→
Remember replay lookup "band-note-01"
The assistant keeps the key and the whole request. If the reply is lost, a retry with both unchanged can recover the original result.
remember request · Required · Up to 128 characters
Example remember arguments
{"target_space":"team_shared","idempotency_key":"band-note-01","evidence":[{"content":"We rehearse in Room 4.\nBring headphones.","source_type":"manual","source":"Band chat"}]}
Try saving privately
Maya’s note
We rehearse in Room 4. Bring headphones.
Assistant
Saved just for Maya
Maya chooses to save the note just for her.
Original message
We rehearse in Room 4. Bring headphones.
Checked destination
Maya’s private memory
Save completes
Ready for Maya to find
Dense-Mem saves the item in the private space of Maya’s authenticated identity.
target_spaceenum
Maya’s assistant · Remember request "private"
→
Authenticated space selection "private"
Private selects Maya’s authenticated private space. Sam’s search cannot retrieve from that space.
remember request · Required
evidence[0].content string
Assistant · Remember request "We rehearse in Room 4.\nBring headphones."
→
Original submitted item "We rehearse in Room 4.\nBring headphones."
The assistant sends both lines verbatim. Dense-Mem keeps the original so it can validate the split and trace each passage to its source.
remember request · Required · Up to 16384 characters
idempotency_keystring
Assistant · retained before sending "band-note-private-01"
→
Remember replay lookup "band-note-private-01"
This private save has its own operation key. A retry of this save reuses this key and its unchanged request.
remember request · Required · Up to 128 characters
Example remember arguments
{"target_space":"private","idempotency_key":"band-note-private-01","evidence":[{"content":"We rehearse in Room 4.\nBring headphones.","source_type":"manual","source":"Band chat"}]}
Keep the two ideas
Maya’s saved message
We rehearse in Room 4. Bring headphones.
Saved for the band
Both lines are available
The saved message contains two things a bandmate could ask about.
Original message
We rehearse in Room 4. Bring headphones.
Passage about the room
We rehearse in Room 4.
Passage about what to bring
Bring headphones.
Dense-Mem finds a boundary between the ideas and keeps both passages in Maya’s exact words.
We rehearse in Room 4.↵ Bring headphones.
span_endinteger
Dense-Mem · accepted split 23
→
The end is exclusive. The first passage includes 22 visible characters and the line break. Trace returns the same bound to locate the passage in the original.
remember result · Optional
span_startinteger
Validated split · first position 0
→
Remember result and Trace 0
The first span starts at Unicode code-point offset zero. Dense-Mem stores the offsets with the occurrence so it can recover the exact slice.
remember result · Optional
evidence[0].content string
Assistant · Remember request "We rehearse in Room 4.\nBring headphones."
→
Original submitted item "We rehearse in Room 4.\nBring headphones."
The assistant sends both lines verbatim. Dense-Mem keeps the original so it can validate the split and trace each passage to its source.
remember request · Required · Up to 16384 characters
Try saving privately
Maya’s saved message
We rehearse in Room 4. Bring headphones.
Private memory
Both lines are available to Maya
Both ideas are saved in Maya’s private space.
Original message
We rehearse in Room 4. Bring headphones.
Passage about the room
We rehearse in Room 4.
Passage about what to bring
Bring headphones.
The same exact split stays within the private space selected for the entire note.
We rehearse in Room 4.↵ Bring headphones.
span_endinteger
Dense-Mem · accepted split 23
→
The end is exclusive. The first passage includes 22 visible characters and the line break. Trace returns the same bound to locate the passage in the original.
remember result · Optional
span_startinteger
Validated split · first position 0
→
Remember result and Trace 0
The first span starts at Unicode code-point offset zero. Dense-Mem stores the offsets with the occurrence so it can recover the exact slice.
remember result · Optional
evidence[0].content string
Assistant · Remember request "We rehearse in Room 4.\nBring headphones."
→
Original submitted item "We rehearse in Room 4.\nBring headphones."
The assistant sends both lines verbatim. Dense-Mem keeps the original so it can validate the split and trace each passage to its source.
remember request · Required · Up to 16384 characters
Ask where practice is
Sam asks
Where’s practice?
From Maya’s saved note
We rehearse in Room 4.
Sam’s assistant
Room 4.
Sam’s assistant finds Maya’s room message and answers “Room 4.”
Show original →
We rehearse in Room 4.
Bring headphones.
Question
Where’s practice?
Matching passage
“Practice” and “rehearse” describe the same activity. Dense-Mem can find related wording by meaning.
We rehearse in Room 4.
About gear
Bring headphones.
Search returns the relevant sentence from memory Sam can read. The assistant uses it to write the reply.
querystring
Sam’s assistant · Recall request "Where’s practice?"
→
Search over allowed spaces "Where’s practice?"
The reader’s question becomes a query. Search can match related wording within the reader’s eligible memory.
recall_memory request · Optional · Up to 512 characters
results[0].context string
Recall · exact evidence "We rehearse in Room 4.\n"
→
Assistant’s answer "We rehearse in Room 4.\n"
The result carries a slice of the saved words. In this example the assistant uses that slice to answer the question.
recall_memory result · Required · Up to 16384 characters
results[0].evidence_id UUID
Recall result "00000000-0000-4000-8000-000000000001"
→
Trace request · evidence_id "00000000-0000-4000-8000-000000000001"
The server returns the matching memory’s ID. The assistant can send that same ID to Trace, which checks access before returning its source.
recall_memory result · Required · Up to 128 characters
Example recall_memory arguments
{"query":"Where’s practice?","limit":1}
Try saving privately
Sam asks
Where’s practice?
Sam’s assistant
I couldn’t find the practice room.
Sam’s assistant has no matching passage from this note.
Maya’s private passage
We rehearse in Room 4.
Sam’s search
Only Sam’s permitted spaces
From this note
No result
Sam searches spaces he can read. The private note stays in Maya’s space.
querystring
Sam’s assistant · Recall request "Where’s practice?"
→
Search over allowed spaces "Where’s practice?"
The reader’s question becomes a query. Search can match related wording within the reader’s eligible memory.
recall_memory request · Optional · Up to 512 characters
target_spaceenum
Maya’s assistant · Remember request "private"
→
Authenticated space selection "private"
Private selects Maya’s authenticated private space. Sam’s search cannot retrieve from that space.
remember request · Required
Show the original
Answer
Room 4.
Maya · Original message
We rehearse in Room 4. Bring headphones.
Sam checks the answer against Maya’s original note.
Returned passage
We rehearse in Room 4.
Original message · source span
We rehearse in Room 4. Bring headphones.
The assistant uses the matching passage’s ID to follow it back to the saved message.
evidence_idUUID
Assistant · copied from Recall "00000000-0000-4000-8000-000000000001"
→
Authorized Trace lookup "00000000-0000-4000-8000-000000000001"
Trace uses the returned ID to look up the saved passage and its recorded provenance in a space this caller can read.
trace_memory request · Required · Up to 128 characters
occurrences[0].partition.source_item_id UUID
Trace · recorded occurrence "20000000-0000-4000-8000-000000000002"
→
Original submitted item "20000000-0000-4000-8000-000000000002"
The occurrence’s partition points to the original item. Its stored bounds locate the slice inside that item.
trace_memory result · Required · Up to 128 characters
span_endinteger
Dense-Mem · accepted split 23
→
The end is exclusive. The first passage includes 22 visible characters and the line break. Trace returns the same bound to locate the passage in the original.
remember result · Optional
Example trace_memory arguments
{"evidence_id":"00000000-0000-4000-8000-000000000001","include_evidence_content":true}
Try saving privately
Maya asks
Where’s practice?
Maya · Original message
We rehearse in Room 4. Bring headphones.
Maya can still find the exact note from her own account.
Maya’s authorized search
Where’s practice?
Original message
We rehearse in Room 4. Bring headphones.
Maya can retrieve and trace the private passage through an authorized request in her own space.
target_spaceenum
Maya’s assistant · Remember request "private"
→
Authenticated space selection "private"
Private selects Maya’s authenticated private space. Sam’s search cannot retrieve from that space.
remember request · Required
span_endinteger
Dense-Mem · accepted split 23
→
The end is exclusive. The first passage includes 22 visible characters and the line break. Trace returns the same bound to locate the passage in the original.
remember result · Optional
Play
Back
Next
See when a note gets a topic →