Agentspace Vertex Agent Engine integration

Product Google Agentspace Observed error message I have been setting up ADK agents in Vertex AI agent engine. Now I’ve been trying to connect those to Agentspace via the Configurations > Assistant > Add agent.

“Agentspace supports ADK: agents built with the new ADK (and run on Agent Engine) can be registered and used within Google Agentspace, bringing custom developer-built agent capabilities to employees.”

When I connect the agent from agent engine via configure > assistant and then open it in agentspace I get a 429 error resources exhausted. “Oh my, it seems our systems are overloaded at the moment. Please try again later.”

Could you shed some light on how to add/register an ADK agent (run on Agent Engine) on Agentspace?

Agentspace is in EU region, my agent has been both in EU and US-central1. It’s deployed with adk on agent engine, tried cloud run as well. It functions normally when using dev-ui or direct curl calls.

  1. Can you post the Command you use for the integration with Agent Engine?

Can you use try this one and validate if the result is the expected

Note AgentSpace currently only supports the global, us and eu multi-regions

LOCATION=global PROJECT_ID=projectID
TOKEN=$(gcloud auth print-access-token)

AGENTSPACE_ID=agentspace_application_ID
curl -X POST “https://discoveryengine.googleapis.com/v1alpha/projects/$PROJECT_ID/locations/$LOCATION/collections/default_collection/engines/$AGENTSPACE_ID/assistants/default_assistant/agents” \

  • header “Authorization: Bearer $TOKEN” \
  • header “x-goog-user-project: $PROJECT_ID” \
  • data ‘{
    “displayName”: “My ADK Agent”,
    “description”: “Description of the ADK Agent”,
    “adkAgentDefinition”: {
    “tool_settings”: {
    “tool_description”: “Tool Description”
    },
    “provisionedReasoningEngine”: {
    “reasoningEngine”: “projects/123456789/locations/us-central1/reasoningEngines/123456789”
    }
    }
    }’