Skip to content

Not able to find agent id for Memory Bank Service #2940

@marwashahid

Description

@marwashahid

** Please make sure you read the contribution guide and file the issues in the right place. **
Contribution guide.

Describe the bug
I am not able to find the agent id of the agent. I am following the docs, but using the resource name attribute does not give the agent id.

To Reproduce
Please share a minimal code and data to reproduce your problem.
Steps to reproduce the behavior:

  1. Setup memory bank service using these docs and repo: https://cloud.google.com/vertex-ai/generative-ai/docs/agent-engine/memory-bank/overview
    https://cloud.google.com/vertex-ai/generative-ai/docs/agent-engine/memory-bank/set-up
    https://github.com/GoogleCloudPlatform/devrel-demos/tree/main/ai-ml/python-tutor
  2. api_resource.name doesn't work to get the agent id. I can also not find the URI specified in the docs as the response of this attribute on GCP.

Expected behavior
Agent ID

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Windows]
  • Python version(python -V): 3.13.1
  • ADK version(pip show google-adk):
Image

Model Information:

  • Are you using LiteLLM: No
  • Which model is being used(e.g. gemini-2.5-flash)

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

Labels

bot triaged[Bot] This issue is triaged by ADK botservices[Component] This issue is related to runtime services, e.g. sessions, memory, artifacts, etc

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions