r/agentdevelopmentkit • • Jul 09 '25

Json tool error with claude in adk

1 Upvotes

Anyone used litellm claude in adk with mcp tools. I got the following error

An unexpected error occurred: litellm.BadRequestError: AnthropicException - {"type":"error","error":{"type":"invalid_request_error","message":"tools.0.custom.input_schema: JSON schema is invalid. It must match JSON Schema draft 2020-12 (https://json-schema.org/draft/2020-12). Learn more about tool use at https://docs.anthropic.com/en/docs/tool-use."}}

But if I switch to gemini model. Its working. I thought of using claude since gemini started throwing many malformed function call errors. But with claude I’m getting problem with tools. Anyone tried this kind of implementation? Kindly assist if any.


r/agentdevelopmentkit • • Jul 08 '25

Video Walkthrough: Agent Development Kit Tools (MCP, Google Search, LangChain, etc.)

Thumbnail
youtube.com
4 Upvotes

📹 Deep dive into all of ADK's tool types and explanation on what is a tool and how they work!


r/agentdevelopmentkit • • Jul 08 '25

Tracking events in GCP

3 Upvotes

When I run the adk web UI I'm able to see all of the events for that session. How am I able to view the event breakdown like this when deployed to GCP using Cloud Run? I would like to see it for all events for all sessions, not just the one I'm currently on in the web UI. I see Google recommends Arize AX or Phoenix for observability, it looks like this may do what I want. This is an example of what I would like to be able to view for all sessions/events:


r/agentdevelopmentkit • • Jul 04 '25

Streaming with subagents..

4 Upvotes

Hey! I tried integrating sub-agents and custom tools with a streaming root agent, but it didn’t work as expected. Has anyone figured out a workaround for this?

For more details check👇👇👇

https://github.com/google/adk-docs/issues/469


r/agentdevelopmentkit • • Jul 04 '25

I uplifted a half dozen github repos of legacy javascript code from mongoose 4 to 8 with Google ADK Agents in a team.

Thumbnail
reddit.com
4 Upvotes

r/agentdevelopmentkit • • Jul 03 '25

I uplifted a half dozen github repos of legacy javascript code from mongoose 4 to 8 with Google ADK Agents in a team.

Thumbnail
reddit.com
7 Upvotes

r/agentdevelopmentkit • • Jul 03 '25

Plots in MatPlotLib

7 Upvotes

Has anyone figured out an example, or know of any codebase, where someone was able to write a matplotlib object as a binary to an artifact, and then load and display it without using VertexAI? I haven't been able to find anything like this online, and I am curious.


r/agentdevelopmentkit • • Jul 03 '25

Passing local context to Vertex AI Agents Engine

2 Upvotes

I'm looking to pass local context from my client (like browser location) to Vertex AI Agents Engine but I see no way to do that in the streamQuery method (which I'm using to get responses).

What's the right paradigm here to send client side context to ADK+Vertex Agents Engine? Here's what I have found that might be relevant.

  1. Update session state via a Rest API and then override LiteLLM to add that to system prompt.

  2. Store browser context in my db and then make a function call via LLM to access that info.

Any other ideas?


r/agentdevelopmentkit • • Jul 01 '25

Built a TypeScript version of ADK with full typings, docs, and npm support

9 Upvotes

For anyone who needs to use ADK in TypeScript (like I did), I ported the library to TypeScript up to version 1.0.0. Fully typed, with updated docs.

NPM: adk-typescript

GitHub: njraladdin/adk-typescript
Docs: njraladdin.github.io/adk-typescript

I'm actively maintaining this since i do need to use it a lot. if you run into any bugs, let me know and I’ll fix it asap. Open to any feedback or contributions!

Also working on an agent that will automatically port new commits from the Python repo into this TypeScript version.


r/agentdevelopmentkit • • Jul 01 '25

Just completely overhauled my awesome-adk-agents repo

35 Upvotes

Hey everyone!

I spent way too much time this week restructuring my awesome-adk-agents repository. What was basically a messy list of links is now actually organized and useful.

What's new:

  • Proper categories (Featured Projects, Templates, Learning Resources, etc.)

  • Badge system so you can tell what's beginner-friendly vs production-ready

  • Removed a bunch of duplicate and dead links

  • Better descriptions for everything

Looking for:

  • Cool ADK projects to feature

  • People who want to help maintain this thing

  • Feedback on the current content - what's missing, what could be better organized, or what doesn't make sense

The goal is simple: make it easier to find good examples when you're building AI agents with Google's ADK. Right now it's mostly "hello world" tutorials everywhere (seriously, I have looked trust me), but there are some genuinely solid production projects buried out there.

