Skip to content

RC/AI: Redis Agent Memory#3300

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

RC/AI: Redis Agent Memory#3300
cmilesb wants to merge 17 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

Low Risk
Documentation-only changes introducing new sections and large OpenAPI spec content; main risk is broken links/navigation due to path and weight reorganization.

Overview
Adds a new Context Engine documentation section under develop/ai/context-engine and operate/rc/context-engine, including new pages for Redis Agent Memory (overview, API examples, and a full OpenAPI-based API reference) plus a Data Integration overview.

Migrates LangCache docs and Redis Cloud guides to the new .../context-engine/langcache paths, adding aliases for backward compatibility and updating cross-links in “What’s new”, the homepage, embeds, and the Redis Cloud changelog. Also adjusts several Redis Cloud left-nav weight values to accommodate the new Context Engine entries.

Reviewed by Cursor Bugbot for commit 8a5ed39. 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/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/data-integration/
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
cmilesb and others added 5 commits May 13, 2026 15:50
- Add Data Integration as a fourth Context Engine service on the index page
- Create develop/ai/context-engine/data-integration/ overview page with
  get started tabs for Redis Cloud and Redis Enterprise
- Remove em dashes and rewrite both pages in Google developer style

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Fix 8 inconsistencies between the hand-written documentation and the
Agent Memory OpenAPI spec (MemoryDataPlaneServer):

api-examples.md:
- Fix curl path: /v1/caches/ -> /v1/stores/ (wrong path segment)
- Fix Store ID description typo ("Store ID ID of your cache")
- Fix AddSessionEvent endpoint: /session-memory -> /session-memory/events
- Fix createdAt format: Unix ms -> ISO 8601 date-time (per MOD-15623)
- Fix duplicate namespace row in filter table (second should be topics)
- Add missing memoryType filter to the table
- Fix createdAt filter data type: integer -> string (ISO 8601)

create-service.md:
- Fix Long-term TTL description (was copy-pasted from database selector)

Verified against the Smithy-generated OpenAPI spec from langcache main
(commit fd8b6c2b).

Co-authored-by: Cursor <cursoragent@cursor.com>
…s-consistency

fix: align Agent Memory docs with current API spec
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented May 15, 2026

CLA assistant check
All committers have signed the CLA.

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.

thank you!

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.

5 participants