Skip to content

feat(ai-sdk): Add HarnessAgent tracing support#2236

Open
Luca Forstner (lforst) wants to merge 6 commits into
mainfrom
lforst/harness-agent-tracing
Open

feat(ai-sdk): Add HarnessAgent tracing support#2236
Luca Forstner (lforst) wants to merge 6 commits into
mainfrom
lforst/harness-agent-tracing

Conversation

@lforst

@lforst Luca Forstner (lforst) commented Jul 15, 2026

Copy link
Copy Markdown
Member
  • Adds HarnessAgent tracing support which is actually quite simple
  • The added instrumentation basically just adds spans around the HarnessAgent top level methods: generate, stream, continueGenerate, or continueStream
  • When these apis are called, we inject options: { telemetry: [braintrustAISDKTelemetry()] }, reusing our ai sdk handler, which will make the harness agent supply telemetry events to it that we trace

@lforst Luca Forstner (lforst) changed the title [WIP] feat(ai-sdk): Add HarnessAgent tracing support feat(ai-sdk): Add HarnessAgent tracing support Jul 16, 2026
@lforst
Luca Forstner (lforst) marked this pull request as ready for review July 16, 2026 18:40
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.

1 participant