INDEPENDENT RESEARCH LAB
0x7ouda
Initializing workspace...
DIGITAL FORENSICS / RESEARCH ARCHIVE
Tool/Tools

AgentSleuth

A forensic analysis tool for AI agent artifacts, including session logs, conversation histories, tool executions, reasoning traces, and metadata from AI agents such as Codex and Claude.

Tools
RESEARCH FILE / AGENTSLEUTH · 0x7ouda
ON THIS PAGE / 5 SECTIONS
  1. Install and run
  2. Standalone Windows build
  3. Run from source
  4. Open and review a session
  5. Export recovered files

AgentSleuth is a tool for investigating recorded sessions from Codex, OpenCode, Claude Code, and Antigravity. It lets you search prompts, replies, and tool activity, and recover files preserved in the session data.

Install and run

Standalone Windows build

Download AgentSleuth.exe from GitHub Releases and double-click it to launch. Python and Qt are bundled.

Run from source

You need Git, Python 3.10 or newer, and GitHub credentials with access to the repository.

git clone https://github.com/omaralaaaa/AgentSleuth.git
cd AgentSleuth

Windows (PowerShell)

python -m venv .venv
.\.venv\Scripts\python.exe -m pip install .
.\.venv\Scripts\python.exe main.py

Linux and macOS

python3 -m venv .venv
.venv/bin/python -m pip install .
.venv/bin/python main.py

Installation includes Qt through PySide6 Essentials. Check the wheel requirements if pip reports that no compatible version is available. PySide6 Essentials downloads

Open and review a session

  1. Click Scan for artifacts… and choose Scan this PC for known local evidence locations or Scan evidence folder… for a copied collection, such as KAPE output. Mount or extract a raw disk image first. Select an agent folder and click Open selected.
  2. To open a source manually, choose the agent tab and click Browse, or paste the source path and press Enter.
  3. Select a session in the Conversation Index. Click the response count beneath a prompt to expand or collapse replies. Press Ctrl+F to search the transcript, and use the turn and activity filters to narrow the results.
AgentSource to openCompanion files to keep
Codexstate_*.sqliteThe referenced rollout JSONL files under sessions/ or archived_sessions/.
OpenCodeopencode.db—
Claude Codehistory.jsonlThe sibling projects/ folder and file-history/ for available backups.
Antigravityconversation_summaries.db, a generated transcript.jsonl, or a trajectory .db. You can also paste the agent folder path.The brain/ and conversations/ folders, including session uploads and scratch files. Generated transcripts show the conversation. Trajectory databases provide step metadata.

Use a consistent snapshot for any SQLite source. Recent records may still be in the database’s -wal file.

Export recovered files

When a session has recoverable files, Open export folder opens the saved copies and Uploads by prompt shows which prompt each recorded upload belongs to. Antigravity scratch files are saved separately from uploads.

The default export folder is AgentSleuth_Export/ beside main.py when launched from source. Click Change folder to save a different location.

LET'S DISCUSS

Keep the investigation open.

Have another interpretation, a correction, or a useful trace? Reach out on Discord.

Continue on Discord