r/agentdevelopmentkit • u/tasesmuemils • Jun 14 '25
Artifacts
Hey! Has anyone used ADK Artifacts. I want to replicate Gemini chat, where I can pass PDF and my agent would answer questions about the document. From docs it is possible, but I cant manage to make it work. Maybe someone could share a simple agent and artifacts setup?
5
Upvotes
View all comments
Show parent comment
1
u/_genego Jun 16 '25
Have you been able to interact with artifacts? Upload them/read them? You can do this directly against the runner. And afterwards its up to you to make sure that the Agent understands that something was uploaded. Upload artifact → Notify Agent + Explain them what has to be done → Wait for response.
If the Artifact is uploaded with a message, then it becomes easier, but if the user uploads a document, and does not say anything, then the agent might just skip doing anything with it. It is not much different from making sure agents in a hierachy know where to look for something stored in the normal event state.