PM

particle-academy/prism-memory

particle-academy/prism-memory

Persistent context and semantic recall for Laravel -- vector storage, remember / recall, and token-budget-aware retrieval on top of Prism. The other half of a bounded context window: somewhere for what leaves it to go, so a compacted agent is not simply blind to its own earlier work.

Backend · renders no UIPHP
Part of Prism9 packages, one productSee the family
Backend · renders no UI
Nothing to preview — install it and call the typed API, or hand it to an agent.
$composer require particle-academy/prism-memory
Why
A bounded context window needs somewhere for what leaves it to go. Truncating without storing is the configuration the harness itself calls the worst available — the window is cheap and the agent is blind to its own earlier work, which reads to a user as an agent that forgets things it plainly said.
What
Persistent context and semantic recall for Laravel: vector storage, remember / recall, and token-budget-aware retrieval on top of Prism. Budget-aware is the load-bearing word — recall that returns everything relevant re-expands the window compaction just shrank.
How
composer require particle-academy/prism-memory. Pairs with prism-harness: bind it as the eviction sink AND the recall in the same breath, never one without the other.

API surface

Headless package — drive it from code or an agent. No component grid.

This package renders no UI surface. It exposes a typed PHP API; issues are tracked on GitHub.
No API table yet. A supporting package with no rendered components, so there are no live demos — reach for the README + Changelog for the full reference, and the Issues link to file feedback.
What next
Install it, then call the API from your code or over MCP.