This repository implements a manager on top of Cilium's eBPF library. This declarative manager simplifies attaching and detaching eBPF programs by controlling their entire life cycle. It was built with the intention of unifying how eBPF is used in large scale projects such as the Datadog Agent. By using the same declarative conventions, multiple teams can quickly collaborate on complex eBPF programs by sharing maps, programs or even hook points without having to worry about the setup of complex program types.
You can find many examples using the manager in examples/. For a real world use case, check out the Datadog Agent.
$ claude mcp add ebpf-manager \
-- python -m otcore.mcp_server <graph>