Here's a clearer and more professional version of your bug report:
Yesterday, after noticing the ADK 2.4 release, I upgraded all dependencies to ensure my environment was fully up to date:
uv tool upgrade
uv lock --upgrade
I then created a new minimal project following the official guide:
https://google.github.io/agents-cli/guide/getting-started/#prefer-to-type-commands-yourself
# Create a minimal agent project
agents-cli create my-agent --prototype --yes
# Install dependencies and start the dev playground
cd my-agent
agents-cli install
agents-cli playground
Next, I deployed the agent to Google Cloud:
The deployment completed successfully, and I was also able to access and test the agent in the GCP Agent Platform Playground without any issues.
Following the documentation for obtaining an agent instance:
https://docs.cloud.google.com/gemini-enterprise-agent-platform/scale/runtime/use-an-adk-agent#get-agent-instance
the following call works correctly:
adk_app = client.agent_engines.get(...)
However, when I follow the next step in the documentation to create a session:
https://docs.cloud.google.com/gemini-enterprise-agent-platform/scale/runtime/use-an-adk-agent#create-session
I receive the error shown below:
AttributeError: 'AgentEngine' object has no attribute 'async_create_session'
Additionally, according to the "Supported Operations" section of the documentation:
https://docs.cloud.google.com/gemini-enterprise-agent-platform/scale/runtime/use-an-adk-agent#supported-operations
the following call returns no results:
adk_app.operation_schemas()
Based on my previous experience, I would expect this method to return a JSON document listing the available operations, including async_create_session.
While investigating the issue, I noticed that the generated agents-cli-manifest.yaml contains:
In older projects that work correctly, this value is set to false. I suspected this might be related to the problem, but even after manually changing it to false before deployment and redeploying the agent, the issue persists.
Expected behavior
adk_app.operation_schemas() should return the supported operation schemas.
- The returned operations should include
async_create_session.
- Session creation should work as described in the documentation.
Actual behavior
adk_app.operation_schemas() returns no schemas.
- Session creation fails with the reported error.
- Changing
is_a2a to false does not resolve the issue.
Here's a clearer and more professional version of your bug report:
Yesterday, after noticing the ADK 2.4 release, I upgraded all dependencies to ensure my environment was fully up to date:
I then created a new minimal project following the official guide:
https://google.github.io/agents-cli/guide/getting-started/#prefer-to-type-commands-yourself
Next, I deployed the agent to Google Cloud:
The deployment completed successfully, and I was also able to access and test the agent in the GCP Agent Platform Playground without any issues.
Following the documentation for obtaining an agent instance:
https://docs.cloud.google.com/gemini-enterprise-agent-platform/scale/runtime/use-an-adk-agent#get-agent-instance
the following call works correctly:
However, when I follow the next step in the documentation to create a session:
https://docs.cloud.google.com/gemini-enterprise-agent-platform/scale/runtime/use-an-adk-agent#create-session
I receive the error shown below:
Additionally, according to the "Supported Operations" section of the documentation:
https://docs.cloud.google.com/gemini-enterprise-agent-platform/scale/runtime/use-an-adk-agent#supported-operations
the following call returns no results:
Based on my previous experience, I would expect this method to return a JSON document listing the available operations, including
async_create_session.While investigating the issue, I noticed that the generated
agents-cli-manifest.yamlcontains:In older projects that work correctly, this value is set to
false. I suspected this might be related to the problem, but even after manually changing it tofalsebefore deployment and redeploying the agent, the issue persists.Expected behavior
adk_app.operation_schemas()should return the supported operation schemas.async_create_session.Actual behavior
adk_app.operation_schemas()returns no schemas.is_a2atofalsedoes not resolve the issue.