- Newest
- Most votes
- Most comments
Amazon Bedrock AgentCore Runtime currently supports managed session storage in preview, which provides persistent filesystem state across stop/resume cycles. However, this storage is specifically designed to be isolated per session - each session receives its own dedicated persistent directory at a configured mount path, and the storage communication is confined to a single session's data and cannot access other sessions or AgentCore Runtime environments.
The current session storage capability is intentionally session-isolated for security and data separation purposes. When you configure session storage by adding a sessionStorage entry to filesystemConfigurations, the mount path (which must start with /mnt followed by a folder name) creates a persistent directory that survives when that specific session's compute terminates and resumes. However, this storage is not shared across different sessions.
For your use case of sharing memory files across multiple sessions, the current architecture does not support shared filesystem mounts like S3 Files or EFS through the filesystemConfigurations parameter. The session storage feature is designed for use cases like durable filesystem scratch space, code generation and iteration, and long-running analysis with checkpoints - all within the context of a single session.
For structured data that needs to be retained beyond individual session lifetimes and potentially shared across sessions, Amazon Bedrock AgentCore offers AgentCore Memory as a separate service. This provides purpose-built persistent storage designed specifically for agent workloads, with both short-term and long-term memory capabilities. However, this is a different service from filesystem-based storage.
Your current approach of using a custom S3 sync layer is a reasonable workaround given the current capabilities, though I understand it adds complexity. The feature you're requesting - shared filesystem mounts accessible across all sessions - would represent a significant architectural change from the current session-isolated design model.
Sources
Persist session state across stop/resume with a filesystem configuration (Preview) - Amazon Bedrock AgentCore
Amazon Bedrock AgentCore Runtime now supports managed session storage for persistent agent filesystem state (preview) - AWS
Use isolated sessions for agents - Amazon Bedrock AgentCore
Persist session state with filesystem configuration and execute shell commands | Artificial Intelligence
Relevant content
- asked 9 months ago
- asked 5 days ago
- AWS OFFICIALUpdated 2 months ago
