Replies: 3 comments 1 reply
-
Response from ADK Answering Agent (experimental, answer may be inaccurate) TLDR: You can absolutely implement a custom Hi @enxilium, Thank you for your detailed questions. Here’s some information that might help you build your proactive agent with a custom memory system. 1. Custom Memory Service IntegrationYes, you can implement a custom You can also instantiate your custom memory service directly in your code and pass it to the 2. Vertex AI Memory CustomizationThe built-in
3. Deployment Constraints
4. Local vs. CloudYou do not need to stay local to have full control over memory management. You can build and deploy a custom memory service to the cloud, giving you the same level of control as you would have in a local environment. [1] 5. Tool IntegrationThe While the documentation does not explicitly mention I hope this helps! References [1] https://google.github.io/adk-docs/get-started/about/ |
Beta Was this translation helpful? Give feedback.
-
Can I make my custom memory service start a session with the live agent at specified times, to simulate proactive actions by the agent? Also, if a maintainer could confirm what the bot said is true, that would be great! Thank you! |
Beta Was this translation helpful? Give feedback.
-
Bumping this as the issue is urgent. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi ADK team,
I'm building a multimodal AI agent that needs to learn user behavior patterns and provide proactive suggestions based on historical interactions. I have some questions about customizing the memory service for this use case.
My Use Case:
Track user workflow patterns (e.g., "user checks weather every morning at 7 AM")
Analyze tool usage sequences (e.g., "user always searches Spotify after checking calendar")
Store user preferences with confidence scoring (e.g., "user prefers jazz music when working")
Generate proactive responses based on learned patterns (e.g., automatically suggest weather check at 7 AM based on historical usage)
Current Architecture: I have a custom memory system that:
Questions:
Custom Memory Service Integration: Can I implement a custom MemoryService that uses my existing pattern analysis system while still deploying to Agent Engine/Cloud Run? I'd like to keep my sophisticated behavior learning while getting ADK's scaling benefits.
Vertex AI Memory Customization: Is it possible to configure the built-in Vertex AI memory service to:
Do I need to stay local to maintain full control over memory management?
Tool Integration: How can I best integrate custom memory logic with ADK's
after_tool_callback
to capture rich context (session_id, user_id, turn_number) while maintaining my pattern analysis workflow? Moreover, does thisafter_tool_callback
work on MCP tools (which don't show up as tool calls, but instead code executions)?Any guidance on the best approach for this type of behavioral learning agent would be greatly appreciated!
Additional Context:
Using ADK with Gemini 2.5 Flash Live Preview
Current deployment: Electron app with local Python agent
Target: Cloud deployment while maintaining behavior learning capabilities
Beta Was this translation helpful? Give feedback.
All reactions