Catalog PyPI
PACKAGE EXPLORERView in registry

agent-trajectory-replay-py

PyPI

Replay and diff AI agent event trajectories for debugging regressions. Python port of @mukundakatta/agent-trajectory-replay.

agentdebuggingllmreplaytrajectory
Versions collected1
Direct dependencies1From release 0.1.0
Last observed20 Oct, 23:35 UTC

README

Version 0.1.0 documentation

agent-trajectory-replay-py

Replay and diff AI agent event trajectories. Pure Python, zero deps. Python port of @mukundakatta/agent-trajectory-replay.

pip install agent-trajectory-replay-py
from agent_trajectory_replay import summarize_trajectory, diff_trajectories, replay_trajectory

events = [{"type": "tool_call", "tool": "search"}, {"type": "final", "content": "ok"}]
summarize_trajectory(events)         # TrajectorySummary(steps=2, tool_calls=1, errors=0, final_output='ok')
diff_trajectories(events, events)    # []  (no diff)
replay_trajectory(events, {"final": lambda e, s: s.update({"a": e["content"]})})
# {"a": "ok"}

License

MIT

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.1.027 Apr 20261

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
mukundakatta/agent-trajectory-replay-py

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 23:35 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:221a7cefc5f06b7b39b6b19367f76f73487d8ce2f3009995502fa78c25ddf428