Show HN: AgentSight – eBPF observability for AI agents, no code changes AgentSight, a zero-instrumentation AI agent observability tool based on eBPF, captures LLM API calls, token consumption, and process behavior at the kernel level without code changes. It requires Linux kernel 5.8 or higher with BTF support and root or CAP_BPF privileges, and is installable via the ANOLISA CLI or YUM. The tool provides token analysis, behavior audit, dashboard visualization, agent auto-discovery, interruption detection, and external log export, with a systemd unit for deployment and a web UI at http://localhost:7396. AgentSight is a zero-instrumentation AI Agent observability tool based on eBPF. It captures LLM API calls, Token consumption, and process behavior at the kernel level without modifying Agent code. AgentSight provides full-stack observability for AI Agents running on Linux: | Capability | Description | |---|---| | Token consumption analysis | Multi-dimensional Token accounting by agent, task, and model | | Behavior audit | Complete tracing of LLM calls and process execution | | Dashboard visualization | Web UI for real-time Token trends, Agent health, and session traces | | Agent auto-discovery | Automatic detection of running AI Agent processes | | Interruption detection | Detection of LLM errors, SSE truncation, context overflow, and crashes | | External log export | Supports exporting structured events to external log services | | Requirement | Minimum | |---|---| | OS | Linux | | Kernel | = 5.8 BTF support required | | Privileges | root or CAP BPF for eBPF probes | | ANOLISA raw package | Linux x86 64, system mode | macOS: On macOS, AgentSight provides two commands — trace trajectory collector that scans local JSONL session files, no eBPF and serve Dashboard viewer . All other eBPF-dependent commands are Linux-only. Install the published component with the ANOLISA CLI: Recommended system mode required — eBPF needs root sudo anolisa install agentsight Alternative Alinux, requires YUM repo configuration sudo yum install agentsight Source build developers only cd src/agentsight && make build-all Use make build-all for source builds: it builds the Dashboard frontend, the main binary, and agentsight-enforcer in sequence. Running only make build skips the enforcer, and serve will keep logging AgentSight enforcement unavailable . Use the systemd unit for a normal deployment. It runs eBPF tracing and the Dashboard together and starts the enforcer dependency in the required order: sudo systemctl enable --now agentsight.service sudo systemctl status agentsight.service Open http://localhost:7396 after the service becomes active. Enabling the main unit also keeps AgentSight available after a reboot. The bundled systemd launcher binds the Dashboard to 0.0.0.0 . Restrict port 7396 with a firewall or security group before exposing the host to an untrusted network. The service runs as root with a private umask and stores data under /var/log/sysak/.agentsight . Use sudo for CLI queries and Dashboard access commands that read this service-owned data. For foreground troubleshooting, stop the systemd unit first so it does not compete with a second tracer. Then use two terminals and run both commands as root. The second command is not reached if both are entered sequentially because agentsight trace stays in the foreground: sudo systemctl stop agentsight.service Terminal 1 sudo agentsight trace Terminal 2: Start Dashboard sudo agentsight serve Open http://localhost:7396 in browser Print the Dashboard URL and token; open the URL as your desktop user sudo agentsight dashboard --no-open Localhost access is authentication-free; remote access requires a token, see Dashboard Access & Authentication . Starts kernel-level capture of AI Agent activity. sudo agentsight trace Requires root privileges. Captures SSL/TLS traffic, process events, and file operations. Run sudo systemctl stop agentsight.service before starting a foreground tracer. Default: bind to 127.0.0.1:7396 sudo agentsight serve Bind to all interfaces remote access sudo agentsight serve --host 0.0.0.0 --port 7396 Run serve as the same user that runs trace so both commands resolve the same data directory. Binding to 0.0.0.0 exposes the Dashboard on every interface; restrict network access before using that form. Dashboard token authentication is enabled by default: Localhost access loopback bypasses authentication — just open http://127.0.0.1:7396 . Remote access requires a token: append ?token=