Agent-agnostic memory extension — Postgres-backed agent memory with Linear, Notion, and Cloudflare integrations
Project description
cursor-dreaming-memory
Lightweight agent memory extension for cursor-dreaming-sdk (Utrecht Data OS / CHEF-308).
Install
cd python
uv sync --extra dev
uv run dream-memory init # requires Postgres
Optional semantic layer:
uv sync --extra semantic
Quick start
from cursor_dreaming_memory import AgentMemory, SessionContext
from cursor_dreaming_memory.types import MemoryType, MemorySource
memory = AgentMemory()
memory.ensure_schema()
ctx = SessionContext.for_dream_eval("2026-06-15T09-00-00Z")
memory.remember(ctx, MemoryType.OBSERVATION, {"faithfulness": 0.63}, source=MemorySource.SDK)
CLI
dream-memory init
dream-memory remember --session-id run-1 --content '{"note":"hello"}'
dream-memory recall --session-id run-1
dream-memory linear-ingest CHEF-308
dream-memory notion-ingest <page_id>
dream-memory export --session-id run-1 --output run-1.md
dream-memory slack-report --run-id run-1 --metrics-json metrics.json
dream-memory doctor
exportwrites a session's memory records as Markdown (--outputto a file, or stdout).slack-reportposts an eval report to Slack viaSLACK_WEBHOOK_URL(no-op if unset).doctorreports config presence plus Postgres, Linear, and Notion connectivity.
Example flow
uv run python examples/linear_memory_flow.py --issue CHEF-308 --comment
See docs/agent-memory.md for architecture and OCI deployment.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
dreaming_memory-0.2.0.tar.gz
(32.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dreaming_memory-0.2.0.tar.gz.
File metadata
- Download URL: dreaming_memory-0.2.0.tar.gz
- Upload date:
- Size: 32.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d18fc0d4446b3bfb1c59d9cb9e349626e5d6e06a89b2befa2c11f660c6d6a234
|
|
| MD5 |
2734545d28b0a304766f141d10290df7
|
|
| BLAKE2b-256 |
260dc6ab1abcd168e991abac54802e70d7d1e45bccf030722047bf043396deed
|
File details
Details for the file dreaming_memory-0.2.0-py3-none-any.whl.
File metadata
- Download URL: dreaming_memory-0.2.0-py3-none-any.whl
- Upload date:
- Size: 33.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c7a657c382d231a0ffc93302e3b6c6b0a47bd01740cf7cc164403b36e1c93a07
|
|
| MD5 |
69d262a063fcc87759aa0e61f3cbd0e6
|
|
| BLAKE2b-256 |
3ffdc2b78f22f22261c7914d0836f321a3b326e554186321a957652163de2368
|