Skip to content

feat: add streamDeliveryResources schema, CLI flags, and validation for memory record streaming#531

Draft
Hweinstock wants to merge 1 commit intoaws:mainfrom
Hweinstock:feature/stream-delivery-resources
Draft

feat: add streamDeliveryResources schema, CLI flags, and validation for memory record streaming#531
Hweinstock wants to merge 1 commit intoaws:mainfrom
Hweinstock:feature/stream-delivery-resources

Conversation

@Hweinstock
Copy link

@Hweinstock Hweinstock commented Mar 10, 2026

NOTE: Do not merge, dependent on unreleased CDK changes.

Description

Problem

Customers have no way to receive real-time notifications when memory records change, forcing them to poll APIs to detect new data.

Solution

Added streamDeliveryResources support to agentcore add memory, allowing customers to configure push-based delivery of memory record events to a target (e.g. Kinesis Data Stream).

  • CLI flags: --data-stream-arn, --stream-content-level, --delivery-type
  • Advanced input: --stream-delivery-resources for inline JSON.
  • Docs: added Memory Record Streaming section to docs/memory.md

Depends on a corresponding CDK construct change.

Related Issue

Closes #528

Documentation PR

N/A

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update
  • Other (please describe):

Testing

How have you tested the change?

  • I ran npm run test:unit and npm run test:integ

  • I ran npm run typecheck

  • I ran npm run lint

  • If I modified src/assets/, I ran npm run test:update-snapshots and committed the updated snapshots

  • agentcore add memory with --data-stream-arn and --stream-content-level flat flags — config written correctly to agentcore.json

  • agentcore add memory with --stream-delivery-resources inline JSON — config written correctly

  • agentcore deploy — stack deployed successfully and created memories with streams.

Checklist

  • I have read the CONTRIBUTING document
  • I have added any necessary tests that prove my fix is effective or my feature works
  • I have updated the documentation accordingly
  • I have added an appropriate example to the documentation to outline the feature, or no new docs are needed
  • My changes generate no new warnings
  • Any dependent changes have been merged and published (NO)

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the
terms of your choice.

@github-actions github-actions bot added the size/l PR size: L label Mar 10, 2026
@Hweinstock Hweinstock changed the title feat(memory): add streamDeliveryResources support for memory record streaming feat: add streamDeliveryResources support for memory record streaming to Kinesis Mar 10, 2026
@Hweinstock Hweinstock force-pushed the feature/stream-delivery-resources branch from d1bb32b to bfede65 Compare March 10, 2026 21:06
@github-actions github-actions bot added size/l PR size: L and removed size/l PR size: L labels Mar 10, 2026
@Hweinstock Hweinstock force-pushed the feature/stream-delivery-resources branch from bfede65 to 001b33b Compare March 10, 2026 21:15
@github-actions github-actions bot added size/m PR size: M and removed size/l PR size: L labels Mar 10, 2026
@Hweinstock Hweinstock force-pushed the feature/stream-delivery-resources branch from 001b33b to 12741cd Compare March 10, 2026 21:18
@github-actions github-actions bot added size/m PR size: M and removed size/m PR size: M labels Mar 10, 2026
@Hweinstock Hweinstock changed the title feat: add streamDeliveryResources support for memory record streaming to Kinesis feat: add streamDeliveryResources schema, CLI flags, and validation for memory record streaming Mar 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/m PR size: M

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: add support for memory record streaming

1 participant