WatchU is a Linux eBPF-based collector for observing agent activities from the host.
It is designed for people who want a local collector that can capture high-value runtime signals such as:
- process execs
- file operations
- TLS plaintext HTTP traffic (OpenSSL & BoringSSL)
- TCP connects
- Postgres client queries
- stdio/MCP traffic
Current expected runtime environment:
- Linux
amd64orarm64with kernel version >= 5.8 - Permissions to load eBPF programs and attach fentry/uprobe/tracepoints
Build:
make buildRun with debug logging:
sudo ./bin/app -debugRun with the terminal UI:
sudo ./bin/app -tuiExport events to a local JSONL file:
sudo ./bin/app -export file:///tmp/watchu.jsonlBuild the image:
docker buildx build -t watchu -f Dockerfile --load .Run it:
docker run --rm \
--cap-add=CAP_SYS_ADMIN \
--cap-add=CAP_SYS_PTRACE \
--cap-add=CAP_BPF \
--cap-add=CAP_PERFMON \
-v /sys/kernel/debug:/sys/kernel/debug:ro \
--pid=host \
--security-opt apparmor=unconfined \
watchuCheck the CONTRIBUTING.md guide.

