AgentInspect Local Trace Toolkit

Inspect TypeScript agent runs locally and catch incorrect execution paths with deterministic CI checks.

Stars
★ 213
FARS reviewed
Nov 08, 2026 +30 new
License
MIT
Primary language
TypeScript

At a glance

How it runs
CLILibrary / SDKMCP server
Works with
Universal · cross-platformOpenAI API (Partial support)
Cost
Free, no paid service needed
Setup effort
Low · running in minutes
You'll need
Node.js >=20Shell / CLILocal filesystemMCP Server
Typical use
A TypeScript agent developer reproducing a failed tool call locally and using the execution tree to find the first causal error.
Not a fit if
  • Teams that need hosted production monitoring and long-term trace retention
  • Teams that need a prompt registry or online LLM evaluation platform
Website
agentinspect.vercel.app ↗ set on GitHub
Maintenance
Commits in the last 30 dayslast commit 2026-11-25latest release @agent-inspect/[email protected] (2026-11-18)
Source review
79/100 · Good

What does this agent do, and when should you use it?

AgentInspect is a local-first toolkit for TypeScript AI agents that stores run traces as JSONL and provides a CLI, importable reader and checking APIs, and framework adapters. It renders nested steps, tool and LLM calls, durations, and errors as execution trees and reports to help locate causal failures. Trajectory presets, TraceContract, and suites let teams check recorded runs deterministically and fail CI on unmet rules. It can also write redacted Evidence v2 artifacts with a manifest and verify their file hashes offline. Core debugging, checking, and evidence workflows need no AgentInspect account or default upload; the runtime requirement is Node.js 20 or newer.

Install agent-inspect, use init to write examples, and run a demo to create a local trace; use list to find runs and view, report, or explain to inspect execution paths. The CLI check command evaluates runs against rules such as --preset trajectory and --required-tool; programmatic checks can read JSONL with openTraceFile and evaluate contracts with defineTraceContract and evaluateTraceContractRead. For sharing, run verify-safe to assess the trace, create an Evidence v2 artifact with bundle, and use bundle verify to check manifest hashes offline. Optional adapters cover LangChain/LangGraph, AI SDK, and OpenAI Agents JS; Vitest and Jest reporters and a Preview-stage MCP server are also available as optional packages.

  1. A TypeScript agent developer reproducing a failed tool call locally and using the execution tree to find the first causal error.
  2. An engineering team adding checks for required tools, workflow steps, or run completion to CI.
  3. A team using LangGraph, AI SDK, or OpenAI Agents JS instrumenting its framework with the corresponding adapter to inspect traces.
  4. An engineer attaching run evidence to a pull request, incident, or support handoff after creating a redacted, offline-verifiable Evidence v2 bundle.
  5. A team with structured logs or OpenInference/OTLP JSON bringing those records into a local inspection workflow with the logs or open command.

Key setup facts

Pulled from the install and usage notes below. The project README has the current values.

Install / run
  • npm install agent-inspect
  • npx agent-inspect init --yes
  • npx agent-inspect list --dir .agent-inspect
  • npx agent-inspect view <run-id> --dir .agent-inspect --summary
Runtime
Node.js 20+

How do you install or deploy this agent?

Requires Node.js >=20. Install the core CLI:

npm install agent-inspect

Create and run the local demo:

npx agent-inspect init --yes
node examples/agent-inspect-demo.mjs
npx agent-inspect list --dir .agent-inspect

The core workflow does not require an account or API key. For framework integrations, install the relevant adapter package listed in the README, such as @agent-inspect/langchain or @agent-inspect/openai-agents.

How do you use this agent?

Copy a run ID from list, inspect its summary, and run a trajectory check:

npx agent-inspect view <run-id> --dir .agent-inspect --summary
npx agent-inspect check <run-id> --dir .agent-inspect --preset trajectory

Create and verify shareable offline evidence:

npx agent-inspect verify-safe <run-id> --dir .agent-inspect
npx agent-inspect bundle <run-id> --dir .agent-inspect --profile share --out ./evidence
npx agent-inspect bundle verify ./evidence

For programmatic checks, read JSONL and evaluate a TraceContract:

import { openTraceFile } from "agent-inspect/readers";
import {
  defineTraceContract,
  evaluateTraceContractRead,
} from "agent-inspect/checks";

const read = await openTraceFile("./trace.jsonl");
const contract = defineTraceContract({
  run: { requireCompleted: true },
  tools: { required: ["retrieve_policy"] },
});

const result = evaluateTraceContractRead(read, contract);
if (result.status !== "pass") process.exitCode = 1;

Safety boundaries, hardening & integrations

Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.

Declared capability surface (blast radius)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Local filesystem read/write

Modifies local files; work on a clean Git branch or dedicated worktree.

External MCP tool bridge

Inherits capabilities of connected MCP servers; audit third-party servers before enabling.

FARS trust-control audit

Verified present in source (3/3)
  • data-flow disclosure
  • sensitive-data handling
  • disclosed external effects

What are this agent's strengths and limitations?

Pros
  • Traces stay in local JSONL by default, and core capture and inspection need no account, collector, or default upload.
  • One trace supports execution-tree debugging, deterministic CI trajectory checks, and the Evidence v2 sharing workflow.
  • Reader APIs, TraceContract, framework adapters, and Vitest/Jest reporters provide integration paths for TypeScript workflows.
