Shepherd CLIΒΆ
Debug your AI agents like you debug your code
What is Shepherd?ΒΆ
Shepherd is a command-line tool for inspecting and debugging AI agent sessions. Think of it as gdb for AI agents.
π Session Tracking
List, filter, and inspect all your agent sessions from the terminal.
π³ Trace Trees
Visualize execution flows with hierarchical trace trees.
π JSON Export
Export traces for analysis or integration with other tools.
π Multi-Provider
Works with multiple observability platforms: AIOBS and Langfuse.
π» Interactive Shell
A REPL for exploring sessions with tab completion and history.
Quick PreviewΒΆ
$ pip install shepherd-cli
$ shepherd config init
$ shepherd sessions list
Sessions
βββββββββββββββ³βββββββββββββββ³βββββββββββββββ³βββββββββββ³βββββββββ
β ID β Name β Started β Duration β Events β
β‘ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ©
β be393d0d... β pipeline-exβ¦ β 2025-12-03 β 9.6s β 4 β
β 6dfe36bb... β pipeline-exβ¦ β 2025-12-03 β 9.8s β 4 β
βββββββββββββββ΄βββββββββββββββ΄βββββββββββββββ΄βββββββββββ΄βββββββββ
Coming SoonΒΆ
π€ Shepherd Agent
AI-powered debugging with natural language queries and GDB-like features.
π Deterministic Replay
Replay agent runs with exact inputs and random seeds.
π΄ Breakpoints
Set breakpoints on tool calls, LLM invocations, or conditions.
π§ Trace Agent
AI that analyzes your execution traces.