Skip to main content

liveprobe

Python 3.12+ runtime agent for LiveProbe using sys.monitoring.

import liveprobe

agent = liveprobe.start(
    service_id="billing",
    broker_url="http://127.0.0.1:7070",
    api_key="dev-key",
    commit_sha="abcdef1234567890",
    project_id="billing-repo",
    environment="production",
)

commit_sha is required unless LIVEPROBE_COMMIT_SHA or GIT_COMMIT is set. api_key defaults to LIVEPROBE_API_KEY. project_id and environment default to LIVEPROBE_PROJECT_ID and LIVEPROBE_ENVIRONMENT. Configure the same values when issuing the service credential; service credentials cannot route to another project or environment.

The agent supports debug, info, warn, and error log events, broker-compiled safe expressions for conditions, watches, logs, and metrics, and optional bounded locals on selected stack frames. Expressions read only captured dictionaries/sequences; they cannot call Python code, inspect attributes, or mutate application state. All expression and frame-local output uses the configured serializer limits and redaction policy. Numeric expressions use finite IEEE-754 values and reject integer inputs or results outside the safe integer range so behavior is identical across SDKs.

Portable safety settings are maxProbeHitsPerSecond, maxProbePauseMsPerSecond, safetyCooldownMs, and maxTelemetryBytesPerSecond (snake-case forms are also accepted), with matching LIVEPROBE_* variables. Existing short names remain compatible. Heartbeats report the enforced limits and use pause_budget, instrumentation_failure, or agent_worker_failure when red.

Release files for liveprobe 0.3.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 liveprobe 0.3.0
File Size Uploaded
liveprobe-0.3.0.tar.gz 35.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for liveprobe 0.3.0
File Interpreter ABI Platform
liveprobe-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 60.2 kB

Release files / liveprobe-0.3.0.tar.gz

Download URL liveprobe-0.3.0.tar.gz
Size 35.8 kB
Tags Source
SHA-256 checksum
How to use checksums
9e8e6f955f09e624fa961fa26646097cddbdb7dcff5100f4bb0dc0c34a794b24
BLAKE2b-256 checksum
How to use checksums
2f8ccc034beaebd9354a93183b15ae45e68c5fd122dbb2b66b8f9832636c77f8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

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 Jul 24, 2026.

Transparency log

Release files / liveprobe-0.3.0-py3-none-any.whl

Download URL liveprobe-0.3.0-py3-none-any.whl
Size 24.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8b8e67c1c0fcb3811f7b675e824efc82e76460f9c67a19055f8b8d20f9c5c06a
BLAKE2b-256 checksum
How to use checksums
b999d67b5414f01a35be00a33d2c4ab356587d7d8d7504a3f2447bf034801364
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

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 Jul 24, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

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