Skip to content

RC/AI: Redis Agent Memory#3300

Open
cmilesb wants to merge 11 commits into
mainfrom
DOC-6447
Open

RC/AI: Redis Agent Memory#3300
cmilesb wants to merge 11 commits into
mainfrom
DOC-6447

Conversation

@cmilesb
Copy link
Copy Markdown
Contributor

@cmilesb cmilesb commented May 11, 2026

Still working on API examples page and service monitoring, but should be updated soon.


Note

Medium Risk
Mostly documentation and navigation restructuring, but it changes many URLs and link targets; any missing aliases/refs could cause broken links in the published site.

Overview
Introduces a new Context engine documentation section under develop/ai and operate/rc, positioning LangCache, Agent Memory, and (placeholder) Context Retriever under a single umbrella.

Adds end-to-end Redis Agent Memory docs, including a new agent-memory landing page, API/SDK examples, Redis Cloud “create/use/view service” guides, and an embedded get-started snippet; also publishes an OpenAPI spec (openapi-agent-memory.json) wired into the API reference layout.

Rehomes LangCache docs and Redis Cloud guides under .../context-engine/langcache, updates site navigation/home/whats-new/changelog links accordingly, and adds aliases to preserve legacy .../langcache URLs.

Reviewed by Cursor Bugbot for commit 605ab98. Bugbot is set up for automated code reviews on this repo. Configure here.

@cmilesb cmilesb requested a review from a team May 11, 2026 19:48
@cmilesb cmilesb self-assigned this May 11, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 11, 2026

DOC-6447

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 11, 2026

Staging links:
https://redis.io/docs/staging/DOC-6447/develop/ai/
https://redis.io/docs/staging/DOC-6447/develop/ai/context-engine/
https://redis.io/docs/staging/DOC-6447/develop/ai/context-engine/agent-memory/
https://redis.io/docs/staging/DOC-6447/develop/ai/context-engine/agent-memory/api-examples/
https://redis.io/docs/staging/DOC-6447/develop/ai/context-engine/agent-memory/api-reference/
https://redis.io/docs/staging/DOC-6447/develop/ai/context-engine/langcache/
https://redis.io/docs/staging/DOC-6447/develop/ai/context-engine/langcache/api-examples/
https://redis.io/docs/staging/DOC-6447/develop/ai/context-engine/langcache/api-reference/
https://redis.io/docs/staging/DOC-6447/develop/whats-new/
https://redis.io/docs/staging/DOC-6447/operate/rc/accounts/
https://redis.io/docs/staging/DOC-6447/operate/rc/billing-and-payments/
https://redis.io/docs/staging/DOC-6447/operate/rc/changelog/july-2025/
https://redis.io/docs/staging/DOC-6447/operate/rc/cloud-integrations/
https://redis.io/docs/staging/DOC-6447/operate/rc/context-engine/
https://redis.io/docs/staging/DOC-6447/operate/rc/context-engine/agent-memory/
https://redis.io/docs/staging/DOC-6447/operate/rc/context-engine/agent-memory/create-service/
https://redis.io/docs/staging/DOC-6447/operate/rc/context-engine/agent-memory/use-agent-memory/
https://redis.io/docs/staging/DOC-6447/operate/rc/context-engine/agent-memory/view-service
https://redis.io/docs/staging/DOC-6447/operate/rc/context-engine/agent-memory/view-service/
https://redis.io/docs/staging/DOC-6447/operate/rc/context-engine/langcache/
https://redis.io/docs/staging/DOC-6447/operate/rc/context-engine/langcache/create-service/
https://redis.io/docs/staging/DOC-6447/operate/rc/context-engine/langcache/monitor-cache/
https://redis.io/docs/staging/DOC-6447/operate/rc/context-engine/langcache/use-langcache/
https://redis.io/docs/staging/DOC-6447/operate/rc/context-engine/langcache/view-edit-cache/
https://redis.io/docs/staging/DOC-6447/operate/rc/logs-reports/

@jit-ci
Copy link
Copy Markdown

jit-ci Bot commented May 11, 2026

🛡️ Jit Security Scan Results

CRITICAL HIGH MEDIUM

✅ No security findings were detected in this PR


Security scan by Jit

Copy link
Copy Markdown
Collaborator

@dwdougherty dwdougherty left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So far, so good. Just a few SG-related nitpicks. I can have a look at other pages as you add them if you wish.

