graphiti-api/graphiti
Stylish Graph APIs, built on JSON:API observed · 2026-09-03
Health v2 · maintenance only
100/100
- Activity 100
- Release rhythm 100
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 2
- age_days: 3632
- days_rel: 0
- days_push: 0
- n_releases_24m: 26
Adoption not part of the score
1059 stars · 157 forks observed · 2026-09-03
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Graphiti is a Ruby framework for building JSON:API-compliant APIs on top of your models (typically ActiveRecord). It replaces hand-written controllers and serializers with declarative Resource classes that provide filtering, sorting, pagination, sparse fieldsets, statistics, and sideloaded relationships.
Use cases
- build a JSON:API-compliant REST API in Rails
- expose ActiveRecord models with filtering, sorting, and pagination
- sideload related records in a single API request
- replace JBuilder or ActiveModelSerializers with a standardized API layer
- build consistent microservice APIs with minimal boilerplate
- support sparse fieldsets and statistics endpoints
- handle nested writes across relationships over one endpoint
When to choose
- you are building a Rails (or Ruby) API and want JSON:API compliance out of the box
- you want filtering, sorting, pagination, and sideloading without writing boilerplate per endpoint
- your JavaScript SPA client can speak the JSON:API protocol
- you want resource-oriented API organization instead of per-controller serialization logic
When to avoid
- you need a fully custom, non-standard JSON response shape for every endpoint
- you are not using Ruby or Rails
- your API is trivial and a simple serializer like JBuilder suffices
- you need GraphQL rather than JSON:API
Facets
framework · maturity active
serialization api-framework web-framework middleware web-development backend apis developer-tools ruby -api rails resource-oriented-api sideloading rest-api web-server
3 sources
- readme: https://github.com/graphiti-api/graphiti · fetched 2026-09-03 · 1a75fd7d75ae
- homepage: https://graphiti.dev/ · fetched 2026-08-29 · fb3ac2ef8749
- site_page: https://graphiti.dev/getting-started/installation · fetched 2026-08-29 · 2dc027ded60d
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| graphiti-api/graphiti | main | 100 |
For agents
markdown · JSON · MCP: product_card(name="graphiti-api/graphiti")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem