Skip to content

AgentCoreSessionService extending BaseSessionService for AgentCore Memory #6920

Description

@divakaivan

Is your feature request related to a specific problem?

I'm trying to use AWS AgentCore Memory with an ADK Agent.

Describe the Solution You'd Like

The session_serivce is a required param in for the Agent so it would be nice if there was an implementation for AgentCore Memory.
There isn't an exact session translation to agentcore memory but there is the concept of short-term memory where events are saved (user message, llm response). Also for events - in adk they are more atomic, but in agentcore they represent a turn - user message is one and what the agent responded is another - maybe we can construct a whole event that consists of all the little ADK events and then flush those to agentcore's short-term memory as, what aws calls, an event.

Impact on your work

No timeline but would make it easier. This will allow for better integration with AWS AgentCore memory

Willingness to contribute

Are you interested in implementing this feature yourself or submitting a PR?
Yes

Metadata

Metadata

Assignees

Labels

agent engine[Component] This issue is related to Vertex AI Agent Engineneeds review[Status] The PR/issue is awaiting review from the maintainer

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions