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.0.tar.gz (317.5 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.0-py3-none-any.whl (390.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: boei-0.1.0.tar.gz
  • Upload date:
  • Size: 317.5 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.0.tar.gz
Algorithm Hash digest
SHA256 fe64315b62d5f9f3396997eaba4ede8dcc949c71ae4bb8d03faf1bd436acfcb4
MD5 504d4cc9aa62ee7cb2240c03dc079885
BLAKE2b-256 e03ef52f2fa53e2da347931198cf22e949993ec623d221240df5efdf6ca7c4de

See more details on using hashes here.

File details

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

File metadata

  • Download URL: boei-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 390.7 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5201ab199a0dfd921ea9b166d21cacfc08bfc42f5da1a9a9d37237d74f1adfa3
MD5 a78d43c744728c938edf93b7f8770755
BLAKE2b-256 98c4e2ef76c42b23803b1010b2fd2233a80fea905bbd74a98292c975250c4e97

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