BeeAI Tracing (Python)
Instrument and observe BeeAI agents
Arize AX provides seamless observability and tracing for BeeAI agents through the Python OpenInference instrumentation package.
Launch Arize
To get started, sign up for a free Arize account and get your Space ID and API Key.
Install
pip install openinference-instrumentation-beeai beeai-framework arize-otelSetup
Connect your application to Arize AX and then apply the BeeAIInstrumentor .
# Import Arize OTel registration
from arize.otel import register
# Import the automatic instrumentor from OpenInference
from openinference.instrumentation.beeai import BeeAIInstrumentor
# Setup OTel via our convenience function
tracer_provider = register(
space_id = "your-space-id", # in app space settings page
api_key = "your-api-key", # in app space settings page
project_name = "my-beeai-project", # name this to whatever you would like
)
# Start the instrumentor for BeeAI
BeeAIInstrumentor().instrument(tracer_provider=tracer_provider)Run BeeAI
Sample agent built using BeeAI with automatic tracing:
Observe
Arize AX provides visibility into your BeeAI agent operations with automatic tracing of all interactions.
Resources
Last updated
Was this helpful?

