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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file latitude_telemetry_prime_intellect-0.1.0.tar.gz.
File metadata
- Download URL: latitude_telemetry_prime_intellect-0.1.0.tar.gz
- Upload date:
- Size: 21.4 kB
- Tags: Source
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1b31d2ab89b5ab1ce8b19b665efa5474290bb3c946eefba31ea97f092b342289
|
|
| MD5 |
b030cc1c51938f576958e0007049907c
|
|
| BLAKE2b-256 |
b7612fa6e42616387b4b9c337856c0541acf3980d5c633795024d27e9f20d76c
|
File details
Details for the file latitude_telemetry_prime_intellect-0.1.0-py3-none-any.whl.
File metadata
- Download URL: latitude_telemetry_prime_intellect-0.1.0-py3-none-any.whl
- Upload date:
- Size: 17.4 kB
- Tags: Python 3
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
268525191857b4d79a93de5be33c368e9f4b3d5f5bb334f537aa8dbe448fbad2
|
|
| MD5 |
75551c87e070da3e2f383b4f0fc83901
|
|
| BLAKE2b-256 |
2bc9c1d72d5026a521ee859d39221849e58d5412e00cbcd430057316270527f5
|