Skip to main content

ai-parrot-openlit-bridge

Minimal OTLP endpoint validation helper for AI-Parrot's OpenLIT integration (FEAT-462 — Unified Telemetry Bus).

AI-Parrot no longer depends on the openlit Python SDK (a monkey-patching LLM SDK instrumentor whose pinned openai version range conflicted with ai-parrot's own openai dependency). OpenLIT is now a pure deployment-time OTLP endpoint — configure ObservabilityConfig.otlp_targets (multi-endpoint OTLP export) or OpenLitUsageRecorder (usage-only spans) in ai-parrot itself. This package provides two small, optional helpers on top of that:

  1. validate_endpoint(url) — an async probe that checks whether an OTLP collector is reachable, with zero heavy dependencies (only aiohttp, already a workspace dependency).
  2. parrot-openlit-check — a CLI wrapper around the same probe.
  3. A bundled docker-compose.openlit.yml to run an OpenLIT collector + dashboard locally.

Installation

pip install ai-parrot-openlit-bridge
# or, via the ai-parrot extra:
pip install "ai-parrot[observability-openlit]"

Usage

Python

from ai_parrot_openlit_bridge import validate_endpoint

status = await validate_endpoint("http://localhost:4318")
if status.reachable:
    print(f"OTLP collector reachable (status={status.status_code})")
else:
    print(f"Unreachable: {status.error}")

CLI

parrot-openlit-check http://localhost:4318
# ✅ Endpoint reachable: http://localhost:4318
#    Status: 200

Exit code is 0 when reachable, 1 otherwise — suitable for health-check scripts / CI smoke tests.

Local OpenLIT collector

docker compose -f docker-compose.openlit.yml up -d
parrot-openlit-check http://localhost:4318

Then point ai-parrot at it, e.g.:

export OBSERVABILITY_ENABLED=true
export OBSERVABILITY_BACKEND=otel
export OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4318

Metadata

Release files for ai-parrot-openlit-bridge 1.0.0

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

Source distribution (sdist)

Source distribution for ai-parrot-openlit-bridge 1.0.0
File Size Uploaded Provenance Actions
ai_parrot_openlit_bridge-1.0.0.tar.gz 5.9 kB With provenance Details for ai_parrot_openlit_bridge-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ai-parrot-openlit-bridge 1.0.0
File Interpreter ABI Platform Actions
ai_parrot_openlit_bridge-1.0.0-py3-none-any.whl Python 3 none any Details for ai_parrot_openlit_bridge-1.0.0-py3-none-any.whl

Total release size: 11.7 kB

Release files / ai_parrot_openlit_bridge-1.0.0.tar.gz

Download URL ai_parrot_openlit_bridge-1.0.0.tar.gz
Size 5.9 kB
Tags Source
SHA-256 checksum
How to use checksums
f540dc3b6ce2f7111d78e40fb5369cae4a82229a7338f31c0a56cb0b7b4a4f7a
BLAKE2b-256 checksum
How to use checksums
f1ccdc787cfbc3b2029a04acb0401fcafed214b800b685e002ef28fa24179659
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 3, 2026.

Transparency log

Release files / ai_parrot_openlit_bridge-1.0.0-py3-none-any.whl

Download URL ai_parrot_openlit_bridge-1.0.0-py3-none-any.whl
Size 5.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e344217f86a1950e41d2967bd5e539a54fc406a1ca723466ba1b424c3a30f54f
BLAKE2b-256 checksum
How to use checksums
3e8a75fa536ff9b6ffa4efc43569d7759501493b7d59c3142a9259c9a96acfef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 3, 2026.

Transparency log

Security for ai-parrot-openlit-bridge 1.0.0

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for ai_parrot_openlit_bridge-1.0.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 3, 2026.

Transparency log

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.

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