Decision guide

Choose capture, contracts, Evidence, and MCP paths.

Choose the smallest AgentInspect path that matches your stack and goal.

1. Capture

If you use…Start with
Custom TypeScript agentinspectRun / step / observeGETTING-STARTED.md
Vercel AI SDK@agent-inspect/ai-sdk
OpenAI Agents JS@agent-inspect/openai-agents
LangChain / LangGraph@agent-inspect/langchain · LANGGRAPH.md · npx agent-inspect init --framework langgraph
Existing structured logsLOG-TO-TREE-QUICKSTART.md
OpenInference / OTLP JSON filesSTANDARDS.md

2. Understand a run

bash
npx agent-inspect list --dir .agent-inspect
npx agent-inspect report <run-id> --dir .agent-inspect
npx agent-inspect what <run-id> --dir .agent-inspect

Programmatic TraceFacts: TRACE-FACTS.md.

3. Prevent a regression

NeedUse
One-off CLI checksnpx agent-inspect check <run-id>
Typed trajectory rulesTraceContract — TRACE-CONTRACTS.md
CI thresholdsSuites / gates — SUITES-COHORTS-GATES.md
Vitest / JestReporters + experimental toPassTraceContract / toHaveRequiredTool

4. Share evidence

bash
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

See EVIDENCE-FORMAT.md and SAFE-TRACE-SHARING.md.

5. Debug with a coding assistant

bash
npx agent-inspect mcp configure --client cursor
npx @agent-inspect/mcp-server --dir .agent-inspect

Use get_trace_facts and related read-only tools. See CODING-AGENT-LOOP.md.

6. Stay local / no-egress

Follow NO-EGRESS-POLICY.md and NETWORK-BEHAVIOR.md. Core AgentInspect does not open outbound product telemetry sockets by default.

Full reference remains in GitHub docs during the docs migration.