Skip to main content

Anonymous telemetry pipeline for axor-core: MinHash embedder, local/HTTP sinks, opt-in consent CLI

Project description

axor-telemetry

Anonymous telemetry pipeline for axor-core.

Opt-in only. Nothing is sent without explicit user consent.

What gets sent (when consent is given)

  • signal_chosen (e.g. focused_generative)
  • classifier_used, confidence
  • MinHash fingerprint of the raw input (128 ints, non-reversible)
  • tokens_spent, policy_adjusted
  • axor_version

Not sent: raw task text, file contents, user or session identifiers, tool arguments, secrets.

Install

pip install axor-telemetry[core]

CLI

python -m axor_telemetry consent   # interactive opt-in
python -m axor_telemetry status    # show current config
python -m axor_telemetry preview   # show the last queued record
python -m axor_telemetry on        # non-interactive: set local mode
python -m axor_telemetry off       # disable

Config lives at ~/.axor/config.toml under [telemetry].

Modes

mode behavior
off Default. Pipeline does nothing.
local Writes to ~/.axor/telemetry_queue.jsonl. Never sent anywhere.
remote Writes local queue + ships batches to telemetry.useaxor.net/v1/records. Retry-on-next-start if offline.

Programmatic usage

from axor_telemetry import TelemetryPipeline, MinHashEmbedder, FileTelemetrySink

pipeline = TelemetryPipeline(
    embedder=MinHashEmbedder(),
    sink=FileTelemetrySink(queue_path="~/.axor/telemetry_queue.jsonl"),
)

Inject pipeline into GovernedSession (see axor-cli integration).

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

axor_telemetry-0.1.0.tar.gz (18.8 kB view details)

Uploaded Source

Built Distribution

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

axor_telemetry-0.1.0-py3-none-any.whl (16.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: axor_telemetry-0.1.0.tar.gz
  • Upload date:
  • Size: 18.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for axor_telemetry-0.1.0.tar.gz
Algorithm Hash digest
SHA256 504c00cf759487e69a5a924fc24dc293d44ae7427077ac12c22f4520d0c32dcd
MD5 08bfc1a6c319beca245ada126b2af7df
BLAKE2b-256 b2de16e404173b38cac866e0d1ce39d8e71953317066b53012b77d22deb53ba7

See more details on using hashes here.

Provenance

The following attestation bundles were made for axor_telemetry-0.1.0.tar.gz:

Publisher: ci.yml on Bucha11/axor-telemetry

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: axor_telemetry-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 16.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for axor_telemetry-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0226870679c08ce0fa8344dd156ce74fd814f744c8765c3ffe4f1ba0d952d7d6
MD5 6250df2ccbc0dd2c1e8ca1e496a7dd84
BLAKE2b-256 ff57d14ef26fd461ecfadc78ecf708bd7e2d23aea09d123f8b60e6f8d94d7d02

See more details on using hashes here.

Provenance

The following attestation bundles were made for axor_telemetry-0.1.0-py3-none-any.whl:

Publisher: ci.yml on Bucha11/axor-telemetry

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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