Skip to main content

Boei runtime SDK and OpenTelemetry instrumentation for AI systems

Project description

Boei Runtime SDK

The Boei Python SDK captures runtime metadata for AI systems and sends it to Boei's runtime ingest API. Install it:

pip install boei

Then import and initialize:

import boei

boei.init()

Activation

Use a managed project key from Boei:

export BOEI_API_KEY="boei_pk_..."

The SDK exchanges the project key for a runtime token at /v1/auth/token and sends telemetry to /v1/runtime/ingest or /v1/traces. There is no Boei CLI in this story; activation is SDK install plus project key configuration.

Privacy Default

Boei does not read prompt or response content by default.

export BOEI_CAPTURE_CONTENT=false

That is also the default when the variable is unset. The legacy TRACELOOP_TRACE_CONTENT variable does not turn Boei content capture on.

If a tenant deliberately opts in:

export BOEI_CAPTURE_CONTENT=true

the SDK still runs redaction for common PII and secret patterns before export. The ingest API also strips prompt/message attributes unless the runtime token carries capture_content=true.

What Runtime Proves

Runtime evidence can corroborate:

  • call volume
  • token counts
  • provider
  • model choice
  • SDK-estimated runtime cost under a project key

Runtime evidence cannot prove:

  • provider bill-of-record spend
  • system ownership
  • a confirmed AI system
  • control effectiveness
  • prompt or response content when content capture is off

Runtime rollups become source_evidence_atoms as pending key observations. They stay corroborator evidence until later scanner binding and reviewer confirmation work.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

boei-0.1.1.tar.gz (317.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

boei-0.1.1-py3-none-any.whl (391.2 kB view details)

Uploaded Python 3

File details

Details for the file boei-0.1.1.tar.gz.

File metadata

  • Download URL: boei-0.1.1.tar.gz
  • Upload date:
  • Size: 317.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for boei-0.1.1.tar.gz
Algorithm Hash digest
SHA256 d540f4bbce37489d8c40bb62bfc44dd7b5da99570f2d9197fab0c5236b41a4d3
MD5 7d0fe380095ad0ef1dcf438629bf4d95
BLAKE2b-256 3e9746ed413a96aa098613b18f5aa23c538d7b3f63ef08a2f60294c8e4281e3c

See more details on using hashes here.

File details

Details for the file boei-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: boei-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 391.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for boei-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c39f1b19c97dcbddad075941e6b60f0de7e9c4ba5893f0ca0fbd7affa71efbb7
MD5 38b397bcefebf3b4cef66030eb1718af
BLAKE2b-256 ed53f265f1811fdf7aabb1665dd93890ca3787c6b1d58b5c897a060b72e5a4ce

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page