agent-inspectBLOCK
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.
Overview
From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.
agent-inspect Local-first evidence for TypeScript AI agents
See what your agent did. Catch the wrong path in CI. Keep the evidence local.
AgentInspect turns TypeScript agent runs into readable execution trees, deterministic trajectory checks, and portable Evidence v2—without requiring an account, collector, or default upload.
Capture once. Debug, prevent, and share from the same local trace.
No account · no collector · no default upload · metadata-only by default
Website · Docs · npm · GitHub
Support level: Stable — see SUPPORT-LEVELS.md. Network behavior: NETWORK-BEHAVIOR.md.
npm install agent-inspect
Agent code
c969ddf41d6eOBSERVED · 2026-10-12Connect
Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.
claude mcp add agent-inspect-consumer-ts-jest-node16 --env ELASTIC_API_KEY=${ELASTIC_API_KEY} --env GITHUB_TOKEN=${GITHUB_TOKEN} --env STUDIO_INGEST_TOKEN=${STUDIO_INGEST_TOKEN} --env STUDIO_TEST_PASSWORD=${STUDIO_TEST_PASSWORD} -- npx -y agent-inspect-consumer-ts-jest-node16{
"mcpServers": {
"agent-inspect-consumer-ts-jest-node16": {
"command": "npx",
"args": [
"-y",
"agent-inspect-consumer-ts-jest-node16"
],
"env": {
"ELASTIC_API_KEY": "${ELASTIC_API_KEY}",
"GITHUB_TOKEN": "${GITHUB_TOKEN}",
"STUDIO_INGEST_TOKEN": "${STUDIO_INGEST_TOKEN}",
"STUDIO_TEST_PASSWORD": "${STUDIO_TEST_PASSWORD}"
}
}
}
}Exposed tools (24)
18 read · 6 write · 0 destructive.
| Tool | Risk | Description |
|---|---|---|
agent-inspect | read | Local evidence debugger and trajectory-test toolkit for TypeScript AI agents — framework-faithful execution trees, TraceFacts, TraceContract, Evidence v2, and read-only MCP without a collector or default upload. |
ask | read | question runner |
bad | read | bad |
boom | read | throws |
create_share_checked_evidence | write | Create in-memory share-checked evidence (artifact-gated). |
create_share_safe_bundle | write | Create an in-memory share-safe bundle manifest and redacted exports. |
create_share_safe_report | write | Create a share-profile markdown report for one run. |
echo | read | echo |
find_slowest_path | write | Summarize the slowest steps in one run. |
future_tool | read | missing annotations |
get_navan_rewards | read | Lookup rewards points |
get_slowest_path | write | Summarize the slowest steps in one run. |
list_recent_failures | read | List recent failed runs in the configured trace directory. |
list_recent_runs | read | List recent local trace runs in the configured trace directory. |
list_traces | read | List local trace runs in the configured trace directory. |
lookup_item | read | Lookup an item |
probe | read | probe |
run_checks | write | Run deterministic run.status check for one run. |
search | read | fixture search tool |
search_docs | read | Search docs |
slow | read | slow then ok |
submitPayment | read | fixture payment tool |
x | read | y |
zed | read | last target |
Trust audit
BLOCKgrade F · trust 51/100 Do not install this without reading the findings. The audit found something that could harm you or your machine.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | FAIL |
| L1 | Static analysis of the code | WARN |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- declared (1 observation(s))
- Network
- declared (1 observation(s))
- Shell
- none-observed
- Dependencies
- not all pinned
- Secrets in source
- found
Findings (25)
omitted-payload.ts
console.log(`[AgentInspect studio] HTTP ingest enabled (token required on POST routes)`);
expected: "sk-ant-abcdefghijklmnopqrstuvwxyz012345",
required: ["sk-ant-abcdefghijklmnopqrstuvwxyz012345"],
anthropicLine: "anthropic key sk-ant-abcdefghijklmnopqrstuvwxyz",
expect(serialized).not.toContain("sk-ant-abcdefghijklmnopqrstuvwxyz");apiKey: "FIXTURE_TOKEN_REDACT_ME",
apiKey: "sk-demo-not-a-real-key",
const secret = "sk-bundleRedactedSecret1234567890";
const secret = "sk-fixtureResidualSecretValue123456789";
apiKey: "sk-fixtureSecretValue123456789",
["value.githubToken", "ghp_abcdefghijklmnopqrstuvwxyz123456", "local"],
githubLine: "token ghp_abcdefghijklmnopqrstuvwxyz123456",
expect(serialized).not.toContain("ghp_abcdefghijklmnopqrstuvwxyz123456");"-----BEGIN PRIVATE KEY-----\nabc\n-----END PRIVATE KEY-----",
pem: "-----BEGIN PRIVATE KEY-----\nabc\n-----END PRIVATE KEY-----",
check-pass-fail.webm
debug-tree.webm
evidence-bundle.webm
explain.webm
redact.webm
omitted-payload.test.ts
pathHint: "/Users/synthetic/.ssh/id_rsa",
path.resolve(here, "../../.."),
path.resolve(here, "../../../.."),
Gates applied: no_behavioural_pass.
c969ddf41d6efull audit observations/trust-audit/mcp-server/rajudandigam__agent-inspect.json · Report an issue / request a re-scanAudit history
Every audit this server has had. A grade with a past is a grade somebody is still checking.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-12 | c969ddf41d6e | BLOCK | F | 51 | first audit |
Questions
What is the agent-inspect MCP server?
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 tools does agent-inspect expose?
24 in total: 18 read-only, 6 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is agent-inspect safe to connect to an agent?
No — not without reading the findings first. The audit graded it F (51/100) and found 1 critical or high issue in the source. Each one is listed on this page with the file and line it is on.
What credentials does agent-inspect need?
It reads ELASTIC_API_KEY, GITHUB_TOKEN, STUDIO_INGEST_TOKEN and STUDIO_TEST_PASSWORD from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How current is this page?
The grade is for one exact copy of the source (c969ddf41d6e), read on 2026-10-12. The repository is watched and re-audited when it changes.