# raphw/byte-buddy

Runtime code generation for the Java virtual machine.

Repository: https://github.com/raphw/byte-buddy
Canonical: https://ross.abutalabs.com/products/byte-buddy
Homepage: https://bytebuddy.net
Language: Java
License: Apache-2.0
License Family: permissive
Topics: java, java-agent, java-virtual-machine, byte-code, instrumentation, dynamic-proxy, java-library
Last push: 2026-08-20T00:56:55+00:00

## Health v2 (maintenance only)
Score: 98/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 98, longevity 100
- inputs: {"age_days": 4664, "days_push": 14, "days_rel": 16, "gap_med": 15.5, "n_releases_24m": 33}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 6887, forks 855 (observed 2026-08-28T04:09:51.122406+00:00)

## What it is
Byte Buddy is a Java library for generating and modifying Java classes at runtime without a compiler, offering a fluent API for creating arbitrary classes, proxies, and agents. It supports class transformation via Java agents or build-time processing across a wide range of JVM versions.

## Use cases
- generate java classes at runtime
- create dynamic proxies in java
- instrument java classes with a java agent
- mock classes in a testing framework
- transform bytecode during build
- intercept method calls in java

## When to choose
- you need runtime class generation or bytecode manipulation on the JVM
- you are building proxies, mocks, or AOP-style instrumentation
- you need broad Java version compatibility including the latest releases

## When to avoid
- you only need simple interface-based proxies available in the JDK
- you work outside the JVM ecosystem
- you need source-level code generation rather than bytecode

## Facets
- artifact type: library
- maturity: stable
- function: compiler, middleware, developer-tools
- domain: programming-languages, developer-tools
- platform: jvm, cross-platform
- tags: bytecode-manipulation, code-generation, java-agent, dynamic-proxy, instrumentation, runtime-class-creation, jvm

## Member repositories
- raphw/byte-buddy (main) score 98

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:51.122406+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:41:39.537154+00:00, confidence not recorded.
  - readme: https://github.com/raphw/byte-buddy (fetched 2026-08-28T04:09:51.122406+00:00, sha ab4a7e276eaa)
  - homepage: https://bytebuddy.net (fetched 2026-08-29T08:37:27.132476+00:00, sha aefb14b60e44)
- Data as of 2026-08-30T08:39:29.467469+00:00.
