The local analytics platform on the stdio wire for MCP & custom agents.
Agent Sentinel sits between your coding agent and its tools. It passively captures tool calls, latency, payloads, and errors into local session files — with zero cloud telemetry and an embedded local cockpit.
curl -fsSL https://raw.githubusercontent.com/zaninifrancesco/agent-sentinel/main/install.sh | bashOllama, DeepSeek, Qwen, vLLM, custom agents, or Cursor & Claude Code.
- • Channel:
stdio (fd 0/1) - • Framing:
JSON-RPC 2.0
Transparent Go proxy observing all frames without adding latency.
- •
Inspect: Raw JSON-RPC frames - •
Record: Append-only JSONL - •
Profile: Per-tool ms latency - •
Observe: Passive capture, zero blocks
@modelcontextprotocol filesystem, Postgres, Git, Bash PTY, APIs.
- • Executes with native agent permissions
- • Returns output & latency upstream

http://127.0.0.1:8848 — timeline call waterfall, execution latencies, and payload inspector.The AI agent black box vs. Sentinel on the wire.
When coding agents run, tool calls happen silently over stdio pipes and IDE hooks. You get no local visibility into where time went, which tool is hanging, which payload exploded in size, or why the same command failed repeatedly across sessions.
| Observable Vector | Direct Hooks & Stdio (Without Sentinel) | Sentinel Local Profiler (On The Wire) |
|---|---|---|
| Tool Call Visibility | Opaque terminal buffer; lost as soon as the session closes. | Paged waterfall timeline with readable tool names, arguments, and full result inspection. |
| Execution Latency | No breakdown; impossible to isolate slow tools from model thinking. | Millisecond duration per call, median and p95 percentiles, and concurrency tracking. |
| Payload Volume | Silent multimegabyte dumps bloat your model context. | Retained JSON bytes, response sizes, intelligent secret redaction, and truncation caps. |
| Historical Activity | Fragmented across IDE sessions with no aggregate record. | Persistent local catalog (~/.sentinel/sessions/), 24h/7d/30d trends, and project breakdowns. |
| Data Privacy | Cloud observability platforms require sending code to third-party SaaS. | 100% loopback (127.0.0.1), zero cloud accounts, offline standalone HTML reports. |
Every tool call, recorded and measurable.
Sentinel runs as a passive hook collector and transparent MCP stdio proxy. It records every event into append-only JSONL files without interfering with agent execution, asking for approvals, or adding latency.
Follow activity across recordings, filter by period, agent, and project, explore daily trends, and open the sessions behind the metrics.
No cloud accounts, no SaaS subscriptions, and zero data leakage. Everything stays strictly on your machine.
Call Waterfall & Timeline
Primary viewPaged call waterfall with one lane per call, proportional captured intervals, and available tool durations. Select any row to inspect arguments, outputs, and diffs.
Historical Statistics & Catalog
24h / 7d / 30dTrack agent usage across sessions with daily UTC call and error trends, breakdowns by agent and project, and a persistent catalog rebuilt from local JSONL files.
Call Inspector & Evidence
Deep inspectionFull-argument search, duration and response-size sorting, payload text search, file patch diffs, and transformation metadata (observed vs stored bytes).
Tool Profiling & Bottlenecks
PerformanceRanks longest completed calls, largest retained responses, and recurring error rates so you can spot lagging tools and runaway loops immediately.
Capture Profiles & Redaction
Privacy firstStandard capture automatically redacts recognized credentials with a 64 KiB cap; full capture retains up to 1 MiB unredacted. Everything stays on loopback.
Inspect real agent calls, timing, and evidence.
Explore an interactive sample of the cockpit's primary workspace. Select any call to inspect its execution timing, raw arguments, output payload, and diffs.
Interactive sample of the Agent Sentinel cockpit workspace. Navigate calls with keyboard or mouse.
Ready in 30 seconds. Zero config.
Install the single binary, connect passive hooks into your agent of choice, and inspect live call waterfalls on your machine.
Install & Launch Collector
1-Line Universal Setup · macOS & LinuxDownloads the prebuilt binary into ~/.sentinel/bin/sentinel and starts the passive background collector on port 8848:
$ curl -fsSL https://raw.githubusercontent.com/zaninifrancesco/agent-sentinel/main/install.sh | bashOr compile locally: git clone https://github.com/zaninifrancesco/agent-sentinel && cd agent-sentinel && make install.
Connect your Agent (Hooks)
Zero blocking · Native flight recorderChoose your coding tool. Sentinel registers passive hooks that capture execution without altering your agent's permissions.
# Option A: From scratch (installs binary + hooks automatically)
$ curl -fsSL https://raw.githubusercontent.com/zaninifrancesco/agent-sentinel/main/install.sh | bash
# Option B: If Sentinel is already installed on your machine
$ sentinel hook install --dir .Configures passive hooks in .cursor/hooks.json. Cursor reloads immediately on save. Zero blocking, zero permission changes.
"Configura Agent Sentinel per questo progetto" in the chat and Cursor will execute the install and setup automatically.claude> /plugin marketplace add zaninifrancesco/agent-sentinel
claude> /plugin install agent-sentinelInstall directly from Claude Code marketplace with zero clone. Native hooks capture tool usage, latencies, and file edits into the local cockpit.
$ sentinel hook install --agent claude --dir .
$ sentinel serve --mode observeConfigures hooks for Codex CLI and installs the universal agent skill in ~/.agents/skills/agent-sentinel/SKILL.md.
$ sentinel mcp --ui -- npx -y @modelcontextprotocol/server-filesystem .Wraps any stdio MCP server as a transparent proxy. Forwards protocol frames unchanged and automatically opens the cockpit at http://127.0.0.1:8848.
$ sentinel ui
$ sentinel ui ~/.sentinel/sessions/sample.jsonlReplay any previously recorded JSONL session offline. Export standalone zero-dependency HTML audit reports straight from the cockpit.
Verify & Open Local Cockpit
100% Local · Loopback telemetryOpen the local cockpit dashboard to inspect live call waterfalls, tool latency, arguments, and file diffs:
$ curl -sf http://127.0.0.1:8848/api/configExpected output: {"mode":"observe","policy":"off","approvals":false}. Telemetry is strictly stored on disk in ~/.sentinel/sessions/.
Local by design, transparent about limits.
Private on your machine
- Runs 100% locally on your machine. Zero cloud services, zero telemetry sent to third parties.
- Single self-contained Go binary with Vite web cockpit embedded. No Docker, no external database.
- Passive observation: Sentinel records actions without blocking commands, holding calls, or asking for approvals.
- Sessions saved on disk as plain JSONL files in ~/.sentinel/sessions/.
- One-click standalone offline HTML audit report export with zero external scripts or CDN assets.
Limits, stated plainly
- Tool durations are observed execution intervals from adapters, not LLM thinking or model inference time.
- Retained JSON sums stored payload bytes, not model token counts or context window fill.
- Standard capture caps retained payloads at 64 KiB with best-effort sensitive field redaction (full capture allows 1 MiB).
- macOS and Linux supported (Windows has not been tested).
- Native lifecycle hook support verified for Cursor Agent and Claude Code.
Complete visibility into your coding agents.
Free, open source, and everything stays on your machine.