Skip to content

move ADK to main repo, deprecate old package.#1315

Closed
clutchski wants to merge 6 commits intomainfrom
matt/auto-adk-lang
Closed

move ADK to main repo, deprecate old package.#1315
clutchski wants to merge 6 commits intomainfrom
matt/auto-adk-lang

Conversation

@clutchski
Copy link
Collaborator

@clutchski clutchski commented Jan 28, 2026

Summary

Move the ADK (Google Agent Development Kit) integration from a separate package (braintrust-adk) into the main braintrust package.

Changes:

  • Add braintrust.wrappers.adk module with all ADK tracing functionality
  • Add ADK to auto_instrument() - automatically instruments ADK if installed
  • Deprecate braintrust-adk package (v0.4.0) - re-exports from main package with deprecation warning
  • Add nox test sessions for google-adk (latest and 1.14.1)

Migration for users:

# Old (deprecated):
from braintrust_adk import setup_adk

# New (recommended):
import braintrust
braintrust.auto_instrument()  # ADK traced automatically if installed

# Or manual import:
from braintrust.wrappers.adk import setup_adk

Test plan

  • Run nox -s "test_google_adk(latest)" - all tests pass
  • Run deprecated package tests in integrations/adk-py - all 37 tests pass
  • Verify auto_instrument() detects and instruments ADK when installed

🤖 Generated with Claude Code

@clutchski clutchski requested a review from ibolmo January 29, 2026 17:03
- Remove unused `has_tools` variable in `_determine_llm_call_type`
- Add debug logging to exception handlers for better troubleshooting

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
wrap_runner,
)

__all__ = [
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

version = "0.3.1"
description = "Braintrust Google ADK integration"
version = "0.4.0"
description = "DEPRECATED: ADK integration is now included in the main braintrust package"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

didn't expect you to release a version 🤔 but sure

@AbhiPrasad
Copy link
Member

Will take this PR over and port it to https://github.com/braintrustdata/braintrust-sdk-python

@AbhiPrasad AbhiPrasad self-assigned this Feb 25, 2026
@AbhiPrasad
Copy link
Member

Opened braintrustdata/braintrust-sdk-python#13 to supercede this. Closing.

@AbhiPrasad AbhiPrasad closed this Feb 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants