Building CAP Agents That Remember - Announcing `cap-agents-memory` Plugin
Distinguishes a CAP Agent's thread-scoped checkpointer state from the cross-session facts an agent needs to remember, then walks through LangGraph's Store model (namespace, key, value) and how @mi8y/cap-agents-memory@mi8y/cap-agents-memoryA LangGraph Store written against CDS: the facts and preferences an agent keeps between sessions are entities in the CAP database, read and written inside a request handler under its tenant.independent, cap implements it as CDS entities read and written under the request's own database and tenant. Shows attaching the store to @cap-js/agents@cap-js/agentsSAP's own CDS plugin for building agents inside a CAP service, wired to audit logging and telemetry through peer dependencies rather than leaving observability to the author.sap official, cap through its buildGraph event, adding save/get-preference tools keyed on the authenticated CAP user, and sets out practices for namespace conventions, deterministic keys and memory lifecycle. Notes that the author's earlier @mi8y/cds-langgraph-persistence@mi8y/cds-langgraph-persistenceA LangGraph checkpointer backed by CDS, so an agent's state survives the request that created it — durability for LangChain and LangGraph agents running inside the CAP Node.js runtime.independent, cap plugin, which held the thread-scoped half, is superseded for that role now that @cap-js/agents ships its own checkpointer.
Where it sits
Who is behind it
In the atlas: maintains 6, contributes to 6, wrote 1@anselm94author
Properties
About this work
Details
Graph
Source
History
- Entered the atlasDiscovered via SAP Community · agentic-ai-tag.
For your agent
- Ref
content:building-cap-agents-that-remember-announcing-cap-agents-memory-plugin- JSON
- /content/building-cap-agents-that-remember-announcing-cap-agents-memory-plugin.json
- MCP
- Connecting an agent