awslabs / awslabs/agentcore-samples

01-tutorials - [04 Agentcore memory strands tool not working with agentcore memory]

Open
#981 1 comment 0 reactions 1 assignee Claimed by @akshseh View on GitHub
01-tutorials bug
Dominant language
Python
Stars
3.4k
Forks
1.3k
Avg merge
1d 22h
Merged PRs (30d)
30

Description

**In which component is this bug present?**

- [ ] 04-AgentCore-memory -

If you are reporting multiple bugs, please create a separate issue for each. For documentation improvements, use the documentation improvement issue type.

**Bug Description**
In this notebook https://github.com/awslabs/amazon-bedrock-agentcore-samples/blob/main/01-tutorials[…]-agent/using-strands-agent-memory-tool/culinary-assistant.ipynb
A clear and concise description of the bug.
Not able to retrive memory from Agnetcore memory using starnds AgentCoreMemoryToolProvider
provider = AgentCoreMemoryToolProvider(
memory_id=memory_id,
actor_id=actor_id,
session_id=session_id,
namespace=namespace
)

agent = Agent(tools=provider.tools, model="global.anthropic.claude-haiku-4-5-20251001-v1:0",system_prompt=system_prompt)
```ERROR - API error: An error occurred (ResourceNotFoundException) when calling the RetrieveMemoryRecords operation: MemoryItem does not exist
Please fill information here.
```

**Screenshots**
If applicable, add screenshots to help explain your problem.
```
Please provide screenshots here.
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.