GhostTrace is a Python CLI tool designed to record AI agent decisions, including "Phantom Branches" β the actions the agent considered but ultimately rejected.
- Decision Tracking: Record every step an agent takes.
- Phantom Branches: Capture the "roads not taken" and the reasons for rejection.
- Rich Replay: Visualize the decision process in a clean, color-coded terminal UI.
pip install -e .ghosttrace recordghosttrace replay <session_id>.ghost.jsonghosttrace replay <session_id>.ghost.json --show-phantoms