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.3.0.tar.gz (20.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.3.0-py3-none-any.whl (16.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: axor_telemetry-0.3.0.tar.gz
  • Upload date:
  • Size: 20.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.3.0.tar.gz
Algorithm Hash digest
SHA256 d597b8c02d2100b3978d9c41f6eb970fc4a261c2f1bb539cc56110d1a56525f2
MD5 1cf627e73c989f19b898e1d92d6ebf9b
BLAKE2b-256 740ade7e8634a49404a172fcb95d9737fa6d9b18d6dacfe06ffaf6348981dc19

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: axor_telemetry-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 16.9 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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 08f62290f17af3901ab59401aa0d0d595623d302bd8139c254dc71510eddc4b8
MD5 e2fbd83d06e1f632bd9ad8350899236c
BLAKE2b-256 077592901c6b47b1ae31a19067cdbc533ef0db44e3ae1324eef1c1002342d260

See more details on using hashes here.

Provenance

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