rajudandigam/agent-inspect

Local evidence debugger and trajectory-test toolkit for TypeScript AI agents: inspect causal runs, catch wrong tool paths in CI, and share safe offline evidence.

What it solves

AgentInspect addresses the difficulty of debugging complex TypeScript AI agents that perform multi-step tasks like planning, tool calling, and model interaction. It provides a local, privacy-focused way to visualize execution paths, enforce deterministic checks in CI/CD pipelines, and share verifiable evidence of agent behavior without relying on external SaaS platforms.

How it works

It captures agent execution traces as local JSONL files. These traces act as a single source of truth that can be used for three primary purposes: debugging via a CLI-based execution tree viewer, preventing regressions by running deterministic trajectory checks against your agent's logic, and generating redacted, hash-verifiable evidence bundles for sharing. It integrates with popular frameworks like LangChain, LangGraph, and the Vercel AI SDK.

Who it’s for

Developers building TypeScript-based AI agents who need local observability, automated testing of agent trajectories, and a secure way to share execution logs without uploading sensitive data to third-party services.

Highlights

  • Local-first architecture: No account, collector, or default data upload required.
  • Deterministic CI checks: Fail builds based on specific agent trajectories or tool usage expectations.
  • Privacy-focused: Built-in redaction tools and offline verification of evidence bundles.
  • Framework agnostic: Supports custom implementations and provides official adapters for LangChain, LangGraph, and AI SDK.
  • Comprehensive CLI: Tools for viewing, reporting, explaining, checking, and bundling agent traces.

Related

  • Project
  • Project
  • Project
  • Project
  • Project