4 phút đọc
Dự Án GitHub Hot: eunomia-bpf/agentsight – lightweight system-level observability for AI Agents – Repository eunomia-bpf/agentsight (583 stars). Mô tả: lightweight system-level observability for AI Agents
1. Bối Cảnh & Thông Tin Chi Tiết
AI agents can run commands, rewrite files, spawn processes, and contact remote services—but when a run fails, stalls, or behaves unexpectedly, their logs rarely tell the whole story.
AgentSight is a local-first top/strace-like observability tool for AI agents. It connects prompts, model calls, and tool decisions to their real effects on your machine.
No SDK, no proxy, no vendor integration. AgentSight observes with eBPF and TLS traffic tracing, so it works even when the agent is a
closed-source CLI. ✨ Zero SDK Required
Live sessions ranked by model, session tokens, health, process family, tool calls, file activity, and network activity
Agent Nebula replays how coding agents read, write, create, rename, and delete files across the ACTplane repository
2. Phân Tích Diễn Biến & Tác Động Nổi Bật
Width is system-effect weight; the uneven stack height shows prompt, tool-call, process, and effect paths ending at different depths. See the agentpprof guide for the other profiles and how widths and stack depths are drawn.
Traditional Observability vs. System-Level Monitoring
Application-level tools such as LangSmith, Langfuse, and Phoenix are great for traces, prompts, tokens, evals, and latency when you own the application code. Gateway/proxy tools such as Helicone are useful when you can route provider traffic through a managed endpoint.
AgentSight focuses on the layer those tools often miss: what the agent actually does at the system boundary. It observes existing binaries and CLI agents without SDKs or proxies, then correlates LLM traffic with process execution, file access, and system activity.
AgentSight captures critical interactions that application-level tools miss:
For source builds, see docs/build.md.
Rust applications can depend on
agentsight-capture to reuse the
same eBPF runners, agent-native sources, analyzers, event model, materialized
view, and sinks as the agentsight binary. The CLI is published separately as
the agentsight package and is the library’s primary consumer.
3. Góc Nhìn Chuyên Gia & Xu Hướng Tiếp Theo
For local use, install with cargo install agentsight or download the latest
release binary, then start with agentsight top. Use the examples below when
you want to record a specific command or inspect saved sessions.
GitHub releases provide agentsight-x86_64 and agentsight-aarch64 for Linux.
The unsuffixed agentsight asset remains an x86_64 compatibility alias.
Native Windows builds are exercised by the Windows CI workflow; until a Windows
release asset is published, download its agentsight-windows-x86_64 artifact or
build the collector crate from source.
Docker is useful for container, CI, or isolated Linux environments, but it still needs privileged host access for eBPF. See docs/docker.md.
Build requirements and source build commands live in docs/build.md.
Run agentsight vis inside a Git worktree. It scans matching local Claude,
Codex, and Gemini sessions without sudo, then writes an animated replay to
output/agent-nebula.gif:
GIF export requires local Chromium and FFmpeg. Use
agentsight vis -o output/agent-nebula.html for a self-contained HTML artifact
that needs neither dependency to generate.
Every record session is automatically saved to an agentsight-*.db SQLite
file in the current directory. Start with the live and record commands, then
use agentsight report for structured queries:
Use agentpprof when you want a no-sudo pprof/folded-stack/SVG summary of
local Codex or Claude session history:
4. Phân Tích Mã Nguồn & Ứng Dụng Thực Tế
Dự án này mang đến nhiều ưu điểm vượt trội cho cộng đồng lập trình viên và nhà phát triển phần mềm:
- Tối ưu hóa kiến trúc: Cấu trúc mã nguồn rõ ràng, dễ dàng mở rộng và tích hợp vào các hệ thống sẵn có.
- Cộng đồng hỗ trợ mạnh mẽ: Số lượng stars và contributors tăng trưởng nhanh chóng trên GitHub.
- Tài liệu hướng dẫn đầy đủ: Giúp nhà phát triển nhanh chóng nắm bắt và triển khai thành công.
5. Tổng Kết Đánh Giá
Dự án là một giải pháp hữu ích rất đáng trải nghiệm cho các kỹ sư công nghệ trong năm 2026.