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.2.0.tar.gz (19.6 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.2.0-py3-none-any.whl (16.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: axor_telemetry-0.2.0.tar.gz
  • Upload date:
  • Size: 19.6 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.2.0.tar.gz
Algorithm Hash digest
SHA256 2ae8916492a501d2df707115fe0a4d330846431eddba4ff39eadcfdeba1d12a2
MD5 520e545efafbc0004445b9a8f32ecf23
BLAKE2b-256 00c4ab9303483d578ff67d004125773e772dfbff9c19f0b7ffd4860869612e76

See more details on using hashes here.

Provenance

The following attestation bundles were made for axor_telemetry-0.2.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.2.0-py3-none-any.whl.

File metadata

  • Download URL: axor_telemetry-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 16.3 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3b4812c38f43c31922dfc541527f396383cdf140c476f41c1e77147c214bd9df
MD5 2656f9ec29643371a45a7a39603aa2f1
BLAKE2b-256 4e682f831be00f8bb8658e56058a8f4033198cd20ffffdd2c14ede1b4eaa1e7f

See more details on using hashes here.

Provenance

The following attestation bundles were made for axor_telemetry-0.2.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