
你的AI代理发出的每一个工具调用——记录、定时、差异。没有任何东西发送到任何地方。
AI编码代理代表您读取文件、编写代码、运行命令并提交到git。 警报 为您提供他们所做一切的完整、可查询的记录,而不会改变他们的工作方式或能力 克劳德代码 和 光标.
______________________________________________________________________
它是什么样子的
vigilo view
░ CLAUDE ░ df66fc59 16 Feb 17:26
│ my-app · feature/auth@23dbb5e
│ claude-opus-4-6
│ 17:26:39 ● EXEC Bash cargo test && cargo ins… 6.3s
│ 17:26:45 ○ READ Read src/auth.rs
│ 17:27:01 ○ READ Grep src/app/**/*.ts
│ 17:27:02 ◆ WRITE Edit auth.rs +12 -3
│ 17:27:03 ✖ ERR Bash npm install 2.1s
│ ··· 42 more calls ···
│ 17:35:01 ○ READ Read auth.rs
│ 17:35:06 ◆ WRITE Edit auth.rs +3 -1
│ 17:35:12 ● EXEC Bash cargo test 4.2s
└─ 52 calls · r:22 w:11 e:19 · 1 err · 48.3s
tokens: 65K in · 270 out · cache: 162K read · ~$0.03 (list pricing)
░ CURSOR ░ a3b8c91e 16 Feb 18:02
│ Auto
│ 18:02:14 ○ READ Read navbar.html 141ms
│ 18:02:19 ◆ WRITE Edit navbar.html +8 -3
└─ 2 calls · r:1 w:1 e:0 · 0.3s
tokens: 71K in · 5K out · cache: 905K read · $0.35 (2 reqs)vigilo stats
── vigilo stats ────────────────────────────────
76 sessions · 1215 calls · 1 error (0%) · 407s total
risk: 487 read · 329 write · 328 exec
tools files
───── ─────
303× Bash 84× hook.rs
270× Read 64× data.service.ts
240× Edit 62× view.rs
86× Write 30× main.rs
models
──────
310× claude-opus-4-6 996 in · 33K out · ~$66.07
168× Auto
144× claude-sonnet-4-5 102 in · 23K out · ~$3.09
total: 1K in · 56K out · ~$69.16 (list pricing)vigilo cursor-usage
░ CURSOR ░ you@example.com (pro_plus)
billing: 02-05 → 03-05 (user)
plan: 7000/7000 requests (0 remaining) 26%
── token usage (30d) ────────────────────────────
213 requests
1.2M input · 257K output · 38.9M cache read · 2.5M cache write
$18.89 total cost
by model
────────
153× Auto 921K in · 174K out · cache:28.5M · $10.41
40× claude-4.5-sonnet 176K in · 56K out · cache:4.7M · $6.26
20× composer-1.5 135K in · 26K out · cache:5.6M · $2.21vigilo dashboard
启动实时web仪表板以可视化所有代理活动。
vigilo dashboard # default port 7847
vigilo dashboard --port 9000 # custom port- 会话时间表 --使用交互式图表显示通话、成本和随时间变化的错误
- 实时事件订阅源 --每个工具调用都通过SSE实时显示,并按服务器/风险/工具和可排序列进行过滤
- 会话合并 --上下文压缩的对话片段会自动合并到统一会话中
- 代币细分 --按模型和成本估算的输入、输出、缓存读/写
- 跨维度统计数据 --一个视图中的工具、文件、模型和项目
- 绑定到
127.0.0.1only--从不暴露于网络。包括CORS、CSP和主机验证标头。如果端口正在使用中,vigno会提示输入随机可用端口。
______________________________________________________________________
运作原理
维戈以当地人的身份跑步 主控程序 服务器已关闭 标准。没有网络侦听器,没有开放端口,没有守护进程。AI代理(Claude Code或Cursor)将vigno作为子进程生成,就像它生成任何MCP服务器一样。
当代理通过MCP进行工具调用时,vigno会将事件记录到 ~/.vigilo/events.jsonl (工具名称、参数、结果、时间、风险级别、git上下文、差异),然后在本地执行。代理人看不出有什么不同。
一些工具内置于代理中,完全绕过MCP(Claude Code的读取、写入、Bash、编辑等)。对于这些,轻量级 PostTool使用挂钩 将事件传输到 vigilo hook 工具完成后通过stdin。相同的日志记录,执行开销为零。
没有任何东西离开你的机器。 没有遥测,没有打电话回家,没有账户,没有SaaS。唯一的例外是 vigilo cursor-usage,它使用您现有的本地cursor凭据向cursor.com发出选择加入HTTPS请求,以获取您的令牌使用情况。
静态加密是自动的。 第一次运行时,vigno在以下位置生成AES-256-GCM密钥 ~/.vigilo/encryption.key 并透明地加密内容(参数、结果)。按键在掉落时从内存中清零。元数据(工具名称、风险级别、时间、git上下文)始终是明文,因此您始终可以看到发生的事情的形状。您还可以通过以下方式提供自己的密钥 VIGILO_ENCRYPTION_KEY 有人是。
______________________________________________________________________
安装
curl -fsSL https://raw.githubusercontent.com/Idan3011/vigilo/main/install.sh | bash或来源: cargo install --git https://github.com/Idan3011/vigilo.git
然后运行交互式设置:
vigilo setup自动检测Claude Code和Cursor,配置MCP服务器和挂钩,可选地生成加密密钥,并将所有内容保存到 ~/.vigilo/config.
有关手动设置,请参阅 docs/manual-setup.md.
______________________________________________________________________
命令
vigilo # MCP server mode (default, reads stdio)
vigilo dashboard # web dashboard on port 7847
vigilo view # ledger grouped by session
vigilo sessions # one-line session list
vigilo stats # aggregate stats across all sessions
vigilo errors # errors grouped by tool
vigilo tail # last 20 events (flat, chronological)
vigilo diff --last 1 # file diffs from last session
vigilo watch # live tail of incoming events
vigilo cursor-usage # Cursor token usage (last 30 days)
vigilo export # dump all events as CSV
vigilo summary # today at a glance
vigilo doctor # check configuration health
vigilo setup # interactive setup wizard
vigilo prune # delete old rotated ledger files
vigilo generate-key # generate AES-256 encryption key大多数命令接受 --since, --until, --last, --session, --risk, --tool,以及 --expand 旗帜。看 docs/commands.md 了解全部细节。
______________________________________________________________________
