Skip to main content

latitude-telemetry-prime-intellect

Export Prime Intellect Verifiers eval rollouts to Latitude as OTLP traces (and optional custom scores from rewards/metrics).

This is the Prime Intellect counterpart to the other harness integrations (latitude-telemetry-hermes, Claude Code, Pi, OpenClaw). Verifiers has no host plugin entry point for observability, so this package ships as a library + CLI you call from your eval script or after a run.

Install

pip install latitude-telemetry-prime-intellect
export LATITUDE_API_KEY=lat_xxx
export LATITUDE_PROJECT=my-project

Usage

After run_eval (recommended for scripts)

from verifiers.v1.cli.eval.runner import run_eval
from latitude_telemetry_prime_intellect import export_episodes

episodes = await run_eval(env, config)
export_episodes(episodes)  # ships traces + reward scores, then flushes

As Env.run_slot on_complete

from latitude_telemetry_prime_intellect import make_on_complete

on_complete = make_on_complete(next=persist_episode)  # chain your append_episode
await env.run_slot(slot, ctx, semaphore, on_complete)

Post-hoc from a results directory

After uv run eval … / prime eval …:

latitude-prime-intellect-export export ./outputs/<run-dir>
# or
python -m latitude_telemetry_prime_intellect export ./outputs/<run-dir>

Reads traces.jsonl, episodes.jsonl, or results.jsonl when present.

Configuration

Env Default Description
LATITUDE_API_KEY — API key (required)
LATITUDE_PROJECT / LATITUDE_PROJECT_SLUG — Project slug (required)
LATITUDE_BASE_URL https://ingest.latitude.so Ingest origin (plugin appends /v1/traces)
LATITUDE_API_BASE_URL https://api.latitude.so Public API origin for scores
LATITUDE_EXPORT_SCORES true POST rewards/metrics as custom scores
LATITUDE_NO_CONTENT false Structure/timing only
LATITUDE_DEBUG false Verbose logging
LATITUDE_PRIME_INTELLECT_TELEMETRY_ENABLED / LATITUDE_TELEMETRY_ENABLED true Master switch

Telemetry stays off until both LATITUDE_API_KEY and a project are set. Export is fail-open: a Latitude error never fails your eval.

How it works

Each Verifiers Trace becomes one Latitude trace:

interaction (rollout root; session = eval/episode id)
├── llm_request      (one per ModelCall: model, usage, finish reason, messages)
└── tool_call:<name> (tool_execution; one per tool result)

Rewards map to custom scores (sourceId = verifiers.reward.<name>) against the same trace id (Verifiers' 32-hex Trace.id).

Development

cd packages/telemetry/prime-intellect
uv sync --all-groups
uv run pytest tests/ -x

Release files for latitude-telemetry-prime-intellect 0.1.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 latitude-telemetry-prime-intellect 0.1.0
File Size Uploaded
latitude_telemetry_prime_intellect-0.1.0.tar.gz 21.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for latitude-telemetry-prime-intellect 0.1.0
File Interpreter ABI Platform
latitude_telemetry_prime_intellect-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 38.8 kB

Release files / latitude_telemetry_prime_intellect-0.1.0.tar.gz

Download URL latitude_telemetry_prime_intellect-0.1.0.tar.gz
Size 21.4 kB
Tags Source
SHA-256 checksum
How to use checksums
1b31d2ab89b5ab1ce8b19b665efa5474290bb3c946eefba31ea97f092b342289
BLAKE2b-256 checksum
How to use checksums
b7612fa6e42616387b4b9c337856c0541acf3980d5c633795024d27e9f20d76c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.31 {"installer":{"name":"uv","version":"0.11.31","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / latitude_telemetry_prime_intellect-0.1.0-py3-none-any.whl

Download URL latitude_telemetry_prime_intellect-0.1.0-py3-none-any.whl
Size 17.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
268525191857b4d79a93de5be33c368e9f4b3d5f5bb334f537aa8dbe448fbad2
BLAKE2b-256 checksum
How to use checksums
2bc9c1d72d5026a521ee859d39221849e58d5412e00cbcd430057316270527f5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.31 {"installer":{"name":"uv","version":"0.11.31","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release history Release notifications | RSS feed

This release

0.1.0 This release

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