feat(arize): add Browserbase × Arize AX integration#86
Open
Nancy-Chauhan wants to merge 1 commit into
Open
Conversation
bb35417 to
64c4679
Compare
dda9851 to
a128101
Compare
Kylejeong2
reviewed
Jul 7, 2026
Kylejeong2
reviewed
Jul 7, 2026
Kylejeong2
reviewed
Jul 7, 2026
a128101 to
d85b139
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit d85b139. Configure here.
d85b139 to
2c2baa8
Compare
Use Browserbase as a load_page tool for a tool-calling agent, traced end to end with Arize AX via OpenTelemetry + OpenInference. The model calls the Browserbase tool to browse a page and answer; the run is exported to AX as a CHAIN → LLM → TOOL trace with tokens and cost. - src/agent.ts: tool-calling agent with manual CHAIN/TOOL spans - src/instrumentation.ts: Arize AX / OTel setup + OpenAI auto-instrumentation - src/register-prompt.ts: optional — publish the load_page tool to the AX Prompt Hub via @arizeai/ax-client Verified end to end against live Arize AX, Browserbase, and OpenAI.
2c2baa8 to
d2999b1
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Adds a Browserbase × Arize AX integration example under examples/integrations/arize/.
Use Browserbase as a load_page tool for a tool-calling agent, traced end to end with Arize AX via OpenTelemetry + OpenInference. The model calls the Browserbase tool to browse a page and answer; the run is exported to AX as a CHAIN → LLM → TOOL trace with tokens and cost.
This makes Browserbase a tool an agent can call.
Files
Verification — verified end to end against live Arize AX, Browserbase, and OpenAI (gpt-5.4): correct CHAIN → LLM → TOOL trace on the happy path, ERROR-marked spans on the failure path, and idempotent prompt registration.
Type of Change
Note
Low Risk
Additive documentation and example code only; no changes to shared packages or production services. Demo uses external API keys and sends traces to Arize when configured.
Overview
Adds a new Arize AX example under
examples/integrations/arize/and lists it in the root monorepo README.The sample is a Node/TypeScript tool-calling agent that exposes Browserbase Fetch API as a
load_pagetool (markdown page content, no full browser session). An OpenAI loop answers user prompts (CLI or default question) by calling that tool when needed.Observability is wired via OpenTelemetry + OpenInference:
instrumentation.tsexports OTLP traces to Arize (https://otlp.arize.com/v1/traces) with space/API headers, auto-instruments OpenAI for LLM spans, andagent.tsadds manual CHAIN / TOOL spans around the agent run and each fetch. Spans are flushed on shutdown viaprovider.shutdown().Also included:
.env.example, integration README,package.json/ lockfile, andtsconfig.jsonfornpm start/npm run build.Reviewed by Cursor Bugbot for commit d2999b1. Bugbot is set up for automated code reviews on this repo. Configure here.