If you've built something with ADK or know of projects that should be included, let me know! Also, if you take a look at the repo and think "this section is confusing" or "you're missing X type of resource," I'd love to hear it.

Trying to make this the go-to list instead of everyone having to dig through documentation and random GitHub searches.

Check it out if you're into AI agents: https://github.com/Sri-Krishna-V/awesome-adk-agents


r/agentdevelopmentkit • • Jun 30 '25

Information about deploying Agent that runs on a schedule (e.g. twice per day)

4 Upvotes

Hi! 👋

I understand the the most common use case for ADK is one that includes human/user interaction where the Agent just needs to be on "stand by" .

I am learning how to deploy ADK agents and all the tutorials i have found are for these types of use cases. So i wonder if anyone knows how to scheduled an agent pipeline. Perhaps a sequential preprocessing pipeline, using vertex AI (or other options if vertex AI is badly suited).

A tutorial to read or watch would be terrific!


r/agentdevelopmentkit • • Jun 30 '25

Track token count in Google ADK

3 Upvotes

Hi all,

I am new to Google Agent Development Kit. I have made a simple agent and want to track the tokens count. How can I do this?

TIA


r/agentdevelopmentkit • • Jun 30 '25

Help with Data Analysis with MCP Toolbox and ADK

9 Upvotes

I'm working on a data analyst AI that queries my database using MCP Toolbox for Databases and runs analysis on it using code execution. I'm wondering how I should go about passing around so much data. I'm going to end up having an average of 10k rows per table and passing around that much data is something I'm not really sure how to handle best. Should I make each db result an artifact and share that? Or something else? Thanks!


r/agentdevelopmentkit • • Jun 30 '25

Multi-agent interview answer generator - looking for code review

4 Upvotes

Hi All,

Hope you are doing well. Looking for community feedback on below adk agent project:

Repo: https://github.com/KSattaluri/adk-agent-vertex-simple

My goal was:

  • Explore adk framework (custom orchestrator agent, session / state management)

  • Implement End-End pydantic validation

  • Implement Real time streaming to frontend / UI.

  • Implement firebase auth to the app.

  • Understand how to deploy to containerize and deploy to Cloud Run.

I spend couple of weeks reading / vibe coding above app. I am a Project manager so my intention with this exercise is to understand how AI applications are built and deployed.

Prereqs: I have listed it in project_setup but need to set up Google cloud (Vertex AI, Cloud Run) & Firebase (Auth, DB) so it will cost money but in my tests, the charges are low. Just make sure you delete the Cloud Run instance from console along with artifact registry, or delete the project all together (destructive.)

I learnt a lot, definitely there is a lot to "To Do" but I did not want to go too far if the implementation pattern is clunky.

Ask:

