Skip to content

[bot] Missing instrumentation for Google ADK (Agent Development Kit) Java SDK #92

@braintrust-bot

Description

@braintrust-bot

Summary

The Braintrust Java SDK does not instrument the Google Agent Development Kit (ADK) for Java (com.google.adk:google-adk). Google ADK is an official agent framework providing code-first agent execution, tool calling, and multi-agent orchestration. Braintrust already supports Google ADK instrumentation for Python (via setup_adk()) and Go (via traceadk.AddLLMAgentCallbacks()), but the Java SDK has no equivalent instrumentation.

What is missing

The com.google.adk:google-adk SDK provides these execution surfaces, none of which are instrumented:

API surface Description
LlmAgent / agent execution Core agent run/invocation with LLM-backed reasoning
Tool execution Built-in and custom tool calling during agent runs
Multi-agent orchestration Hierarchical composition of specialized agents
Session management Stateful agent session execution

The SDK is available on Maven Central (com.google.adk:google-adk) at version 1.1.0 (April 2026). It depends on OpenTelemetry for observability and is actively maintained by Google (1,001 commits, 1.5k stars).

Note: While this repo instruments com.google.genai (the Google GenAI SDK), Google ADK wraps agent execution flows around model calls. Instrumenting only the underlying GenAI SDK misses the agent-level spans (agent invocations, tool calls, multi-step reasoning, parallel flows) that the Python and Go integrations capture.

There is no reference to google-adk, com.google.adk, or LlmAgent anywhere in this repository — no instrumentation module, no tests, no examples, no dependencies.

Braintrust docs status

  • Google ADK is listed as a supported agent framework at https://www.braintrust.dev/docs/integrations (under "Agent Frameworks")
  • The Google ADK-specific docs page describes Python and Go instrumentation only: not_found for Java SDK support

Upstream sources

Local files inspected

  • settings.gradle — lists all instrumentation modules; no ADK module present
  • braintrust-sdk/instrumentation/ — contains openai_2_8_0, anthropic_2_2_0, genai_1_18_0, langchain_1_8_0, springai_1_0_0, aws_bedrock_2_30_0; no ADK directory
  • Full-repo grep for google-adk, com.google.adk, LlmAgent — zero matches

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions