PATH-Index: Pathwise Assessment of Trajectory Health - a diagnostic framework for the execution integrity of AI agent trajectories.
Project description
PATH-Index
Pathwise Assessment of Trajectory Health — a diagnostic framework for measuring the execution integrity of AI agent trajectories.
📄 Companion paper: PATH-Index: Decomposing Where and Why AI Agents Fail (in preparation; preprint link coming soon)
PATH-Index is the trajectory-level sibling of VerifyIndex. The two frameworks form one measurement program:
- VerifyIndex evaluates the evidential integrity of AI outputs (claim-level).
- PATH-Index evaluates the execution integrity of AI agent trajectories (step-level, pathwise).
"Pathwise" is meant in the stochastic-process sense: quality is assessed along each individual trajectory, not merely in expectation over tasks.
Why another agent evaluation framework?
Most agent benchmarks report aggregate task success. That tells you whether an agent failed, but not where in the trajectory the failure originated, how far it propagated, or whether the agent recovered. PATH-Index is designed for failure localization: separating the causal origin of a failure from its downstream manifestation, and reporting a diagnostic profile rather than a single leaderboard number.
The Trajectory Funnel
Each step of a trajectory passes through five nested gates, evaluated in order:
| Gate | Question it answers |
|---|---|
| G — Goal Alignment | Is the step's sub-goal well-formed and consistent with the user's task, as evidenced by observable actions? |
| S — State Grounding | Does the agent have (and use) the environment state and context the step requires? |
| T — Tool Selection | Given goal and grounding, is the chosen tool (or "respond directly") appropriate? |
| A — Argument Fidelity | Are the tool arguments correct, well-typed, and consistent with the grounded state? |
| O — Outcome | Did the call produce its specified effect (execution validity), as opposed to erroring, no-op-ing, or silently corrupting state? |
Because the gates are nested, step yield factorizes as a product of sequential conditionals:
H_T = P(G) · P(S | G) · P(T | S) · P(A | T) · P(O | A)
Trajectory Health is reported as a profile across these stages plus cross-step diagnostics — not as a single scalar. A composite score is optional and derived, never the headline.
Beyond the funnel: cross-step diagnostics
The reported profile also includes quantities that live across steps rather than inside the yield identity:
- Failure persistence (how long a failure run lasts) — reported separately from
- Causal propagation (counterfactually defined downstream damage, requiring paired trajectories)
- Recovery — binary recovery events and graded recovery quality, reported as distinct objects
- Oversight — recall, precision, and false-defer rate of escalation/deferral behavior
- Cost profile — a vector over steps, tool calls, tokens, latency, and monetary cost
- Reliability — PassAll@k and PassAny@k across repeated runs
Diagnostic evaluation is scored against six metrics, including origin identification (Top-1 and Top-2 recall), manifestation F1, affected-stage recall, propagation-depth error, and recovery-time error.
Status
🚧 Pre-release. The founding paper is in preparation. This repository reserves the name and will host:
- Paper preprint and citation info
- Reference implementation (annotation rubrics, scoring pipeline)
- Calibration / pilot-threshold simulation code
- Example annotated trajectories
Watch or star the repo to be notified when the preprint and reference implementation land.
Citation
Citation information will be added when the preprint is available. In the meantime, please reference this repository:
@misc{pathindex2026,
title = {PATH-Index: Decomposing Where and Why AI Agents Fail},
author = {Srivastava, V.},
year = {2026},
note = {Framework repository: https://github.com/vsrivas7/path-index}
}
Related
- VerifyIndex — sequential measurement of claim-level Verification Yield for AI outputs.
License
TBD (code will be released under a permissive open-source license; annotation rubrics and paper text under CC BY 4.0).
Project details
Release history Release notifications | RSS feed
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 path_index-0.0.1.tar.gz.
File metadata
- Download URL: path_index-0.0.1.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cb94d3fa8165ea78e818d5de59fd231494c16432d16144502dbb4d291724a050
|
|
| MD5 |
d3fd0d7a4ec14508f035f536d09eaf35
|
|
| BLAKE2b-256 |
5078fab841a9dffe5153721605861163ec51dc67fc8ebd80dec4e7af008153b2
|
File details
Details for the file path_index-0.0.1-py3-none-any.whl.
File metadata
- Download URL: path_index-0.0.1-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7254fd40267155416ff5e9e4282e004583bbc6d0a6f8559191c77d9b62b7e783
|
|
| MD5 |
2bd718e8163c95b1a8eab4e49578ddef
|
|
| BLAKE2b-256 |
8f9ec5ad3d70c50b95875b2cc8405492b2f8ebaad56c4eacdd84b3286693bca0
|