Skip to main content

Respan BeeAI Instrumentation

Respan instrumentation plugin for the BeeAI Framework.

The package wraps openinference-instrumentation-beeai with Respan's instrumentation lifecycle and registers Respan's OpenInference translator so BeeAI agent, workflow, tool, chat model, and embedding spans are exported through the Respan OTLP pipeline.

Install

pip install respan-ai respan-instrumentation-beeai beeai-framework

Usage

Initialize Respan before creating or running BeeAI Framework components.

import asyncio

from beeai_framework.agents.requirement import RequirementAgent
from beeai_framework.backend import ChatModel
from respan import Respan
from respan_instrumentation_beeai import BeeAIInstrumentor


async def main() -> None:
    respan = Respan(instrumentations=[BeeAIInstrumentor()])

    agent = RequirementAgent(
        llm=ChatModel.from_name("openai:gpt-4.1-nano"),
        role="friendly AI assistant",
        instructions="Answer clearly and concisely.",
    )
    response = await agent.run("Explain why observability matters for agents.")
    print(response.last_message.text)

    respan.flush()


if __name__ == "__main__":
    asyncio.run(main())

Any keyword arguments passed to BeeAIInstrumentor(...) are forwarded to the underlying OpenInference BeeAI instrumentor.

Metadata

Release files for respan-instrumentation-beeai 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for respan-instrumentation-beeai 0.1.1
File Size Uploaded Provenance Actions
respan_instrumentation_beeai-0.1.1.tar.gz 5.0 kB Without provenance Details for respan_instrumentation_beeai-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for respan-instrumentation-beeai 0.1.1
File Interpreter ABI Platform Actions
respan_instrumentation_beeai-0.1.1-py3-none-any.whl Python 3 none any Details for respan_instrumentation_beeai-0.1.1-py3-none-any.whl

Total release size: 11.2 kB

Release files / respan_instrumentation_beeai-0.1.1.tar.gz

Download URL respan_instrumentation_beeai-0.1.1.tar.gz
Size 5.0 kB
Tags Source
SHA-256 checksum
How to use checksums
8123a2945733ab60eb59e09bd9e9abb08ec42bcde26018b66e52e2c253a403bb
BLAKE2b-256 checksum
How to use checksums
4d22dc85f789210c4f05ccc87d5919f7fa0be621a766b077191ca9268b18d94e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Release files / respan_instrumentation_beeai-0.1.1-py3-none-any.whl

Download URL respan_instrumentation_beeai-0.1.1-py3-none-any.whl
Size 6.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c653ef19d2865447b61b5a6cb3d13ad8983651af2512e7c82af84a006310d5b4
BLAKE2b-256 checksum
How to use checksums
3c779907d7c27a20b78dd69b4c2958aff7783ffa496a5c7e612a55b929308846
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Security for respan-instrumentation-beeai 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page