by rajudandigam
Local execution trees for TypeScript AI agents. agent-inspect helps you understand what happened inside an AI agent run — locally. It turns manual steps, tool calls, LLM calls, structured logs, failures, durations, and run metadata into readable execution trees you can inspect from the terminal. It is built for TypeScript/Node.js developers..
# Add to your Claude Code skills
git clone https://github.com/rajudandigam/agent-inspectGuides for using ai agents skills like agent-inspect.
Last scanned: 7/2/2026
{
"issues": [
{
"type": "npm-audit",
"message": "@vitest/coverage-v8: Vulnerability found",
"severity": "critical"
},
{
"type": "npm-audit",
"message": "@vitest/mocker: Vulnerability found",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "esbuild: esbuild enables any website to send any requests to the development server and read the response",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "vite: Vite Vulnerable to Path Traversal in Optimized Deps `.map` Handling",
"severity": "high"
},
{
"type": "npm-audit",
"message": "vite-node: Vulnerability found",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "vitest: Vulnerability found",
"severity": "critical"
}
],
"status": "FAILED",
"scannedAt": "2026-07-02T07:32:21.144Z",
"npmAuditRan": true,
"pipAuditRan": true,
"promptInjectionRan": true
}agent-inspect is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by rajudandigam. Local execution trees for TypeScript AI agents. agent-inspect helps you understand what happened inside an AI agent run — locally. It turns manual steps, tool calls, LLM calls, structured logs, failures, durations, and run metadata into readable execution trees you can inspect from the terminal. It is built for TypeScript/Node.js developers. It has 208 GitHub stars.
agent-inspect failed SkillsLLM's automated security scan, which flagged one or more high-severity issues. Review the Security Report section carefully before using it.
Clone the repository with "git clone https://github.com/rajudandigam/agent-inspect" and add it to your Claude Code skills directory (see the Installation section above).
agent-inspect is primarily written in TypeScript. It is open-source under rajudandigam on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh agent-inspect against similar tools.
No comments yet. Be the first to share your thoughts!
Requires a passing catalog security scan. Resolve the flagged issues and resubmit to enable featuring.
agent-inspect turns AI-agent runs into readable local execution trees: framework events, observed objects, tool calls, LLM steps, retries, failures, timings, sessions, and CI artifacts — without an account, collector, or hosted dashboard.
Default loop: capture locally → inspect / report / diff → check in CI → redact before sharing.
npm install agent-inspect
npx agent-inspect init --yes
node examples/agent-inspect-demo.mjs
npx agent-inspect list --dir .agent-inspect
npx agent-inspect view <run-id> --dir .agent-inspect
npx agent-inspect report <run-id> --dir .agent-inspect
npx agent-inspect verify-safe --dir .agent-inspect
Install → one trace → one failure check → one share-safe artifact in under five minutes. Guide: First trace in 5 minutes · repo
| Path | Use when | Start |
|---|---|---|
| AI SDK | Vercel AI SDK generateText / streamText |
@agent-inspect/ai-sdk · guide |
| OpenAI Agents | OpenAI Agents JS | @agent-inspect/openai-agents · guide |
| LangChain | Callbacks / LangGraph-via-LangChain | @agent-inspect/langchain |
| Observe | Object/class with run / execute / invoke |
Getting started |
| Manual | Custom spans and nesting | inspectRun + step in API |
| Logs | Structured logs already emitted | Log-to-tree |
| CI / tests | Failed-test artifacts | @agent-inspect/vitest · @agent-inspect/jest |
| Real projects | Fixture runner / bootstrap | @agent-inspect/harness · NestJS |
Blessed starters (no API keys): examples/starters
check, eval, Vitest/Jest reporters on failurediff of two runsredact --profile sharesessions, search, handoff metadata@agent-inspect/mcp client tracing| Scenario | Where to start |
|---|---|
| Local debugging | Use cases · broken-agent starter |
| CI failure review | CI artifacts · ci-eval-redact |
| Team adoption | Team workflows · Design partners |
| Safe sharing | Safe sharing · repo |
| Framework-native tracing | Adapters · package READMEs above |
| Design partner trial | Design partner guide · Demo script |
| Package | Purpose |
|---|---|
agent-inspect |
Core APIs + CLI |
@agent-inspect/ai-sdk |
AI SDK telemetry |
@agent-inspect/openai-agents |
OpenAI Agents processor |
@agent-inspect/langchain |
LangChain callbacks |
@agent-inspect/harness |
Fixture runner for real projects |
@agent-inspect/redact |
Deterministic redaction |
@agent-inspect/eval |
Local eval heuristics |
@agent-inspect/vitest |
Vitest reporter |
@agent-inspect/jest |
Jest reporter |
@agent-inspect/mcp |
MCP client tracing |
@agent-inspect/mcp-server |
Read-only trace MCP server |
@agent-inspect/guardrails |
Deterministic guardrail rules |
@agent-inspect/circuit |
Loop / retry / timeout analyzers |
@agent-inspect/viewer |
Localhost viewer |
@agent-inspect/adapter-sdk |
Third-party adapters |
@agent-inspect/tui |
Optional terminal UI |
agent-inspect-vscode |
VS Code extension (in-repo; not on Marketplace yet) |
.agent-inspect/ (or AGENT_INSPECT_TRACE_DIR)local / share / strict via CLI or @agent-inspect/redactscan / verify-safe — check artifacts before sharingDetails: Safe sharing · repo · Security
| Website | Repo | |
|---|---|---|
| Getting started | docs/getting-started | GETTING-STARTED.md |
| Safe sharing | docs/safe-sharing | SAFE-TRACE-SHARING.md |
| Compare | docs/compare | COMPARE.md |
| API / CLI | — | API.md · CLI.md |
| Adoption | — | ADOPTION.md · USE-CASES.md |
| Technical guide | — | TECHNICAL-GUIDE.md |
| Examples | — | starters |
| Visual demos | — | SCREENSHOTS.md |
Full index: docs/README.md
See Compare.
Current release: 3.5.5 (sixteen linked npm packages). Persisted trace schema 1.0. Requires Node.js >= 20.
pnpm add agent-inspect
npx agent-inspect doctor
Monorepo development: pnpm install && pnpm build && pnpm test
CONTRIBUTING.md · Good first issues · Discussions · Changelog
Redact traces before posting issues or PRs.