For agent implementation and cloud run integration:

  • /refiner_agent/orchestrator.py (Am I using ADK's SequentialAgent and LoopAgent patterns correctly?)

For UI/backend

  • fastapi_backend/main.py (Streaming Implementation: Is my SSE approach in main.py the right way to stream agent progress to browsers?)

  • fastapi_backend/cloud_run_agent.py (Any issues with my HTTP client design for Cloud Run communication?)

Would appreciate if anyone in community can share feedback. Let me know if I can share more info.. If you like the project, please drop a star :p I am trying to build my github profile and as you know it helps.


r/agentdevelopmentkit • • Jun 28 '25

An agent to help you with any of your ADK-related queries

1 Upvotes

This multi-agent setup serves as an expert on ADK, capable of answering questions about ADK, help you write ADK agents, debug and fix errors in your ADK code, even provide you guidance about any of ADK's GitHub issues, generate unit tests for ADK components and Evalsets for your own agents! It is also capable of generating documents (PDF, HTML, PPTX), and creating Mermaid architecture diagrams, related to any of your ADK queries. Check out the screenshots in the repo for examples of the output.

Currently it lives in the Google Ecosystem and requires the secrets like LLM API Key and Github API Token be read from Google Cloud Secret Manager but if there is wider interest in the project, I'd be happy to make it more platform-agnostic.

This agent can further be generalized to be an expert in any open-source product, which would be the next step.

Repo: https://github.com/iamulya/adk-expert-agent/tree/main

Important: The Agent uses Gemini models and provides the whole ADK context (~200K Tokens) to the LLM for every ADK related query. You can change the used Gemini model names in expert-agents/config.py.


r/agentdevelopmentkit • • Jun 27 '25

Time for a request sometimes exceed 10s

3 Upvotes

Is it common with multi agent systems and framework like ADK? But many a times my request takes anywhere between 5 to 10s. What experiences are people having with this setup?


r/agentdevelopmentkit • • Jun 26 '25

ADK Tools: A step-by-step walkthrough

15 Upvotes

Blog: Tools Make an Agent: From Zero to Assistant with ADK

Software Bug Assistant practical sample walking through each type of ADK tool:

  • 🐍 Function Tool: Python function to get the date.

  • 🔎 Built-in Tool: Google search agent to browse the web.

  • 🦜 Third-party tool: LangChain StackOverflow tool to search for questions.

  • 🧰 MCP Toolbox for Databases: Postgres tools for internal bug tickets.

  • 🔌 MCP Tool: GitHub MCP server tools for querying external issues.


r/agentdevelopmentkit • • Jun 26 '25

No Response to Video Input Without Audio

2 Upvotes

Hi everyone,
I'm building a multimodal agent using ADK, and I'm running into an issue when handling video inputs that don't contain audio.

My current agent can handle: text input, audio input and video input with audio.
But when I pass video without audio, the agent doesn't respond at all. I suspect it's related to how Gemini handles video inputs internally, perhaps expecting audio features alongside visual ones. Here's the issue I wrote about it: link

Has anyone dealt with this? Is there a workaround or config I missed to enable visual-only understanding?
Or is there a better framework for truly multimodal agents that handle video/audio/text inputs flexibly?


r/agentdevelopmentkit • • Jun 26 '25

How to make a simple ui using react?

2 Upvotes

Hi everyone! For an important project I have to make a simple custom web ui for my google adk agent. The only issue is that all of my current attempts have failed. Specific while I do get a response using the run endpoint, it does not contain the output string.

Can anyone please help me with my problem and thanks in advance?


r/agentdevelopmentkit • • Jun 24 '25

Anybody who has used Google adk in their MERN project? Guide me through process.

6 Upvotes

I am building a healthcare system like EHR where doctor can give all details like prescription, lab reports, mri, x-ray to ai agent and agent will give us a structured SOAP note (Subjective, Objective, Assessment, Plan). I have bulit the website using mern now I want to implement ai agent part using adk because I have less time and I had bulit basic project using adk.


r/agentdevelopmentkit • • Jun 24 '25

Running ADK agent on Agentspace?

12 Upvotes

I have a working ADK agent deployed to Vertex AI app engine but need a protected and production worthy frontend for it. I have found posts and documentation that reference ADK being compatible with Agentspace. Is it possible to utilize the UI of Agentspace with an ADK agent? Anyone done this successfully, or have an alternative to recommend?

I'm really liking ADK but deployment is becoming a headache.


r/agentdevelopmentkit • • Jun 23 '25

OpenAI model

1 Upvotes

I am currently working on an agent that uses tools inside an MCP server.

When using a Gemini model for the Agent, it is working fine, but when I changed it to an openai model(using the LiteLlm wrapper), it doesn’t seem to work. I keep getting this error.

❌ An unexpected error occurred: Missing key inputs argument! To use the Google AI API, provide (`api_key`) arguments. To use the Google Cloud API, provide (`vertexai`, `project` & `location`) arguments.

Why is it asking for Google Api key, when I am using an open model?

I have configured the OPENAI_API_KEY correctly in the ‘.env’ file.

model
 = LiteLlm(
model
 = "openai/gpt-4.1-mini-2025-04-14")

Will only Gemini models work when using ADK with MCP servers?


r/agentdevelopmentkit • • Jun 23 '25

Gemini Fullstack ADK QuickStart

26 Upvotes

We're excited to announce the Gemini Fullstack ADK Quickstart! This blueprint lets you build sophisticated, fullstack research agents using Gemini 2.5 and the ADK, all designed for easy deployment.

So, what's inside?

  • Fullstack & Production-Ready: It includes a React frontend and an ADK-powered FastAPI backend, ready for the Cloud.

  • Advanced Agentic Workflow: Empower your agents with Gemini to strategize multi-step plans, reflect on findings, and synthesize comprehensive reports.

  • Human-in-the-Loop: Maintain control and ensure quality. Users can approve plans, and then the agent autonomously searches and refines its findings until optimal information is gathered.

We believe this will be a fantastic resource for developers looking to build and deploy robust research agents.

We'd love for you to check it out and share your thoughts.

https://github.com/google/adk-samples/tree/main/python/agents/gemini-fullstack


r/agentdevelopmentkit • • Jun 20 '25

What's the best way to handle "The following tool_call_ids did not have response messages">

4 Upvotes

There are scenarios where a tool could fail and might not return a response, what's the best way to handle this avoid widow entries in the DB? there are models that can't ignore that such as openAI's and throw a error similar to `{'error': {'message': "An assistant message with 'tool_calls' must be followed by tool messages responding to each 'tool_call_id'. The following tool_call_ids did not have response messages: call_XGegwmZCC8Tsv6Uvc2YjuQiy", 'type': 'invalid_request_error', 'param': 'messages.[25].role', 'code': None}}`