# google/auto

A collection of source code generators for Java.

Repository: https://github.com/google/auto
Canonical: https://ross.abutalabs.com/products/auto
Language: Java
License: Apache-2.0
License Family: permissive
Last push: 2026-08-18T14:59:32+00:00

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

## Adoption (not part of the score)
Stars 10551, forks 1224 (observed 2026-08-28T04:10:42.318091+00:00)

## What it is
Google Auto is a collection of Java annotation-processor-based source code generators, including AutoValue for immutable value types, AutoFactory for JSR-330 factories, and AutoService for ServiceLoader configuration files. It eliminates repetitive boilerplate code by generating the code you would have written, but without the bugs.

## Use cases
- generate immutable value classes in java
- remove boilerplate equals hashcode tostring
- generate service loader configuration files
- auto-generate jsr-330 factories
- write java annotation processors

## When to choose
- you write java and want to eliminate repetitive value-class boilerplate
- you need compile-time code generation with no runtime reflection
- you use ServiceLoader and want provider files generated automatically

## When to avoid
- you use kotlin, which has data classes built in
- you need runtime dynamic code generation rather than compile-time
- your project is not on the jvm

## Facets
- artifact type: library
- maturity: stable
- function: developer-tools, boilerplate
- domain: developer-tools, programming-languages
- platform: jvm
- tags: annotation-processing, java, value-types, code-generation, google

## Member repositories
- google/auto (main) score 72

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:42.318091+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:18:32.991280+00:00, confidence not recorded.
  - readme: https://github.com/google/auto (fetched 2026-08-28T04:10:42.318091+00:00, sha 832b2ca7b104)
- Data as of 2026-08-30T08:39:29.467469+00:00.
