Changelog
Track what's new, changed, and fixed in memwal (Python).
For the latest version, see the PyPI project page.
Added
- Added a runnable Walrus Memory Python SDK Colab covering installation, secure
stagingconfiguration, optionalprod,MemWalSync, health/compatibility checks, delegate public-key/address derivation,remember,remember_async, async job waiting,recall, bulk remember,remember_bulk_async,remember_bulk_and_wait, optionalask,analyze,analyze_and_wait,embed, manual methods with scoring weights,restore, optional OpenAI/LangChain middleware, OpenAI-compatible provider settings such asOPENAI_BASE_URL, and troubleshooting.
Fixed
- Fixed
MemWalSyncreuse inside notebooks so repeated calls do not reuse an HTTP transport from a closed event loop.
Added
- Added optional
occurred_attoanalyze()andanalyze_and_wait()(both async and sync) for temporal anchoring of extracted facts. When supplied, the server resolves in-turn relative references ("last Friday", "yesterday") into absolute dates inside the extracted fact text before embedding and encryption. - Accepts
datetimeor RFC-3339 string. Wire format is RFC-3339 UTC with millisecond precision (for example,"2023-05-25T17:50:00.000Z"), byte-identical to the TypeScript SDK. - Field is omitted from the request body when not supplied.
Changed
occurred_atvalidates input at the SDK boundary rather than forwarding malformed values to the server: naivedatetimeinstances raiseValueError(silently assuming UTC would mis-anchor by N hours for callers outside UTC), and malformed RFC-3339 strings raiseValueErrorwith a diagnostic message instead of surfacing as opaque 400s.
Added
- Added
RecallParamsfor object-stylerecall(...)calls.
Changed
- Changed the default
restore()limit from50to10to match the relayer and TypeScript SDK. - Documented
restore()response fields, default limit, pagination behavior, and performance expectations.
Added
- Added
max_distanceto async and syncrecall(). - Added credential verification helper.
Changed
- Updated docs/examples to use
MEMWAL_PRIVATE_KEY.
Fixed
- Made
401relayer errors more actionable.
Added
- Added relayer
envpresets. - Added compatibility checks and
compatibility()helpers.
Initial release
MemWalasync client andMemWalSyncsync wrapper- Memory APIs:
remember,recall,analyze,ask,restore,health - Async job helpers for remember, bulk remember, and analyze
- LangChain/OpenAI middleware and delegate-key utilities
- Ed25519 delegate-key auth with namespace-scoped memory isolation