google / google/adk-python

AgentCoreSessionService extending BaseSessionService for AgentCore Memory

Đang mở
#6,920 4 bình luận 0 reaction 1 người được giao Được @sanketpatil06 nhận Xem trên GitHub
agent engine needs review
Ngôn ngữ chính
Python
Star
21.5k
Fork
4k
Merge trung bình
1 ngày 14 giờ
Pull request đã merge (30 ngày)
37

Mô tả

### 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 the adk Agent so it would be nice if there was an implementation for AgentCore Memory.

As for the implementation, two things caught my eyes so far:
1. Session
There isn't an exact session translation to agentcore memory so need to think about that.
2. Events and Short-term memory
STM is where events are saved (user message, llm response) in AgentCore memory. In adk they are more fine-grained, 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, I am happy to work on an implementation myself

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.