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.
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 108 GitHub stars.
agent-inspect's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
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!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
Local-first TypeScript toolkit: trace what happened, check what should have happened, redact what must not leave your machine.
No account · no upload · no hosted dashboard · metadata-only by default
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
North star: install → one trace → one failure check → one share-safe artifact in under five minutes. See First trace in 5 minutes.
| Path | When | Start here |
|---|---|---|
| AI SDK | Vercel AI SDK generateText / streamText |
@agent-inspect/ai-sdk · guide |
| OpenAI Agents | OpenAI Agents JS local tracing | @agent-inspect/openai-agents · guide |
| LangChain | Callback adapter, LangGraph-via-LangChain | @agent-inspect/langchain |
| Observe | Existing class with run / execute |
Getting started § observe |
| Manual | Custom control flow | 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 harness | @agent-inspect/harness |
Blessed starters (no API keys): examples/starters
diff two runs locallycheck, eval, Vitest/Jest reportersredact --profile sharesessions, search, handoff metadata@agent-inspect/mcp client tracingpackages/vscode); dev guide — Marketplace listing manual| Scenario | Doc |
|---|---|
| Local debugging | USE-CASES.md |
| CI failure review | USE-CASES.md § CI trace artifact |
| Team adoption | TEAM-WORKFLOWS.md · Design partners |
| Package | Purpose |
|---|---|
agent-inspect |
Core + 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 @agent-inspect/redact or CLIscan / verify-safe — check artifacts before sharingDetails: Safe trace sharing · Security
| Start | Reference | Adoption |
|---|---|---|
| Getting started | API | Adoption |
| First trace in 5 min | CLI | Demo script |
| Use cases | Adapters | Technical guide |
| Examples | Performance | Pitch |
Full index: docs/README.md · Visual demos: SCREENSHOTS.md
Current release: 3.5.3 (sixteen linked npm packages). Persisted trace schema 1.0.
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.