Comment thread content/develop/ai/context-engine/agent-memory/_index.md Outdated
The promotion from short term memory to long-term memory is automatic. When you store a conversation event in session memory, the Agent Memory Server asynchronously extracts important information using the configured extraction strategy (discrete, summary, preferences, or custom). These extracted memories are then stored as long-term memory entries with vector embeddings and metadata.

This process is non-blocking: the extraction and promotion happen in the background via a task worker, so the main agent interaction remains responsive. Users do not need to explicitly trigger promotion; it happens as a natural byproduct of storing conversation events in working memory.
Users can also create long-term memories directly via the API.This is useful for bulk memory creation or for importing knowledge from external sources.
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Users can also create long-term memories directly via the API.This is useful for bulk memory creation or for importing knowledge from external sources.
Users can also create long-term memories directly using the API.This is useful for bulk memory creation or for importing knowledge from external sources.

Comment thread content/operate/rc/context-engine/agent-memory/create-service.md Outdated
Copy link
Copy Markdown
Collaborator

@mich-elle-luna mich-elle-luna left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just a few typos, also I think that the agent-memory-service-key.png seems too large on the page.

Comment thread content/develop/ai/context-engine/agent-memory/_index.md Outdated
Comment thread content/operate/rc/context-engine/agent-memory/create-service.md Outdated
Comment thread content/operate/rc/context-engine/agent-memory/create-service.md Outdated
Comment thread content/operate/rc/context-engine/agent-memory/create-service.md Outdated
Comment thread content/operate/rc/context-engine/agent-memory/create-service.md Outdated
@mich-elle-luna
Copy link
Copy Markdown
Collaborator

thank you, looking great so far!

Comment thread content/operate/rc/context-engine/agent-memory/create-service.md Outdated
Comment thread content/operate/rc/context-engine/agent-memory/create-service.md Outdated
Comment thread content/operate/rc/context-engine/agent-memory/view-service.md Outdated
cmilesb and others added 3 commits May 12, 2026 15:42
Co-authored-by: David Dougherty <david.dougherty@redis.com>
Co-authored-by: mich-elle-luna <153109578+mich-elle-luna@users.noreply.github.com>
Co-authored-by: Cameron Bates <102550101+cmilesb@users.noreply.github.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@cmilesb cmilesb requested review from a team, dwdougherty and mich-elle-luna May 12, 2026 21:52
@cmilesb cmilesb marked this pull request as ready for review May 12, 2026 21:52
Copy link
Copy Markdown
Collaborator

@dwdougherty dwdougherty left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Latest commit looks good, but the API page links need to be more granular: I think you're still working on that content, right?

@dwdougherty dwdougherty requested a review from a team May 12, 2026 22:16
@cmilesb
Copy link
Copy Markdown
Contributor Author

cmilesb commented May 13, 2026

Latest commit looks good, but the API page links need to be more granular: I think you're still working on that content, right?

I forgot to update the tags 🤦 That's what I get for pushing things at 6PM. Thanks for the catch.

Copy link
Copy Markdown
Collaborator

@mich-elle-luna mich-elle-luna left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one comment from a reviewer in devrel team

When you call the API, you need to pass the Agent Memory API key in the `Authorization` header as a Bearer token and the store ID as the `storeId` path parameter.

For example:

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One question from devrel team was if you plan to include a drop-down menu to show programming-language examples, in addition to REST API calls? Just like we have with LangCache? In case of RAM, the Python SDK client?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's possible to have that, but I haven't had time and I figured I would prioritize getting something out rather than getting something perfect out. I can add that after release (or after I have something for context retriever).

### Add session event

Use [`POST /v1/stores/{storeId}/session-memory`]({{< relref "/develop/ai/context-engine/agent-memory/api-reference#tag/session-memory/operation/AddSessionEvent" >}}) to add an event to a session in short-term memory. If a session doesn't exist yet, it will be created.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Something Ricardo noticed: It uses cache_id instead of store_id. And the REST API example does the same.

curl -s -X GET "https://$HOST/v1/caches/$CACHE_ID/session-memory/"
-H "accept: application/json"
-H "Authorization: Bearer $API_KEY"

It may be worth double-checking with the API Spec from Agent Memory.

Comment thread content/develop/ai/context-engine/agent-memory/api-examples.md Outdated
Comment thread content/develop/ai/context-engine/agent-memory/api-examples.md Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants