Skip to main content

jep-lineage-explorer

Explore replayable delegation lineage and authority propagation across AI agents and tools.

jep-lineage-explorer turns a JEP replay archive (.jsonl) into inspectable authority artifacts:

  • delegation tree for authority propagation and nested delegation
  • replay lineage graph for agent-to-agent responsibility chains
  • authority timeline for grants, uses, expirations, and revocations
  • replay lineage engine with verification for scope attenuation and expiring delegations
  • lineage diff between replay ids inside the same archive
  • replay ancestry inspection through parent/causal event links

Install for local development

python -m pip install -e .

CLI

jep-lineage inspect archive.jsonl

Useful options:

jep-lineage inspect archive.jsonl --format json
jep-lineage inspect archive.jsonl --strict

--strict exits with status 2 when verification errors are found.

Supported JSONL event shapes

The reader accepts flexible field names so existing JEP archives can be replayed without a rigid schema.

Delegation creation event types include delegation_created, delegate, authority_delegated, and authority_granted.

Common delegation fields:

{
  "event_type": "delegation_created",
  "timestamp": "2026-01-01T00:00:00Z",
  "replay_id": "run-a",
  "delegation_id": "d-root",
  "parent_delegation_id": null,
  "from_agent": "orchestrator",
  "to_agent": "planner",
  "scopes": ["read", "write"],
  "expires_at": "2026-01-01T01:00:00Z"
}

Authority use event types include authority_used, delegation_used, tool_call, and agent_action when they reference a delegation_id.

Revocation event types include delegation_revoked, authority_revoked, and revoke.

Replay ancestry edges are inferred from parent_event_id, parent_id, caused_by, or in_reply_to fields.

Verification

The inspector validates that:

  • child scopes are a subset of parent scopes (scope attenuation)
  • child delegations do not extend parent expiration
  • parent delegations are active when children are issued
  • authority uses reference known, active delegations
  • requested use scopes do not exceed the referenced delegation
  • delegation identifiers are unique and parent links are resolvable

Example

{"event_type":"delegation_created","timestamp":"2026-01-01T00:00:00Z","replay_id":"r1","delegation_id":"root","from_agent":"owner","to_agent":"planner","scopes":["read","write"],"expires_at":"2026-01-02T00:00:00Z"}
{"event_type":"delegation_created","timestamp":"2026-01-01T01:00:00Z","replay_id":"r1","delegation_id":"child","parent_delegation_id":"root","from_agent":"planner","to_agent":"worker","scopes":["read"],"expires_at":"2026-01-01T12:00:00Z"}
{"event_type":"authority_used","timestamp":"2026-01-01T02:00:00Z","replay_id":"r1","agent":"worker","delegation_id":"child","scopes":["read"]}

Runtime and verification notes

See HARDENING.md for supported behavior, regression checks, and compatibility boundaries.

Metadata

Release files for jep-lineage-explorer 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for jep-lineage-explorer 0.1.1
File Size Uploaded Provenance
jep_lineage_explorer-0.1.1.tar.gz 11.7 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for jep-lineage-explorer 0.1.1
File Interpreter ABI Platform
jep_lineage_explorer-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 22.3 kB

Release files / jep_lineage_explorer-0.1.1.tar.gz

Download URL jep_lineage_explorer-0.1.1.tar.gz
Size 11.7 kB
Tags Source
SHA-256 checksum
How to use checksums
88b213b472f1c60c088b4b63646ecd884f7740f369a7ebad9510a058c329d9d2
BLAKE2b-256 checksum
How to use checksums
aaa08639503254e203ca00657eac973f100eeceb6a1d58944765d1dae2830805
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 13, 2026.

Transparency log

Release files / jep_lineage_explorer-0.1.1-py3-none-any.whl

Download URL jep_lineage_explorer-0.1.1-py3-none-any.whl
Size 10.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
50a6f99243af85bba5d413c8537d984bf8cc24c9da5f81ded309dead4557cbd9
BLAKE2b-256 checksum
How to use checksums
808e0ab33b17ce684b4f6d4976d497e25e686c3c3ac69a1e40ead91255ba95b1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 13, 2026.

Transparency log

Security for jep-lineage-explorer 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for jep_lineage_explorer-0.1.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 13, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files Full provenance

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