BlogBlogtypeA post on somebody's own site or a community platform. Nobody edits it after publication, so it dates from the day it was written.See every one →SAP Community

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 implements it as CDS entities read and written under the request's own database and tenant. Shows attaching the store to @cap-js/agents 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 plugin, which held the thread-scoped half, is superseded for that role now that @cap-js/agents ships its own checkpointer.

Where it sits

Explains
Agent toolingCAPAgent toolingcapabilityBuilding an agent into your own application — the tools it may call, the state it keeps between turns, and the framework it runs in. Distinct from MCP servers, which expose an application to somebody else's agent, and from agent guidance, which is knowledge handed to a coding agent.@mi8y/cap-agents-memoryCAP@mi8y/cap-agents-memorycds-pluginA 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.@cap-js/agentsCAP@cap-js/agentscds-pluginSAP'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.
Since then
No major release of @mi8y/cap-agents-memory since this was published

Who is behind it

Merbin J AnselmMerbin J AnselmPersonWrote this
In the atlas: maintains 6, contributes to 6, wrote 1
@anselm94
author

Properties

About this work

declared and crawled
Published
declared
Published on
declared

More on this25

Group by25 of 25 pieces
Piece, what it offersStill applies
Also explainingAgent tooling25
Building Code-Based AI Agents on the BAIP
YouTube — SAP Developers playlists, Wouter Lemaire
nothing recorded
Three Ways to Expose SAP Business Capabilities to AI Agents with MCP
SAP Community, Selvakumar2512
nothing recorded
CAP in the age of AI #5 - agents wrap-up
YouTube — SAP Developers playlists, DJ Adams, Johannes Vogt, Simon Engel, Stefan Rudi, Daniel Schlachter, part 5 of 7
nothing recorded
What's in Daniel Hutzel's brain?
YouTube — SAP Developers playlists, Daniel Hutzel, DJ Adams
nothing recorded
CAP: The Road Ahead - Simplicity in an AI Era
YouTube — SAP Developers playlists, SAP
nothing recorded
Meet Joule Studio and Build your First AI Agent
YouTube — SAP Developers playlists, SAP
nothing recorded
CAP in the age of AI #4 - more on agents
YouTube — SAP Developers playlists, DJ Adams, Johannes Vogt, part 4 of 7
nothing recorded
CAP in the age of AI #3 - from MCP to A2A
YouTube — SAP Developers playlists, DJ Adams, Johannes Vogt, Stefan Rudi, part 3 of 7
nothing recorded
Adapting SAP Joule for Purchase Order Creation from an Existing Purchase Requisition
SAP Community, jonathanvi59
nothing recorded
CAP in the age of AI
YouTube — SAP Developers playlists, DJ Adams, Johannes Vogt, Simon Engel, Stefan Rudi, Daniel Schlachter
nothing recorded
Building Durable AI Agents - Announcing the cds-langgraph-persistence Plugin
SAP Community, merbinjanselmThe reasoningRunnable code
New majors
Banking Sentinel: A Multi-Agent Credit-Risk Copilot on SAP BTP, Built on a Mixed AI Stack
SAP Community, ShahidThe reasoningA recipeRunnable code
Core changed
Building an LLM Agent in CAP Java with Spring AI
SAP Community, Johannes VogtThe reasoningRunnable code
Core changed
Building an LLM Agent using CAP
SAP Community, Johannes VogtThe reasoningRunnable code
Core changed
AI-native North Star architecture — Platform Layer
SAP Architecture Center, SAP Architecture CenterThe reasoningA reference
Core changed
Agentic AI on BTP: a Multi‑Agent App with Pydantic AI
SAP Community, Wouter Lemaire
nothing recorded
Agentic AI on BTP: a Single Agent with LangGraph
SAP Community, Wouter Lemaire
nothing recorded
Integrating and Extending Joule
SAP Architecture Center, SAP Architecture CenterThe reasoningA reference
nothing recorded
Event Driven SAP CAP on Kyma with Agentic AI and UI Auto Refresh
SAP Community, ShahidThe reasoning
nothing recorded
How Redwood Software and SAP are shaping the next era of automation with Joule Studio
SAP Community, gmblom
nothing recorded
Generate agentic workflows using SAP-managed n8n in Joule Studio
SAP TechEd — session catalogueA recipe
nothing recorded
Connecting AI agents to the ABAP RESTful application programming model
SAP TechEd — session catalogueThe reasoning
nothing recorded
Building agentic applications with SAP HANA Cloud
SAP TechEd — session catalogueA recipe
nothing recorded
Agentic memory: Knowledge graph engine and recall in SAP HANA Cloud
SAP TechEd — session catalogue, Markus FathThe reasoning
nothing recorded
Knowledge graph and agent memory: Build an agent that remembers
SAP TechEd — session catalogue, Markus Fath, Thomas HammerA recipe
nothing recorded

Details

Graph6 edges
← POINTS HERE
POINTS OUT →
explainsAgent toolingcapability, core and community
explains@mi8y/cap-agents-memoryartifact
explains@cap-js/agentsartifact
published onSAP Communitypublishing source
discovered viaSAP Communityagentic-ai-tag
Source
Type
blog
Published on
Host
community.sap.com
First seen
History1
  • 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