Build From Source
Use this guide when developing AgentSight or building a local binary from the repository. If you only want to run a release binary, see the Quick Start in README.md.
Requirements
- Linux with eBPF support
- Rust toolchain 1.88.0+
- Node.js 18+
- clang and LLVM
- libelf development headers
- zlib development headers
- make and standard C build tools
On Ubuntu/Debian, the repository Makefile can install the expected system dependencies:
make installBuild
Clone with submodules:
git clone https://github.com/eunomia-bpf/agentsight.git --recursive
cd agentsightIf you already cloned without submodules:
git submodule update --init --recursiveBuild all components:
make buildmake build rebuilds the frontend and eBPF loaders, then refreshes the
vendored assets embedded by the Rust binary. The frontend build id is stable for
the same source inputs, so repeated builds do not create new hashed asset paths
unless the frontend source or configuration changed.
The built binary is at:
collector/target/release/agentsightBuild individual components when iterating:
make build-frontend # frontend assets
make build-bpf # eBPF programs
make build-rust # Rust collectormake build-rust and direct cargo build use the existing vendored assets and
do not refresh them. For packaging outside the Makefile, set
AGENTSIGHT_SYNC_VENDOR=1 when building the collector after rebuilding the
frontend and eBPF loaders.
Verify
Run the test suite:
make testFor frontend development:
cd frontend
npm run devContinue exploring
Back to index
AgentSight: System-wide AI agent tracing and monitoring with eBPF
  
Previous
Supported Agents
AgentSight works with any process that makes TLS-encrypted API calls. This page covers agent-specific setup and quirks.
Next
Development Guide
The collector binary embeds frontend assets via RustEmbed at compile time. By default, every frontend change requires recompiling the collector (cargo build --release) to take effect.
- Last updated
- Jun 3, 2026
- First published
- Jun 3, 2026
- Contributors
- LinuxDev9002
Was this page helpful?