iris-development

bởi redis

Iris là tập hợp các sản phẩm tập trung vào AI của Redis. Sử dụng kỹ năng này khi tích hợp với mặt phẳng dữ liệu Iris Redis Agent Memory (RAM) trên Redis Cloud — ghi lại…

npx skills add https://github.com/redis/agent-skills --skill iris-development

Iris: Redis Agent Memory

Iris is the umbrella brand for Redis's AI-focused products. This skill currently covers one product in that family: Redis Agent Memory (RAM) — the persistent memory layer for AI agents, delivered as a managed service on Redis Cloud. Additional Iris products will be added as separate sections when they ship.

Redis Agent Memory exposes a REST/JSON data-plane API with two memory tiers:

  • Session memory — append-only conversation history per session (working memory).
  • Long-term memory — semantically searchable records extracted from sessions (or created directly).

A background promotion worker — managed by Redis Cloud — extracts durable facts from session events and writes them into long-term memory.

Official SDKs

All code samples use the official SDKs:

LanguagePackageClassInstall
Pythonredis-agent-memoryAgentMemorypip install redis-agent-memory
TypeScript@redis-iris/agent-memoryAgentMemorynpm add @redis-iris/agent-memory

Both SDKs read the bearer token from AGENT_MEMORY_API_KEY and the default store ID from AGENT_MEMORY_STORE_ID. The production data-plane URL is https://gcp-us-east4.memory.redis.io; the exact URL for your service is also shown in the Cloud console after provisioning.

When to Apply

Reference these guidelines when:

  • Creating a memory service on Redis Cloud (https://cloud.redis.io/#/agent-memory)
  • Wiring an agent to call AgentMemory.add_session_event(...) / addSessionEvent(...)
  • Searching long-term memory with search_long_term_memory(...) / searchLongTermMemory(...)
  • Choosing between session events and direct long-term memory writes

Rule Categories by Priority

PriorityCategoryImpactPrefix
1Setup & Cloud ServiceHIGHsetup-
2Session Memory / EventsHIGHsession-
3Long-Term MemoryHIGHltm-
4Memory PromotionMEDIUMpromotion-

Quick Reference

1. Setup & Cloud Service (HIGH)

2. Session Memory / Events (HIGH)

3. Long-Term Memory (HIGH)

  • ltm-bulk-create - Create long-term memories in bulk with idempotent IDs
  • ltm-search - Search long-term memory semantically with filters
  • ltm-organize - Organize records with namespace, ownerId, topics, and memoryType

4. Memory Promotion (MEDIUM)

How to Use

Read individual rule files under references/ for detailed explanations and code examples:

references/setup-cloud-service.md
references/session-add-event.md
references/promotion-overview.md

Each rule file contains:

  • Brief explanation of why it matters
  • Correct example(s) with Python and TypeScript SDK code
  • Either an "Incorrect" example or "When to use / When NOT needed" guidance
  • Additional context and references

Thêm skills từ redis

docs-sync
redis
Phân tích triển khai và cấu hình của nhánh master để tìm tài liệu bị thiếu, sai hoặc lỗi thời trong docs/, README.md và các README theo từng gói. Sử dụng…
official
implement-command
redis
Add a new Redis command (or command variant) to node-redis end-to-end — the `<NAME>.ts` Command file, its registration with JSDoc in the package…
official
maintainer-review
redis
Xem xét một URL issue hoặc pull request trên GitHub với tư cách là người bảo trì node-redis, đánh giá theo từng giai đoạn xem tuyên bố đó có thực tế, quan trọng trong thực tế, đã được…
official
pr-draft-summary
redis
Tạo khối tóm tắt sẵn sàng cho PR, gợi ý nhánh, tiêu đề và mô tả dự thảo cho node-redis. Phải được sử dụng trước phản hồi cuối cùng bất cứ khi nào…
official
runtime-behavior-probe
redis
Lập kế hoạch và thực hiện các cuộc điều tra hành vi thời gian chạy với các tập lệnh thăm dò TypeScript tạm thời, ma trận xác thực, kiểm soát trạng thái và báo cáo ưu tiên phát hiện. Sử dụng…
official
backend
redis
Các mẫu phát triển backend NestJS cho API RedisInsight: cấu trúc module, dịch vụ, bộ điều khiển, DTO, tiêm phụ thuộc và xử lý lỗi. Sử dụng khi…
official
branches
redis
Sử dụng chữ thường, kiểu kebab-case với tiền tố loại và mã định danh issue/ticket. Tên nhánh phải khớp với quy tắc của quy trình GitHub Actions (xem .github/workflows/enforce-branch-name-rules.yml).
official
code-quality
redis
Code-quality standards for RedisInsight: TypeScript strictness, naming conventions (camelCase, PascalCase, UPPER_SNAKE_CASE), linting rules, no `any` without…
official