Open in the interactive docs · markdown for agents: https://neuraldeep.tech/docs/drift-memory.md

Drift · memory

Every Drift user has persistent memory — MEMORY.md in their workspace + a per-conversation compressed history. The agent decides what to write itself (the [[remember-the-X]] pattern in reasoning), but via the API you can also poke it from outside.

# read
curl https://drift.neuraldeep.tech/v1/memory \
  -H "Authorization: Bearer dft_xxxxxxxx"
# → {"content":"# Memory\n\n- Name: John\n- Plan: starter\n..."}

# overwrite (careful — replaces everything)
curl -X PUT https://drift.neuraldeep.tech/v1/memory \
  -H "Authorization: Bearer dft_xxxxxxxx" \
  -H "Content-Type: application/json" \
  -d '{"content":"# Memory\n\n- Project Y starts on June 1"}'

Usually it's easier not to hit the API directly — ask the agent "Remember X" in the dialog; it will decide the format itself and won't break existing notes.

Reference sections (markdown for agents)