Limitations
  • Requires Node.js >=20 and comfort with CLI commands or calling the APIs from code.
  • Redaction and verify-safe are best-effort controls, not privacy, security, or compliance certification; artifacts still need review before sharing.
  • Trajectory checks use recorded traces and rules; failure-based gating requires explicit OUTCOME events.
  • The optional MCP server is currently Preview, which limits its suitability for teams requiring a stable MCP surface.

How does this agent compare with similar options?

The README positions AgentInspect as a laptop-to-PR evidence workflow that complements hosted observability/APM and eval/prompt platforms. Hosted observability suits production fleet monitoring and retention; eval/prompt platforms suit prompt and dataset management and online LLM-judge experiments.

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
AgentInspect Local Trace Toolkit This agent 79 · Good CLIFree ★ 213 3d ago TypeScript —
Open Generative UI 74 · Some gaps CLIFree + model costs ★ 4.3k 1mo ago TypeScript Claude API
LangChain 62 · Some gaps Library / SDKFree + model costs ★ 150k today Python OpenAI API
Open Multi-Agent Canvas 35 · Major gaps Web appFree + model costs ★ 566 5mo ago TypeScript —

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Good
79/ 100 5-point scale 4.0 / 5
This review covers the source as of Nov 08, 2026. The project has shipped 30 stable release(s) since, which have not been re-reviewed. The score and verdict describe the reviewed version only. Recent releases ↓
Trust 22/29
Reliability 8/14
Adaptability 16/18
Convention 15/18
Effectiveness 12/13
Verifiability 6/8
Why each dimension lost points
Trust22 / 29 · 3.8/5

The README, SECURITY.md, and adapter code describe local, read-only, or metadata-only defaults, with previews requiring explicit selection and redaction; the README also discloses optional network surfaces and asks users to review artifacts before sharing. Deductions: redaction can be explicitly disabled, custom metadata may still contain sensitive data, and the static packet does not cover every optional package implementation. Publisher identity is unknown, so attribution evidence is limited.

Reliability8 / 14 · 2.9/5

The packet shows layered CI, type checking, coverage gates, offline integration scripts, adapter parity tests, diagnostics, and documented failure exit codes. Deductions: no actual execution results are provided, and the framework integrations and optional packages add dependency availability and compatibility burdens.

Adaptability16 / 18 · 4.4/5

The README, skill, and install kits cover custom TypeScript code, LangChain, AI SDK, OpenAI Agents, structured logs, OTLP/OpenInference, CI, and optional MCP; they clearly exclude hosted APM replacement, compliance certification, and automatic replay. Deductions: Node.js >=20 and TypeScript/Node module settings impose environment requirements, and maturity varies across adapters and optional surfaces.

Convention15 / 18 · 4.2/5

The repository presents a clear documentation entry point, scenario-based install guidance, copyable examples, known limitations, security guidance, an MIT license, and a version baseline/changelog path. AGENTS.md reads as maintainer development guidance rather than product instructions. Deductions: the 18-package release group and multiple support tiers increase naming and version coordination complexity; the packet does not identify a specific accountable maintainer or maintenance responsibility.

Effectiveness12 / 13 · 4.6/5

Local execution trees, deterministic trajectory rules, and verifiable offline evidence support a reusable debugging-to-CI workflow with reports, trees, and evidence bundles. Deductions: users must instrument or adopt an adapter, configure rules, and review shared artifacts; the package family adds setup and maintenance cost.

Verifiability6 / 8 · 3.8/5

Most product claims have corresponding explanations across the README, security docs, package metadata, and supplied code/tests; the docs distinguish best-effort safety assessment from certification and treat trace content as untrusted data. Deductions: the packet is a sample, omits many core implementations and the changelog body, and test source is not execution output or independent verification.

Risks and how to mitigate them
  • Review evidence bundles before sharing; redaction and verify-safe are best-effort controls, not privacy, security, or compliance certification.
  • Metadata may be user-controlled; disabling redaction or using custom fields can persist sensitive information locally.
  • Node.js 20 or newer is required; check dependency and support details for each optional framework adapter you install.
Evidence confidence: Low Reviewed Nov 08, 2026 Reviewed revision 184e070454b5 New commits since this review; the score may not cover them
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/agent-inspect.svg)](https://followagents.com/en/agents/agent-inspect)
<a href="https://followagents.com/en/agents/agent-inspect"><img src="https://followagents.com/badge/agent-inspect.svg" alt="FARS review"></a>

Recent releases

Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.

  1. Release notes excerpt
    Patch Changes - Updated dependencies [aad070b] - [email protected] - @agent-inspect/[email protected] - @agent-inspect/[email protected]
    View on GitHub ↗
  2. Release notes excerpt
    Patch Changes - @agent-inspect/[email protected]
    View on GitHub ↗

FAQ

Do I need an account or API key for the core workflow?
No. The README says core capture and inspection need no AgentInspect account, collector, or default upload; it does not state that a model API key is required.
Does it capture prompts and model outputs?
Metadata-only capture is the default. Raw prompts and outputs require opt-in. The project also says it is not a chain-of-thought recorder.
What happens when a CI check fails?
A rule failure exits with code 1; a passing check exits with code 0. Invalid configuration and unreadable or unsupported inputs have separate documented exit codes.
Does the safety check certify a bundle for compliance?
No. verify-safe is a best-effort local assessment, and the Evidence artifact should be reviewed before sharing.
Was this page helpful?
View on GitHub ↗ Install ↓

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related concepts