ERROR Processing Files with ADK agents deployed to Agentspace #2748
-
We're currently building some high-code agents using Google Agent development Kit (ADK). All agents were built using agent-starter-pack scaffold for Agent Engine deployment. No issues there. All my agents are working fine on Agent Engine and I managed to add them to Agentspace no trouble. Everything fine! For some reason, this custom agents cannot interact with uploaded files (.pdf, .png, .jpg, etc). I've made some local tests and they processed files like a charm (using ADK web). I've also tested all files in the "root agentspace" and in my custom agents. Root agent processed them nice. All custom agents seem to not have access to it whatsoever. Anyone know what could it be? I've checked the logs and have no clue at all.... |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
Response from ADK Answering Agent (experimental, answer may be inaccurate) TLDR: It seems like the issue might be related to how your agent's Hello @raphael-ph, I understand you're facing an issue where your custom ADK agents can't process files in Agentspace, although they work locally. This is a common issue when moving from a local development environment to a deployed one. The root of the problem might be in the configuration of the To help you troubleshoot this, could you please share the relevant parts of your In the meantime, you can review the documentation on For more details, you can refer to the official documentation on |
Beta Was this translation helpful? Give feedback.
-
this solved it: https://github.com/jchavezar/vertex-ai-samples/tree/main/gen_ai/adk/file_upload |
Beta Was this translation helpful? Give feedback.
-
Awesome. I see this equivalent to a mcp tool to file system - giving llm
access to file system level up the game
…On Sat, Aug 30, 2025 at 9:24 AM Raphael Silva e Silva < ***@***.***> wrote:
I am not using stream for this. For some reason, when using the ADK agent
in Agentspace you need to add the load_artifacts() so it has access to the
uploaded files. I basically added:
tools=[load_artifacts()] to my agent and it worked.
It helped me a lot to prompt it to use it when files were uploaded as well
(something like, “use this tool whenever any file is uploaded”)
—
Reply to this email directly, view it on GitHub
<#2748 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADZK7GWHSXML7ZLJSPZV7733QHF4XAVCNFSM6AAAAACE4NBAP6VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTIMRWGM3TANQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
this solved it: https://github.com/jchavezar/vertex-ai-samples/tree/main/gen_ai/adk/file_upload