aya-rs/aya

Aya is an eBPF library for the Rust programming language, built with a focus on developer experience and operability.

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 40 minutes ago
Added to GitGenius on September 14th, 2026
Created on January 20th, 2021
Open Issues & Pull Requests: 203 (+0)
GitHub issues: Enabled
Number of forks: 476
Total Stargazers: 4,817 (+0)
Total Subscribers: 44 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 7.6 hours
Mean response time: 128.3 days
90th percentile: 440.1 days
Tracked items: 151

Most active contributors

Sign in to see contributor activity.

How this project is maintained

About 12% of issues opened in the past year have never received a reply. 88% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. 61% of issues opened in the past year have been closed, leaving a working backlog. Three people close 70% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 59
New in 7 days: 3
Closed in 7 days: 3
Avg open age: 668 days
Stale 30+ days: 51
Stale 90+ days: 43

Recent activity

Opened in 7 days: 3
Closed in 7 days: 3
Comments in 7 days: 0
Events in 7 days: 1

Top labels

  • help wanted (11)
  • aya (10)
  • feature (10)
  • aya-bpf (9)
  • good first issue (6)
  • aya-log (1)
  • enhancement (1)
  • needs tests (1)

Detailed Description

Aya is an eBPF library for the Rust programming language, built with a focus on developer experience and operability.

eBPF allows running user-supplied programs inside the Linux kernel, enabling deep system observability and security capabilities. Aya solves the problem of making eBPF accessible to Rust developers by providing a pure Rust implementation that does not depend on libbpf or bcc. Instead, it builds from the ground up using only the libc crate to execute syscalls, eliminating external C dependencies and their associated build complexity.

The tool is well-suited for developers building observability and security tools who want to avoid the overhead of managing C toolchains and kernel headers. It excels in deployment scenarios where portability matters: with BTF support and musl linking, Aya offers a compile-once-run-everywhere solution where a single self-contained binary can run across different Linux distributions and kernel versions without recompilation. The library supports major eBPF features including BPF Type Format for kernel version compatibility, function call relocation, global data maps with variables and initializers, and async support for both tokio and async-std runtimes. Build times are fast, completing release builds in seconds without requiring kernel builds or compiled headers.

The project maintains active community engagement through Discord discussion channels and curated lists of community projects. Development shows consistent attention to both core functionality and the developer experience, with ongoing work to expand eBPF API coverage and improve deployment ergonomics. The codebase demonstrates a commitment to pure Rust implementation as a design principle, avoiding external C dependencies that would complicate the build and deployment story.