HomeDocsAdapters › Google ADK

Google ADK Adapter

agent402-google-adk

FunctionTool for Gemini agents via Google's Agent Development Kit. Ships 4 meta-tools: find, route, call, and about.

Install

npm install agent402-google-adk

Quick start

import { agent402Tools } from "agent402-google-adk";
import { LlmAgent } from "@google/adk";

const tools = await agent402Tools();

const agent = new LlmAgent({
  model: "gemini-2.0-flash",
  name: "my-agent",
  tools,
});

// The agent can now discover and call any Agent402 tool
// via the find, route, call, and about meta-tools.

Configuration

OptionTypeDescription
baseUrl string Point to a self-hosted Agent402 instance.
agentKey string Private key for wallet-only (paid) tools.
// Point to a self-hosted Agent402 instance.
agent402Tools({ baseUrl: "https://my-agent402.example.com" })

// Private key for wallet-only (paid) tools.
agent402Tools({ agentKey: process.env.AGENT_KEY })

Works with

Gemini 2.0 Flash Gemini 2.5 Pro Google Agent Development Kit LlmAgent SequentialAgent